@charset "UTF-8";
.container {
  max-width: 1200px;
}

#top-nav {
  background-color: #5a1a72;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
#top-nav .navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
#top-nav .navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}
#top-nav .navbar-brand:hover {
  color: #e8c6f0;
}
#top-nav .nav-admin-link {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
#top-nav .nav-admin-link:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
#top-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}
#top-nav .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.75%29' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#top-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: color 0.2s;
}
#top-nav .nav-link:hover, #top-nav .nav-link.active {
  color: #fff;
}
@media (max-width: 991.98px) {
  #top-nav .nav-item.dropdown {
    position: relative;
  }
  #top-nav .nav-item.dropdown .dropdown-menu {
    position: absolute;
  }
}

#search-banner {
  background-color: #7b2d8b;
  padding: 1.5rem 0;
}

.search-form-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.search-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.3rem;
}

.search-field {
  display: flex;
  flex-direction: column;
}
.search-field--age {
  min-width: 130px;
}
.search-field--online {
  justify-content: flex-end;
}
.search-field--multiselect {
  position: relative;
}

.search-input {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  height: 38px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.search-input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.22);
}

.search-age-range {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.search-input--age {
  width: 48px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
}

.search-age-sep {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.search-multiselect {
  position: relative;
}

.search-multiselect-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 100px;
  height: 38px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.search-multiselect-btn:hover, .search-multiselect-btn:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.22);
}

.search-multiselect-arrow {
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.15s;
}

.search-multiselect-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: max-content;
  max-height: 365px;
  overflow-y: auto;
  background: #5a1a72;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.5rem;
  z-index: 200;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.search-multiselect-panel.open {
  display: block;
}
.search-multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  padding: 0.45rem 1.1rem 0.45rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.1s;
}
.search-multiselect-option input[type=checkbox] {
  display: none;
}
.search-multiselect-option::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  flex-shrink: 0;
  background: transparent;
  transition: background 0.1s, border-color 0.1s;
}
.search-multiselect-option:has(input:checked)::before {
  background: #fff;
  border-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%235a1a72' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px 8px;
  background-repeat: no-repeat;
  background-position: center;
}
.search-multiselect-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-single-select-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  padding: 0.45rem 1.1rem 0.45rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.1s;
}
.search-single-select-option::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  background: transparent;
  transition: background 0.1s, border-color 0.1s;
}
.search-single-select-option.active {
  color: #fff;
  font-weight: 600;
}
.search-single-select-option.active::before {
  background: #fff;
  border-color: #fff;
  box-shadow: inset 0 0 0 3px #5a1a72;
}
.search-single-select-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-checkbox-wrap {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.search-checkbox {
  display: none;
}

.search-checkbox-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  user-select: none;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  height: 38px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.search-checkbox-label::before {
  content: "○";
  margin-right: 0.4rem;
  font-size: 0.8rem;
  opacity: 0.6;
  display: inline-block;
  width: 1em;
  text-align: center;
}

.search-checkbox:checked + .search-checkbox-label {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}
.search-checkbox:checked + .search-checkbox-label::before {
  content: "●";
  opacity: 1;
  color: #4caf50;
}

.search-btn {
  background: #fff;
  color: #5a1a72;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.45rem 1.4rem;
  height: 38px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  align-self: flex-end;
}
.search-btn:hover {
  background: #f0e0ff;
}

.search-advanced-toggle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-end;
  padding-bottom: 0.55rem;
  white-space: nowrap;
  transition: color 0.15s;
  margin-left: 0.1rem;
}
.search-advanced-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}
.search-advanced-toggle .search-advanced-arrow {
  font-size: 0.65rem;
  display: inline-block;
  transition: transform 0.2s;
}
.search-advanced-toggle.active .search-advanced-arrow {
  transform: rotate(180deg);
}

.search-advanced-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}
.search-advanced-panel.open {
  display: block;
}

.search-input--city {
  min-width: 140px;
}

.search-multiselect-panel-hint {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.3rem 0.6rem 0.1rem;
  cursor: default;
  pointer-events: none;
}

#discovery {
  padding: 2.5rem 0 3rem;
  min-height: 400px;
}

#sidebar {
  position: sticky;
  top: 1.5rem;
}
@media (max-width: 991px) {
  #sidebar {
    position: static;
  }
}

.login-card {
  background: #fff;
  border: 1px solid #e0d6e8;
  border-radius: 12px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 32px rgba(90, 26, 114, 0.1);
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5a1a72 0%, #9b4dab 100%);
}

.login-eyebrow {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b4dab;
  margin: 0 0 0.3rem;
}

.login-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #5a1a72;
  margin: 0 0 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.field-group {
  position: relative;
  margin-bottom: 2rem;
}

.field-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #cdc0d8;
  border-radius: 0;
  padding: 1.3rem 0 0.45rem;
  font-size: 0.925rem;
  color: #1a1a2e;
  outline: none;
  appearance: none;
  transition: border-color 0.25s;
}
.field-input:focus {
  border-bottom-color: #7b2d8b;
}

.field-label {
  position: absolute;
  left: 0;
  top: 1.3rem;
  font-size: 0.875rem;
  color: #8a7a96;
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, letter-spacing 0.2s ease;
}
.field-input:focus ~ .field-label, .field-input:not(:placeholder-shown) ~ .field-label {
  top: 0;
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7b2d8b;
}

.forgot-link {
  position: absolute;
  right: 0;
  bottom: -1.4rem;
  font-size: 0.7rem;
  color: #8a7a96;
  text-decoration: none;
  transition: color 0.2s;
}
.forgot-link:hover {
  color: #7b2d8b;
}

.btn-prihlasit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #7b2d8b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 4px 14px rgba(123, 45, 139, 0.3);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.btn-prihlasit:hover {
  background: #5a1a72;
  box-shadow: 0 6px 20px rgba(90, 26, 114, 0.4);
  color: #fff;
}
.btn-prihlasit:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(90, 26, 114, 0.2);
}

.btn-outline-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #7b2d8b;
  border: 1.5px solid rgba(123, 45, 139, 0.35);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-outline-purple:hover {
  background: rgba(123, 45, 139, 0.08);
  border-color: #7b2d8b;
  color: #5a1a72;
}
.btn-outline-purple:active {
  transform: translateY(1px);
}

.btn-arrow {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.btn-prihlasit:hover .btn-arrow {
  transform: translateX(4px);
}

.register-hint {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: #8a7a96;
}

.btn-registrovat {
  color: #9b4dab;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-registrovat:hover {
  color: #5a1a72;
}

.register-card {
  max-width: 540px;
}
.register-card .form-control {
  border-radius: 8px;
  border: 1.5px solid #ddd0e8;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.register-card .form-control:focus {
  border-color: #7b2d8b;
  box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.12);
}
.register-card .form-label {
  color: #4a3a58;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.register-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #5a1a72;
  margin: 0 0 2rem;
  letter-spacing: -0.3px;
}

.register-error {
  color: #d94040;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.register-intro {
  margin: -1rem 0 1.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b5a78;
}

.register-login-hint {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #8a7a96;
}

.account-card {
  background: #fff;
  border: 1px solid #e0d6e8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(90, 26, 114, 0.1);
}
.account-card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #5a1a72 0%, #9b4dab 100%);
}

.account-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #f0eaf5;
  text-decoration: none !important;
  color: inherit;
}
.account-card-header:hover {
  background: #faf7fd;
}

.account-avatar {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.account-avatar--photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
}
.account-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #5a1a72;
  line-height: 1.2;
}

.account-premium-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  font-size: 1.2rem;
  color: #f5a623;
  text-shadow: 0 0 6px rgba(245, 166, 35, 0.5);
  vertical-align: middle;
  position: relative;
  top: -4px;
}

.account-status {
  font-size: 0.72rem;
  color: #8a7a96;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.account-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a745;
  flex-shrink: 0;
}
.account-dot--offline {
  background: #adb5bd;
}

.account-nav {
  padding: 0.5rem 0;
}

.account-nav-link {
  display: flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  color: #4a3a58;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.account-nav-link:hover {
  background: #f8f4fc;
  color: #7b2d8b;
}

.account-card-footer {
  border-top: 1px solid #f0eaf5;
  padding: 0.75rem 1.25rem;
  text-align: center;
}

.account-signout {
  font-size: 0.78rem;
  color: #8a7a96;
  text-decoration: none;
  transition: color 0.2s;
}
.account-signout:hover {
  color: #d94040;
}

.dashboard-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #999;
  margin: 0;
}

.activity-icon {
  font-size: 1.4rem;
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
}

.suggested-card {
  transition: box-shadow 0.2s;
}
.suggested-card:hover {
  box-shadow: 0 4px 16px rgba(90, 26, 114, 0.12);
  border-color: #c8a8d8 !important;
}

.suggested-avatar {
  font-size: 2.75rem;
  line-height: 1;
}

.premium-card {
  background: linear-gradient(135deg, #fdf6ff 0%, #f3e6ff 100%);
  border: 1px solid #e0c8f0 !important;
}

.premium-status-card {
  border-left: 4px solid transparent !important;
}
.premium-status-card--active {
  border-left-color: #7b2d8b !important;
  background: linear-gradient(to right, #fdf6ff, #fff) !important;
}
.premium-status-card--inactive {
  border-left-color: #ccc !important;
}

.premium-status-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.premium-status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b2d8b;
  background: rgba(123, 45, 139, 0.1);
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
}
.premium-status-badge--inactive {
  color: #888;
  background: #f0f0f0;
}

.premium-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.premium-benefit-icon {
  font-size: 1.35rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.premium-plan-card {
  border: 1px solid #e0d6e8;
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  height: 100%;
  position: relative;
  background: #fff;
  transition: box-shadow 0.15s;
}
.premium-plan-card:hover {
  box-shadow: 0 4px 20px rgba(90, 26, 114, 0.1);
}
.premium-plan-card--featured {
  border-color: #7b2d8b;
  border-width: 2px;
  background: linear-gradient(160deg, #fdf6ff 0%, #fff 100%);
}

.premium-plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #7b2d8b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.premium-plan-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.4rem;
}

.premium-plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: #5a1a72;
  line-height: 1.1;
}
.premium-plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #888;
}

.premium-plan-note {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.2rem;
}

.premium-star {
  font-size: 2rem;
  line-height: 1;
}

.profile-top-row {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #f1eeff;
  border: 1px solid #dcc6ef;
  border-radius: 10px;
}
@media (max-width: 575px) {
  .profile-top-row {
    flex-direction: column;
    align-items: center;
  }
}

.profile-photo-col {
  flex-shrink: 0;
  width: 140px;
}
.profile-photo-col .photo-upload-area {
  margin: 0;
}
@media (max-width: 575px) {
  .profile-photo-col {
    width: auto;
  }
}

.profile-info-col {
  flex: 1 1 0;
  min-width: 0;
}

.seeking-section {
  background: #f3e9fe;
  border: 1px solid #cfbae1;
  border-radius: 10px;
  padding: 1.25rem 1.25rem 0.5rem;
  margin-top: 2.5rem;
}

.form-label.required::after {
  content: "*";
  color: #d94040;
  margin-left: 0.2rem;
}

.profile-section-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7b2d8b;
  margin: 0 0 1rem;
}

.profile-feature-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #7b2d8b;
}

.profile-section-divider {
  margin: 1.75rem 0 1.5rem;
  border-color: #f0eaf5;
}

.photo-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border: 2px dashed #c8a8d8;
  border-radius: 50%;
  background: #fdf8ff;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.photo-upload-area:hover {
  border-color: #7b2d8b;
  background: #f5eaff;
}

.photo-upload-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.photo-upload-area--filled {
  border-style: solid;
  background: transparent;
  overflow: hidden;
  padding: 0;
}
.photo-upload-area--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-upload-area--filled:hover {
  border-style: solid;
}

.photo-upload-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: #9b4dab;
  margin-top: 0.35rem;
  padding: 0 0.5rem;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hobby-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid #e0d6e8;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s;
}
.hobby-item:hover {
  border-color: #9b4dab;
  background: #fdf8ff;
}
.hobby-item:has(.hobby-checkbox:checked) {
  border-color: #7b2d8b;
  background: #f5eaff;
  color: #5a1a72;
  font-weight: 600;
}

.hobby-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.hobby-name {
  font-size: 0.82rem;
  line-height: 1.2;
}

.user-profile-hero {
  background: #fff;
  border: 1px solid #e0d6e8;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 6px 32px rgba(90, 26, 114, 0.08);
  position: relative;
  overflow: hidden;
}
.user-profile-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5a1a72 0%, #9b4dab 100%);
}

.profile-hero-online-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1;
}

.user-profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e0d6e8;
  flex-shrink: 0;
}
.user-profile-photo a {
  display: block;
  width: 100%;
  height: 100%;
}
.user-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-profile-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #f5eaff;
  border: 3px solid #e0d6e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  text-decoration: none !important;
  color: inherit;
}

.profile-photo-wrapper {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-photo-wrapper .photo-manage-hint {
  font-size: 0.68rem;
  color: #aaa;
  margin-top: 0.4rem;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  pointer-events: none;
}
.profile-photo-wrapper:hover .photo-manage-hint {
  opacity: 1;
}

.user-profile-badge {
  display: inline-block;
  background: #f5eaff;
  color: #5a1a72;
  border: 1px solid #d8bce8;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.user-info-list {
  margin: 0;
  padding: 0;
}

.user-info-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f5f0fa;
}
.user-info-row:last-child {
  border-bottom: none;
}
.user-info-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a7a96;
  flex: 0 0 90px;
  min-width: 90px;
}
.user-info-row dd {
  margin: 0;
  font-size: 0.875rem;
  color: #2a1a38;
}

.user-hobby-badge {
  background: #f5eaff;
  color: #5a1a72;
  border: 1px solid #d8bce8;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
}

.user-bio-text {
  white-space: pre-line;
  line-height: 1.7;
  color: #3a2a4a;
}

.user-seeking-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 1.1rem;
  background: #f5eaff;
  border: 1px solid #d8bce8;
  border-radius: 10px;
  min-width: 120px;
}

.user-seeking-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b2d8b;
}

.user-seeking-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #5a1a72;
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 991px) {
  .browse-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .browse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479px) {
  .browse-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

.browse-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0d6e8;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(90, 26, 114, 0.07);
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.browse-card:hover {
  box-shadow: 0 6px 24px rgba(90, 26, 114, 0.16);
  border-color: #c0a0d8;
  transform: translateY(-2px);
  color: inherit;
}

.browse-card-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: #f0eaf5;
  overflow: hidden;
}
.browse-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.browse-card:hover .browse-card-photo img {
  transform: scale(1.04);
}

.browse-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #c8a8d8;
}

.browse-premium-star {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.9rem;
  line-height: 1;
  color: #f5c518;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.browse-online-dot {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #28a745;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.browse-card-body {
  padding: 0.85rem 1rem 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.browse-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #5a1a72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browse-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  font-size: 0.78rem;
  color: #7a6a88;
  min-height: 1.1em;
}

.browse-online-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #1a7a35;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

.browse-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.browse-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid #e0d6e8;
  border-radius: 8px;
  background: #fff;
  color: #4a3a58;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.browse-page-btn:hover {
  background: #f5eaff;
  border-color: #9b4dab;
  color: #5a1a72;
}
.browse-page-btn--active {
  background: #7b2d8b;
  border-color: #7b2d8b;
  color: #fff;
  font-weight: 700;
  pointer-events: none;
}
.browse-page-btn--disabled {
  opacity: 0.35;
  pointer-events: none;
}

.browse-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  color: #9a8aaa;
  font-size: 0.875rem;
}

.admin-login-body {
  background: #1e1b2e;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-wrap {
  width: 100%;
  max-width: 380px;
  padding: 1rem;
}

.admin-login-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.admin-login-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #5a1a72;
  margin-bottom: 0.5rem;
}

.admin-login-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.75rem;
}

#admin-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #1e1b2e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.admin-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.admin-brand:hover {
  color: #e8c6f0;
}

.admin-brand-name {
  color: inherit;
  text-decoration: none;
}
.admin-brand-name:hover {
  color: #e8c6f0;
}

.admin-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #7b2d8b;
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  vertical-align: middle;
  margin-left: 4px;
}
.admin-badge--link {
  color: #fff;
  text-decoration: none;
}
.admin-badge--link:hover {
  color: #fff;
  filter: brightness(1.2);
}

.admin-topbar-right {
  display: flex;
  align-items: center;
}

.admin-username {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.admin-body {
  background: #f4f6f9;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
  padding-top: 56px;
}

#admin-sidebar {
  width: 220px;
  background: #2a2540;
  flex-shrink: 0;
  position: fixed;
  top: 56px;
  bottom: 0;
  overflow-y: auto;
  padding: 1.25rem 0;
}

.sidebar-nav ul {
  padding: 0;
  margin: 0;
}

.sidebar-link {
  display: block;
  padding: 0.65rem 1.5rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.sidebar-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-left-color: #7b2d8b;
}

.sidebar-group .sidebar-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: rgba(0, 0, 0, 0.15);
}
.sidebar-group.is-open > .sidebar-group-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #7b2d8b;
}
.sidebar-group.is-open > .sidebar-group-toggle .sidebar-arrow {
  transform: rotate(180deg);
}
.sidebar-group.is-open .sidebar-submenu {
  max-height: 300px;
}

.sidebar-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 1.5rem;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s, border-left-color 0.15s;
}
.sidebar-group-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.sidebar-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem 0.5rem 2rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.82rem;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}
.sidebar-sublink:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}
.sidebar-sublink.active {
  color: #fff;
}

.sidebar-group-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0c040;
  box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.22);
  flex-shrink: 0;
}

.sidebar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.sidebar-count--alert {
  background: #f0c040;
  color: #4a3600;
}

.text-purple {
  color: #7b2d8b;
}

.admin-main {
  flex: 1;
  margin-left: 220px;
  padding: 2rem;
  max-width: 100%;
}

.gallery-dropzone {
  border: 2px dashed #9b4dab;
  border-radius: 12px;
  background: #fdf8ff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.gallery-dropzone.dragging, .gallery-dropzone:hover {
  border-color: #7b2d8b;
  background: #f5eaff;
}
.gallery-dropzone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.gallery-drop-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.gallery-drop-text {
  font-size: 0.9rem;
  color: #4a3a58;
  margin-bottom: 0.25rem;
}

.gallery-drop-hint {
  font-size: 0.78rem;
  color: #8a7a96;
  margin: 0;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.gallery-preview-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f0eaf5;
}
.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.gallery-select-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s;
}
.gallery-select-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-select-tile .gallery-select-check {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #7b2d8b;
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}
.gallery-select-tile:hover {
  border-color: #9b4dab;
}
.gallery-select-tile.selected {
  border-color: #7b2d8b;
}
.gallery-select-tile.selected .gallery-select-check {
  opacity: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.gallery-item-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f0eaf5;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}
.gallery-item a.gallery-lightbox-link {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item--profile {
  border-color: #7b2d8b;
}
.gallery-item--pending {
  border-color: #e0a800;
}
.gallery-item.selected {
  border-color: #7b2d8b;
}
.gallery-item.selected .gallery-select-check {
  opacity: 1;
}
.gallery-item .gallery-select-check {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7b2d8b;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.gallery-item .gallery-profile-badge {
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  background: #7b2d8b;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.gallery-item .gallery-profile-badge--pending {
  background: #e0a800;
}

.gallery-grid.selection-mode .gallery-item {
  cursor: pointer;
}
.gallery-grid.selection-mode .gallery-item:hover {
  border-color: #9b4dab;
}
.gallery-grid.selection-mode .gallery-item--profile {
  border-color: #ccc;
}
.gallery-grid.selection-mode .gallery-item--profile .gallery-profile-badge {
  background: #aaa;
}

.gallery-delete-link {
  font-size: 0.72rem;
  color: #9a8aaa;
  text-align: center;
  text-decoration: none;
  display: block;
}
.gallery-delete-link:hover {
  color: #c0392b;
  text-decoration: underline;
}

.photo-review-thumb {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.profile-incomplete-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem 0 2rem;
}

.profile-incomplete-card {
  background: #fff;
  border: 1px solid #e0d6e8;
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(90, 26, 114, 0.1);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.profile-incomplete-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5a1a72 0%, #9b4dab 100%);
}

.profile-incomplete-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.profile-incomplete-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #5a1a72;
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
}

.profile-incomplete-sub {
  font-size: 0.9rem;
  color: #6a5a78;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.profile-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  text-align: left;
}

.profile-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #faf7fd;
  border: 1.5px solid #e0d6e8;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  transition: border-color 0.2s;
}
.profile-step--done {
  border-color: #9bddad;
  background: #f3fbf5;
}

.profile-step-indicator {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.profile-step-indicator .profile-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #9b4dab;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-step-indicator .profile-step-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2e9e58;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-step-body {
  flex: 1;
}

.profile-step-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #5a1a72;
  margin-bottom: 0.2rem;
}

.profile-step-desc {
  font-size: 0.8rem;
  color: #8a7a96;
  line-height: 1.4;
}
.profile-step-desc--done {
  color: #2e9e58;
}

.profile-incomplete-footer {
  border-top: 1px solid #f0eaf5;
  padding-top: 1.5rem;
}

.profile-incomplete-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #7b2d8b;
  color: #fff;
  border-radius: 10px;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(123, 45, 139, 0.28);
  margin-bottom: 0.85rem;
}
.profile-incomplete-cta:hover {
  background: #5a1a72;
  color: #fff;
  box-shadow: 0 6px 20px rgba(90, 26, 114, 0.38);
}

.profile-incomplete-cta-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.profile-incomplete-cta:hover .profile-incomplete-cta-arrow {
  transform: translateX(4px);
}

.profile-incomplete-hint {
  font-size: 0.78rem;
  color: #9a8aaa;
  margin: 0;
}
.profile-incomplete-hint a {
  color: #9b4dab;
  text-decoration: none;
  font-weight: 600;
}
.profile-incomplete-hint a:hover {
  color: #5a1a72;
}

.home-admin-panel {
  background: linear-gradient(135deg, #5a1a72 0%, #7b2d8b 100%);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  color: #fff;
  box-shadow: 0 8px 30px rgba(90, 26, 114, 0.22);
}

.home-admin-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.home-admin-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 0.4rem;
}

.home-admin-sub {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.5rem;
  max-width: 46rem;
}

.home-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.home-admin-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #5a1a72;
  border-radius: 10px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-right: 0.4rem;
}
.home-admin-cta:hover {
  background: #f6eefa;
  color: #5a1a72;
}

.home-admin-cta-arrow {
  font-size: 1.05rem;
  transition: transform 0.2s;
}
.home-admin-cta:hover .home-admin-cta-arrow {
  transform: translateX(4px);
}

.home-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.home-admin-link:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.home-admin-link--alert .home-admin-count {
  background: #f0c040;
  color: #4a3600;
}

.home-admin-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.74rem;
  font-weight: 700;
}

.home-admin-total {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 575px) {
  .home-admin-panel {
    padding: 1.35rem;
  }
  .home-admin-cta,
  .home-admin-link {
    flex: 1 1 100%;
    justify-content: center;
    margin-right: 0;
  }
}
.admin-approval-section {
  background: linear-gradient(135deg, #fffbf0 0%, #fff8e4 100%);
  border: 2px solid #f0c040;
  border-radius: 14px;
  padding: 1.5rem;
}

.admin-approval-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-approval-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.admin-approval-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7a5800;
  margin: 0 0 0.25rem;
}

.admin-approval-sub {
  font-size: 0.83rem;
  color: #8a6a00;
  margin: 0;
  line-height: 1.5;
}

.admin-approval-card {
  border: 2px solid #f0c040;
  box-shadow: 0 2px 8px rgba(240, 192, 64, 0.2);
}

.chat-layout {
  display: flex;
  min-height: 810px;
  border: 1px solid #e0d0f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.chat-contacts {
  width: 256px;
  flex-shrink: 0;
  border-right: 1px solid #ecddf8;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.chat-contacts-header {
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #5a1a72;
  border-bottom: 1px solid #ecddf8;
  letter-spacing: 0.01em;
}

.chat-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f5eeff;
  transition: background 0.12s;
}
.chat-contact-item:hover, .chat-contact-item.active {
  background: #f3ecff;
}

.chat-contact-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ecddf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.chat-contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-contact-info {
  flex: 1;
  min-width: 0;
}

.chat-contact-name {
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #2d1040;
}

.chat-contact-badge {
  background: #7b2d8b;
  color: #fff;
  border-radius: 10px;
  padding: 0 0.38rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.65;
}

.chat-contact-preview {
  font-size: 0.77rem;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.1rem;
}

.chat-contacts-empty {
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: #bbb;
  text-align: center;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid #ecddf8;
  background: #faf7ff;
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ecddf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-header-name {
  font-weight: 700;
  font-size: 1rem;
  color: #5a1a72;
  text-decoration: none;
}
.chat-header-name:hover {
  text-decoration: underline;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 570px;
}

.chat-no-messages {
  text-align: center;
  font-size: 0.85rem;
  color: #bbb;
  margin: auto;
}

.msg-row {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  max-width: 78%;
}
.msg-row--me {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.msg-row--them {
  align-self: flex-start;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ecddf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.msg-bubble {
  padding: 0.55rem 0.85rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}
.msg-row--them .msg-bubble {
  background: #dff0fb;
  color: #183a54;
  border-bottom-left-radius: 4px;
}
.msg-row--me .msg-bubble {
  background: #ecdeff;
  color: #3b0f6a;
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  padding: 0.9rem 1.2rem;
  border-top: 1px solid #ecddf8;
  background: #faf7ff;
}

.chat-form {
  display: flex;
  gap: 0.65rem;
  align-items: flex-end;
}

.chat-textarea-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.chat-textarea-warning {
  font-size: 0.78rem;
  color: #c0392b;
  display: none;
}
.chat-textarea-warning.visible {
  display: block;
}

.chat-textarea {
  border: 1.5px solid #d0b0ee;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.5;
  resize: none;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.chat-textarea:focus {
  outline: none;
  border-color: #7b2d8b;
  box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.1);
}

.chat-send-btn {
  background: #7b2d8b;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.58rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.chat-send-btn:hover {
  background: #5a1a72;
}

.chat-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ccc;
  gap: 0.6rem;
}
.chat-empty-state p {
  font-size: 0.9rem;
  margin: 0;
}

.chat-empty-icon {
  font-size: 3rem;
  opacity: 0.35;
}

@media (max-width: 640px) {
  .chat-layout {
    flex-direction: column;
  }
  .chat-contacts {
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
  }
  .chat-messages {
    max-height: 420px;
  }
}
.chat-textarea-wrap {
  gap: 0;
  border: 1.5px solid #d0b0ee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.chat-textarea-wrap:focus-within {
  border-color: #7b2d8b;
  box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.1);
}

.chat-textarea {
  border: none;
  border-radius: 0;
  background: transparent;
}
.chat-textarea:focus {
  border-color: transparent;
  box-shadow: none;
}

.chat-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-self: flex-end;
  flex-shrink: 0;
}

.chat-attach-btn {
  background: none;
  border: 1.5px solid #d0b0ee;
  border-radius: 8px;
  color: #7b2d8b;
  cursor: pointer;
  padding: 0.35rem 0.65rem 0.35rem 0.45rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.12s, border-color 0.12s;
}
.chat-attach-btn svg {
  width: 18px;
  height: 20px;
  flex-shrink: 0;
}
.chat-attach-btn:hover {
  background: #ecddf8;
  border-color: #7b2d8b;
}
.chat-attach-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.chat-drop-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(123, 45, 139, 0.14);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.form-check-input:disabled {
  opacity: 1 !important;
}

.chat-drop-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 2.5px dashed #7b2d8b;
  border-radius: 20px;
  padding: 2.8rem 5rem;
  color: #7b2d8b;
  box-shadow: 0 8px 32px rgba(123, 45, 139, 0.18);
}
.chat-drop-overlay-inner svg {
  width: 52px;
  height: 52px;
  opacity: 0.75;
}
.chat-drop-overlay-inner p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.chat-attach-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #7b2d8b;
  white-space: nowrap;
}

.chat-attach-preview {
  padding: 0.5rem 0.6rem 0.3rem;
  position: relative;
  display: inline-block;
}
.chat-attach-preview img {
  max-height: 150px;
  max-width: 100%;
  border-radius: 7px;
  display: block;
}

.chat-attach-remove {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.chat-attach-remove:hover {
  background: rgba(0, 0, 0, 0.8);
}

.chat-attach-warning {
  font-size: 0.78rem;
  color: #c0392b;
  padding: 0.15rem 0.6rem 0.3rem;
}

.msg-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.msg-row--me .msg-content {
  align-items: flex-end;
}
.msg-row--them .msg-content {
  align-items: flex-start;
}

.msg-image-link {
  display: block;
  line-height: 0;
}

.msg-image {
  max-height: 200px;
  max-width: 280px;
  border-radius: 12px;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.12s;
}
.msg-image:hover {
  opacity: 0.9;
}

#site-footer {
  background-color: #f0f0f0;
  border-top: 1px solid #d8d8d8;
  padding: 2.5rem 0 0;
}
#site-footer h6 {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #444;
  margin-bottom: 0.6rem;
}
#site-footer p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}
#site-footer .footer-link {
  color: #7b2d8b;
  text-decoration: none;
}
#site-footer .footer-link:hover {
  color: #5a1a72;
  text-decoration: underline;
}
#site-footer .footer-bottom {
  border-top: 1px solid #d8d8d8;
  margin-top: 1.5rem;
  padding: 1rem 0;
  text-align: center;
  color: #999;
}
#site-footer .footer-bottom .footer-bottom-sep {
  margin: 0 0.4rem;
}

.terms-page {
  background: #fff;
  border: 1px solid #e6dced;
  border-radius: 14px;
  padding: 2rem 2.25rem 2.5rem;
  color: #4a4150;
  font-size: 0.92rem;
  line-height: 1.7;
}
@media (max-width: 575px) {
  .terms-page {
    padding: 1.25rem 1.1rem 1.75rem;
  }
}
.terms-page a {
  color: #7b2d8b;
  text-decoration: none;
}
.terms-page a:hover {
  color: #5a1a72;
  text-decoration: underline;
}
.terms-page p {
  margin-bottom: 0.9rem;
}
.terms-page ul,
.terms-page ol {
  margin-bottom: 0.9rem;
  padding-left: 1.35rem;
}
.terms-page ul li,
.terms-page ol li {
  margin-bottom: 0.4rem;
}
.terms-page strong {
  color: #5a1a72;
}

.terms-header {
  border-bottom: 2px solid #efe6f3;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}
.terms-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #5a1a72;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
@media (max-width: 575px) {
  .terms-header h1 {
    font-size: 1.25rem;
  }
}

.terms-effective {
  font-size: 0.8rem;
  color: #8a7a96;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}

.terms-lead {
  font-size: 0.95rem;
  color: #5f5468;
  margin-bottom: 0;
}

.terms-part {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5a1a72, #9b4dab);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  margin: 2.25rem 0 1.5rem;
}
.terms-part:first-of-type {
  margin-top: 0;
}

.terms-section {
  scroll-margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.terms-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #5a1a72;
  margin-bottom: 0.75rem;
}
.terms-section h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #7b2d8b;
  margin: 1.25rem 0 0.5rem;
}

.terms-note {
  background: #faf6fc;
  border-left: 3px solid #9b4dab;
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1rem;
  font-size: 0.87rem;
  color: #6b5f75;
}

.terms-contact {
  background: #faf6fc;
  border: 1px solid #eadff0;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-weight: 600;
  color: #5a1a72;
}

.banner-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  height: 100%;
}
.banner-card .banner-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}
.banner-card .banner-content {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.banner-bg-fff9c4 {
  background: #FFF9C4;
  border-color: rgb(255, 241.2203389831, 119.5);
}

.banner-bg-e3f2fd {
  background: #E3F2FD;
  border-color: rgb(155.6, 208.85, 247.9);
}

.banner-bg-f3e5f5 {
  background: #F3E5F5;
  border-color: rgb(217.5, 173.75, 223.75);
}

.banner-bg-e8f5e9 {
  background: #E8F5E9;
  border-color: rgb(178.6818181818, 221.8181818182, 182);
}

.banner-bg-fff3e0 {
  background: #FFF3E0;
  border-color: rgb(255, 213.3870967742, 147.5);
}

.banner-bg-efebe9 {
  background: #EFEBE9;
  border-color: rgb(206.7894736842, 194.7368421053, 188.7105263158);
}

.banner-bg-f5f5f5 {
  background: #F5F5F5;
  border-color: rgb(206.75, 206.75, 206.75);
}

.banner-bg-e0f7fa {
  background: #E0F7FA;
  border-color: rgb(158.125, 230, 239.375);
}

.banner-checkboxlist {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  max-height: 220px;
  overflow-y: auto;
}
.banner-checkboxlist .form-check {
  margin-bottom: 0.25rem;
}
.banner-checkboxlist .form-check:last-child {
  margin-bottom: 0;
}

.banner-color-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}
.banner-color-option input[type=radio] {
  display: none;
}
.banner-color-option input[type=radio]:checked + .banner-color-swatch {
  outline: 3px solid #7b2d8b;
  outline-offset: 2px;
}
.banner-color-option .banner-color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.banner-color-option .banner-color-label {
  font-size: 0.8rem;
  color: #555;
}
.banner-color-option:hover {
  background: rgba(0, 0, 0, 0.04);
}

.admin-status-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.admin-status-dot--online {
  background: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25);
}
.admin-status-dot--idle {
  background: #f0ad00;
}
.admin-status-dot--offline {
  background: #adb5bd;
}

.admin-edit-profile-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e0d0e8;
}

.admin-user-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.5rem;
}

.admin-user-photo-item {
  background: #f5f0f8;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.7rem;
}
.admin-user-photo-item > a:first-child {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}
.admin-user-photo-item > a:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.15s;
}
.admin-user-photo-item > a:first-child img:hover {
  opacity: 0.85;
}
.admin-user-photo-item .admin-user-photo-meta {
  padding: 2px 4px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-photo-item .admin-user-photo-delete {
  display: block;
  text-align: center;
  color: #dc3545;
  padding: 2px 4px 4px;
  text-decoration: none;
}
.admin-user-photo-item .admin-user-photo-delete:hover {
  text-decoration: underline;
}

.visitor-row {
  transition: background 0.15s;
}
.visitor-row:hover {
  background: #faf8fb;
}

.banner-color-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  vertical-align: middle;
}

.admin-chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e0d0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.admin-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-chat-avatar--lg {
  width: 38px;
  height: 38px;
  font-size: 18px;
}

.admin-chat-log {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 75vh;
  overflow-y: auto;
}
.admin-chat-log .msg-row {
  align-items: flex-start;
}
.admin-chat-log .msg-time {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 0.2rem;
  padding: 0 0.25rem;
}
.admin-chat-log .msg-row--me .msg-time {
  text-align: right;
}
.admin-chat-log .msg-row--them .msg-time {
  text-align: left;
}

.account-nav-link--shop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-nav-points {
  font-size: 0.72rem;
  font-weight: 600;
  background: #7b2d8b;
  color: #fff;
  border-radius: 20px;
  padding: 0.1rem 0.55rem;
  margin-left: auto;
}

.alert-expiry {
  font-size: 0.9rem;
}
.alert-expiry a {
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
}

.alert {
  border: none;
  border-radius: 0.6rem;
  border-left: 4px solid;
  padding: 0.85rem 1.1rem;
  font-size: 0.93rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.alert a {
  font-weight: 600;
  text-decoration: underline;
  color: inherit;
}
.alert a:hover {
  opacity: 0.8;
}
.alert.alert-success {
  background: #edfaf2;
  border-left-color: #2e9e63;
  color: #1a6b41;
}
.alert.alert-danger {
  background: #fef2f2;
  border-left-color: #d93025;
  color: #8b1a14;
}
.alert.alert-warning {
  background: #fffbea;
  border-left-color: #d4900a;
  color: #7a5200;
}
.alert.alert-info {
  background: #eef6ff;
  border-left-color: #2e7fd9;
  color: #1a4d8b;
}

.shop-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.shop-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #5a1a72;
  margin: 0;
}

.shop-subtitle {
  color: #666;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.shop-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #5a1a72;
  color: #fff;
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  min-width: 90px;
  text-align: center;
}

.shop-balance-value {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.shop-balance-label {
  font-size: 0.72rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shop-premium-card {
  position: relative;
  background: linear-gradient(135deg, #5a1a72 0%, #9b4dab 100%);
  border-radius: 16px;
  color: #fff;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(90, 26, 114, 0.35);
}

.shop-premium-badge {
  position: absolute;
  top: -12px;
  left: 1.75rem;
  background: #ffd700;
  color: #333;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-premium-body {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.shop-premium-info {
  flex: 1;
  min-width: 220px;
}

.shop-premium-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.shop-premium-expiry {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: #ffe98a;
  font-weight: 600;
}
.shop-premium-expiry .shop-premium-expiry-warn {
  color: #ffb347;
}

.shop-premium-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0 0 0.75rem;
}

.shop-premium-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
}
.shop-premium-features li + li {
  margin-top: 0.2rem;
}

.shop-premium-buy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 140px;
}

.shop-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5a1a72;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgb(214.125, 179.8427419355, 221.1572580645);
}

.shop-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shop-feature {
  background: #fff;
  border: 1px solid #e8e0ef;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  transition: box-shadow 0.15s;
}
.shop-feature:hover {
  box-shadow: 0 2px 12px rgba(90, 26, 114, 0.1);
}
.shop-feature--active {
  border-color: #9b4dab;
  background: rgb(229.425, 207.975, 233.825);
}

.shop-feature-info {
  flex: 1;
  min-width: 200px;
}

.shop-feature-name {
  font-weight: 700;
  font-size: 1rem;
  color: #5a1a72;
  margin-bottom: 0.25rem;
}

.shop-feature-desc {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.4rem;
}

.shop-feature-teaser {
  font-size: 0.8rem;
  background: rgb(221.775, 193.9088709677, 227.4911290323);
  color: #5a1a72;
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  display: inline-block;
  margin-top: 0.15rem;
}

.shop-feature-expiry {
  font-size: 0.8rem;
  color: #449944;
  margin-top: 0.25rem;
}

.shop-expiry-warning {
  color: #c05000;
  font-weight: 600;
}

.shop-feature-buy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 130px;
}

.shop-buy-form {
  display: contents;
}

.shop-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  width: 100%;
}
.shop-btn--buy {
  background: #7b2d8b;
  color: #fff;
}
.shop-btn--buy:hover:not(:disabled) {
  background: #5a1a72;
}
.shop-btn--extend {
  background: transparent;
  color: #7b2d8b;
  border: 2px solid #7b2d8b;
}
.shop-btn--extend:hover:not(:disabled) {
  background: rgb(223.6875, 197.4254032258, 229.0745967742);
}
.shop-btn--premium {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.shop-btn--premium:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
}
.shop-btn--disabled, .shop-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-btn-weeks {
  flex: 1;
  text-align: left;
}

.shop-btn-cost {
  font-size: 0.8rem;
  opacity: 0.85;
  white-space: nowrap;
}

.shop-info-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

.dash-stat-block .dash-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.2rem;
}
.dash-stat-block .dash-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #5a1a72;
  line-height: 1.1;
}
.dash-stat-block .dash-stat-pct {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.1rem;
}

.dash-stat-bar {
  height: 6px;
  background: #ede8f2;
  border-radius: 3px;
  overflow: hidden;
}
.dash-stat-bar .dash-stat-bar-fill {
  height: 100%;
  background: #7b2d8b;
  border-radius: 3px;
  transition: width 0.3s ease;
  min-width: 2px;
}

.dash-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #999;
}

.dash-todo-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dash-todo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ece7f2;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.dash-todo-row:hover {
  border-color: #d5c6e2;
  background: #faf7fd;
}
.dash-todo-row--alert {
  border-color: #f0c040;
  background: #fffbf0;
}
.dash-todo-row--alert:hover {
  background: #fff6e0;
}

.dash-todo-label {
  font-size: 0.875rem;
  color: #3a2a4a;
  font-weight: 500;
}

.dash-todo-count {
  flex-shrink: 0;
  min-width: 1.6rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #7b2d8b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}
.dash-todo-row--alert .dash-todo-count {
  background: #f0c040;
  color: #4a3600;
}
.dash-todo-count--zero {
  background: #eee;
  color: #999;
}

.dash-todo-empty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 0.75rem;
  border-radius: 10px;
  background: #f3fbf5;
  border: 1px solid #cdeed8;
  color: #2e7d4f;
  font-size: 0.875rem;
}

.dash-todo-empty-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2e9e58;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-feature-row .dash-feature-name {
  font-size: 0.875rem;
  color: #3a2a4a;
  font-weight: 500;
}
.dash-feature-row .dash-feature-count {
  font-size: 0.875rem;
  font-weight: 700;
  color: #5a1a72;
  white-space: nowrap;
}
.dash-feature-row .dash-feature-pct {
  font-weight: 400;
  color: #888;
  font-size: 0.78rem;
}

.body-balance-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.body-balance-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5a1a72;
  line-height: 1.1;
}
.body-balance-value span {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
}

.body-earn-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.body-earn-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.my-features-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.my-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #e8e0f0;
  transition: border-color 0.2s;
}
.my-feature--active {
  background: #fdf8ff;
  border-color: rgb(204.5625, 162.2600806452, 213.2399193548);
}
.my-feature--inactive {
  background: #fafafa;
  opacity: 0.85;
}

.my-feature-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.my-feature-body {
  flex: 1;
  min-width: 0;
}

.my-feature-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #2a1a3a;
}

.my-feature-status {
  font-size: 0.78rem;
  margin-top: 0.15rem;
}
.my-feature-status--active {
  color: #28a745;
}
.my-feature-status--inactive {
  color: #aaa;
}

.my-feature-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.shop-points-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: #f8f5ff;
  border: 1px solid #e8e0f0;
  font-size: 0.875rem;
  color: #555;
  flex-wrap: wrap;
}

.shop-points-hint-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.home-teaser {
  margin-bottom: 2.5rem;
}

.home-teaser-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 18px;
  padding: 3rem 2rem 2.75rem;
  background: linear-gradient(135deg, #5a1a72 0%, #7b2d8b 55%, #9b4dab 100%);
  color: #fff;
  box-shadow: 0 12px 44px rgba(90, 26, 114, 0.28);
}
.home-teaser-hero::before, .home-teaser-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.home-teaser-hero::before {
  width: 320px;
  height: 320px;
  top: -160px;
  right: -80px;
}
.home-teaser-hero::after {
  width: 220px;
  height: 220px;
  bottom: -120px;
  left: -60px;
}

.home-teaser-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.home-teaser-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.home-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #5a1a72;
  border-radius: 12px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}
.home-teaser-cta:hover {
  color: #5a1a72;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.home-teaser-cta-arrow {
  font-size: 1.15rem;
  transition: transform 0.2s;
}
.home-teaser-cta:hover .home-teaser-cta-arrow {
  transform: translateX(4px);
}

.home-teaser-unique {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-top: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  background: #fdf8ef;
  border: 1.5px solid #f0dfc0;
  box-shadow: 0 4px 18px rgba(180, 140, 60, 0.08);
}

.home-teaser-unique-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.home-teaser-unique-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #7a5a1e;
  margin-bottom: 0.35rem;
}

.home-teaser-unique-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #8a7350;
  margin: 0;
}
.home-teaser-unique-text strong {
  color: #7a5a1e;
}

.home-teaser-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 767px) {
  .home-teaser-benefits {
    grid-template-columns: 1fr;
  }
}

.home-teaser-benefit {
  background: #fff;
  border: 1px solid #e0d6e8;
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.home-teaser-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(90, 26, 114, 0.12);
}

.home-teaser-benefit-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.home-teaser-benefit-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #5a1a72;
  margin-bottom: 0.35rem;
}

.home-teaser-benefit-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #8a7a96;
  margin: 0;
}

.bottom-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: linear-gradient(135deg, #5a1a72 0%, #7b2d8b 100%);
  color: #fff;
  border-top: 3px solid #9b4dab;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.28);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.bottom-notice.is-open {
  transform: translateY(0);
}
.bottom-notice[hidden] {
  display: none;
}

.bottom-notice-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
@media (max-width: 767.98px) {
  .bottom-notice-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
}

.bottom-notice-text {
  flex: 1 1 auto;
  min-width: 0;
}

.bottom-notice-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
}

.bottom-notice-desc,
.bottom-notice-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.bottom-notice-desc strong,
.bottom-notice-note strong {
  color: #fff;
}
.bottom-notice-desc[hidden],
.bottom-notice-note[hidden] {
  display: none;
}

.bottom-notice-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bottom-notice-link:hover {
  color: #e8c6f0;
}

.bottom-notice-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}
@media (max-width: 767.98px) {
  .bottom-notice-actions {
    justify-content: stretch;
  }
  .bottom-notice-actions .bottom-notice-btn {
    flex: 1 1 0;
  }
}

.bottom-notice-btn {
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.bottom-notice-btn:active {
  transform: translateY(1px);
}
.bottom-notice-btn--accept {
  background: #fff;
  color: #5a1a72;
  border: 1.5px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.bottom-notice-btn--accept:hover {
  background: #f3e6f7;
  border-color: #f3e6f7;
  color: #5a1a72;
}
.bottom-notice-btn--reject {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.bottom-notice-btn--reject:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.error-page {
  max-width: 640px;
  padding: 2.5rem 0 3rem;
}
.error-page h1 {
  color: #7b2d8b;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.error-page p {
  color: #555;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.error-page a {
  color: #7b2d8b;
  font-weight: 600;
}
.error-page a:hover {
  color: #5a1a72;
}
.error-page .error-page-code {
  margin-top: 2rem;
  color: #9a9a9a;
}

/*# sourceMappingURL=main.css.map */
