/* Telegram-like Chat Design - Унифицированный дизайн для всех устройств */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4A5568;
  --primary-hover: #2D3748;
  --success-color: #48BB78;
  --warning-color: #ED8936;
  --danger-color: #F56565;
  --bg-primary: #1a1a1a;
  --bg-secondary: #262626;
  --bg-chat: #1a1a1a;
  --bg-my-message: #2a2a2a;
  --bg-other-message: #262626;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #707070;
  --border-color: rgba(255,255,255,0.1);
  --shadow: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6);
  --glow: 0 0 20px rgba(255,255,255,0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.2s ease;
}

/* Dark theme variables */
[data-theme="dark"] {
  --primary-color: #888888;
  --primary-hover: #999999;
  --success-color: #00ff88;
  --warning-color: #ffa726;
  --danger-color: #ff4444;
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-chat: #141414;
  --bg-my-message: #1a1a1a;
  --bg-other-message: #151515;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow: none;
  --shadow-lg: none;
  --glow: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Inter', sans-serif !important;
  background: #000000 !important;
  color: var(--text-primary) !important;
  line-height: 1.5 !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(50,50,50,0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  display: none;
}

@keyframes eyePulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes eyeWatch {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.18; }
}

.container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100vh !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.title {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  flex: 1;
  justify-content: center;
  letter-spacing: 0.5px;
  margin-left: 20px;
  padding: 4px 0;
}

.icon {
  font-size: 1.1em;
}

.title .icon {
  display: inline-block;
  font-size: 1.2em;
  filter: drop-shadow(0 0 8px rgba(74, 142, 255, 0.3));
}

.icon-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 22px;
}

.icon-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
}

/* Stats Card */
.stats-card {
  display: block;
  margin: 16px;
  padding: 16px 18px;
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  transition: var(--transition);
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.12);
}

.slots-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slots-info .star-icon {
  color: #FFD700;
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.4));
  margin-right: 4px;
}

.slots-info .label {
  font-weight: 600;
  color: #E0E0E0;
  font-size: 15px;
}

.slots-info .badge {
  background: linear-gradient(135deg, #4A8EFF, #6A5AF9);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(74, 142, 255, 0.3);
}

.slots-info .warning {
  background: linear-gradient(135deg, var(--warning-color), #e0a800);
  color: #000;
}

/* Actions */
.actions {
  display: none !important;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  flex: 1;
  justify-content: center;
  min-height: 48px;
}

.btn-primary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.btn-primary:hover {
  background: var(--border-color);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Eye decoration above chats */
.eye-decoration {
  position: relative;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
  margin-bottom: -60px;
  padding-top: 10px;
}

.eye-image {
  width: 420px;
  height: auto;
  opacity: 0.4;
  filter: invert(1) brightness(1.15) contrast(1.25);
  animation: eyeFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes eyeFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1); 
    opacity: 0.35;
  }
  50% { 
    transform: translateY(-5px) scale(1.02); 
    opacity: 0.45;
  }
}

/* Chats Section */
.chats-section {
  padding: 0;
  flex: 1;
  background: #1a1a1a;
  border-radius: 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
  border: none;
  overflow-y: auto;
  padding-bottom: 100px;
  background: linear-gradient(to bottom, #1a1a1a 0%, #1a1a1a 30%, #242424 100%);
}


.section-title {
  display: none;
}

.chats-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: 50px;
  padding: 0;
}

.chat-item {
  background: #1f1f1f;
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  border: none;
  border-bottom: none;
  position: relative;
  cursor: pointer;
  z-index: 1;
  margin: 0 12px 8px 12px;
}

.chat-item:hover {
  background: #262626;
}

.chat-item:first-child {
  position: relative;
  z-index: 50;
  margin-top: 0;
}

.chat-item:nth-child(2) {
  z-index: 49;
}

.chat-item:nth-child(3) {
  z-index: 48;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  flex-shrink: 0;
  background: #2a2a2a;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  border: none;
}

.chat-avatar .avatar-icon {
  filter: grayscale(0%);
  opacity: 1;
  display: block;
}

.chat-avatar .status-indicator {
  display: block !important;
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  background: #00ff88;
  border: 2.5px solid #1f1f1f;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.9);
  z-index: 10;
}


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

.chat-name {
  font-weight: 400;
  color: #A0A0A0;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
}

.chat-id {
  display: none;
}

.chat-actions {
  display: flex;
  gap: 8px;
  margin-left: 12px;
}

.delete-btn {
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  opacity: 0.7;
  color: #FFFFFF;
}

.delete-btn:hover {
  opacity: 1;
  background: rgba(255,255,255,0.1);
  transform: scale(1.05);
}

.delete-btn:active {
  transform: scale(0.95);
}

.action-btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-width: 60px;
}

.action-btn.open {
  background: var(--primary-color);
  color: white;
}

.action-btn.remove {
  background: var(--danger-color);
  color: white;
}

.action-btn:hover {
  transform: scale(1.05);
}

/* Empty State */
.empty-state {
  display: none !important;
}

/* Bottom Action Buttons */
.bottom-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 10px;
  padding: 14px;
  background: rgba(26, 26, 26, 0.98);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  z-index: 200;
  backdrop-filter: blur(10px);
}

.action-button {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.buy-button {
  background: #3a3a3a;
  color: #cccccc;
  justify-content: center;
}

.buy-button .button-text {
  font-size: 15px;
}

.buy-button:hover {
  background: #444444;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.buy-button:active {
  transform: translateY(0);
}

.add-button {
  background: #3a3a3a;
  color: #cccccc;
}

.add-button:hover {
  background: #444444;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.add-button:active {
  transform: translateY(0);
}

.button-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.slots-badge {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.2px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.empty-state p {
  font-size: 14px;
  line-height: 1.5;
}

/* Messages Container */
.messages-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-chat);
  position: relative;
}

.messages-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-chat);
}

.message-item {
  display: flex;
  margin-bottom: 8px;
  animation: fadeIn 0.3s ease-out;
}

.message-item.my-message {
  justify-content: flex-end;
}

.message-item.other-message {
  justify-content: flex-start;
}

.message-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  position: relative;
  word-wrap: break-word;
  box-shadow: var(--shadow);
}

.message-item.my-message .message-bubble {
  background: var(--bg-my-message);
  border-bottom-right-radius: 4px;
}

.message-item.other-message .message-bubble {
  background: var(--bg-other-message);
  border-bottom-left-radius: 4px;
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--text-muted);
  gap: 8px;
}

.message-sender {
  font-weight: 600;
  color: var(--primary-color);
}

.message-time-spacer {
  flex: 1;
  min-width: 8px;
}

.message-time {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  font-size: 10px;
  white-space: nowrap;
}

.message-content {
  color: var(--text-primary);
  line-height: 1.4;
  word-wrap: break-word;
}

.message-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 8px 0;
  display: block;
}

.message-content video {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 8px 0;
  display: block;
}

.message-content audio {
  width: 100%;
  margin: 8px 0;
  display: block;
}

/* Modal */
.modal {
  background: #1a1a1a;
  backdrop-filter: blur(12px);
  border: none;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  transform: none;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.faq-content {
  color: var(--text-primary);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #262626;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 6px;
  padding-left: 8px;
  line-height: 1.6;
}

.faq-answer:last-child {
  margin-bottom: 0;
}

.modal-content {
  background: #1a1a1a;
  border-radius: 0;
  overflow: hidden;
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: #1a1a1a;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.close-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.modal-body {
  padding: 20px;
  background: #1a1a1a;
  overflow-y: auto;
  max-height: calc(100vh - 140px);
  flex: 1;
}

.settings-group {
  margin-bottom: 20px;
}

.settings-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px;
  border-radius: var(--radius);
  transition: var(--transition);
  background: #262626;
  border: 1px solid rgba(255,255,255,0.1);
}

.checkbox-item:hover {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
  background: var(--bg-primary);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: flex-end;
  background: #1a1a1a;
}

/* Loading */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  color: var(--text-primary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.loading-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.loading-more .loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .eye-image {
    width: 200px;
  }
  
  .bottom-actions {
    gap: 10px;
    padding: 12px;
  }
  
  .action-button {
    padding: 14px 16px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

/* Theme Toggle Styles */
.theme-toggle {
  margin-bottom: 20px;
}

.toggle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 0;
}

.toggle-custom {
  position: relative;
  width: 60px;
  height: 30px;
  background: var(--border-color);
  border-radius: 15px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.toggle-icon {
  font-size: 14px;
  transition: var(--transition);
  z-index: 2;
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  background: var(--bg-primary);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 1;
}

#theme_toggle:checked + .toggle-custom {
  background: var(--primary-color);
}

#theme_toggle:checked + .toggle-custom .toggle-slider {
  transform: translateX(30px);
}

#theme_toggle:checked + .toggle-custom .toggle-icon:first-child {
  opacity: 0.3;
}

#theme_toggle:checked + .toggle-custom .toggle-icon:last-child {
  opacity: 1;
}

#theme_toggle:not(:checked) + .toggle-custom .toggle-icon:first-child {
  opacity: 1;
}

#theme_toggle:not(:checked) + .toggle-custom .toggle-icon:last-child {
  opacity: 0.3;
}

#theme_toggle {
  display: none;
}

.toggle-label {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

/* Back button styles */
.back-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.back-btn:hover {
  background: var(--bg-secondary);
}

/* Message Media Styles */
.media-content {
  margin-top: 8px;
}

.media-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-wrapper {
  max-width: 300px;
  max-height: 400px;
}

.message-photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.message-photo:hover {
  transform: scale(1.02);
}

.video-wrapper {
  max-width: 300px;
  max-height: 400px;
}

.message-video {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
}

.video-note-wrapper {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}

.message-video-note {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.voice-wrapper {
  min-width: 200px;
  padding: 8px;
}

.message-voice {
  width: 100%;
  height: 40px;
}

.media-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  color: var(--text-muted);
  font-style: italic;
}

.text-content {
  word-wrap: break-word;
  white-space: pre-wrap;
}

/* Message bubble improvements */
.message-bubble {
  max-width: 80%;
  word-wrap: break-word;
}

.my-message .message-bubble {
  margin-left: auto;
  background: var(--bg-my-message);
}

.other-message .message-bubble {
  margin-right: auto;
  background: var(--bg-other-message);
}

/* Photo Viewer */
.photo-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-viewer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.photo-viewer-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-viewer-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.photo-viewer-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.photo-viewer-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}