@charset "UTF-8";
.reels-scroll-container {
  position: relative;
  margin-bottom: 30px;
}

.reels-scroll-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.reels-scroll-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.reels-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reels-filter-select {
  padding: 8px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 30px;
  background: white;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}
.reels-filter-select:hover {
  border-color: #db1d23;
}
.reels-filter-select:focus {
  border-color: #db1d23;
  box-shadow: 0 0 0 2px rgba(219, 29, 35, 0.1);
}

.reels-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 10px;
}
.reels-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}
.reels-scroll-wrapper::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}
.reels-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.reels-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #db1d23;
}

.reels-scroll-grid {
  display: flex;
  padding-top: 3px;
  gap: 16px;
  width: -moz-max-content;
  width: max-content;
}
.reels-scroll-grid .reel-item {
  width: 200px;
  flex-shrink: 0;
  aspect-ratio: 9/16;
}
@media (min-width: 768px) {
  .reels-scroll-grid .reel-item {
    width: 220px;
  }
}
@media (min-width: 992px) {
  .reels-scroll-grid .reel-item {
    width: 240px;
  }
}

.reels-scroll-btn {
  position: absolute;
  top: 100%;
  transform: translateY(-100%);
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.reels-scroll-btn:hover {
  background: #db1d23;
  border-color: #db1d23;
  color: white;
}
.reels-scroll-btn.prev {
  right: 50px;
}
.reels-scroll-btn.next {
  right: 0;
}
.reels-scroll-btn svg {
  width: 20px;
  height: 20px;
}
.reels-scroll-btn[style*="visibility: hidden"], .reels-scroll-btn[style*="opacity: 0"] {
  transition: all 0.3s ease;
}

.reels-empty {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 16px;
  color: #6c757d;
}

.reels-loading {
  text-align: center;
  padding: 40px;
}
.reels-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #db1d23;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.reels-grid-section {
  margin-top: 20px;
  margin-bottom: 30px;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
@media (min-width: 768px) {
  .reels-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
}
@media (min-width: 992px) {
  .reels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.reel-item {
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 9/16;
}
.reel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.reel-item:hover .reel-preview-video {
  opacity: 1;
  visibility: visible;
}
.reel-item:hover .reel-item-image {
  opacity: 0;
}
.reel-item:hover .reel-play-overlay {
  opacity: 1;
}
.reel-item:hover .reel-preview-indicator {
  opacity: 1;
}

.reel-preview-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reel-item-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.reel-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.reel-play-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.reel-stats-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  z-index: 5;
}

.reel-title {
  color: white;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.reel-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reel-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.reel-stat svg {
  width: 14px;
  height: 14px;
}
.reel-stat.likes svg {
  color: #ff4444;
}
.reel-stat.views svg {
  color: #4caf50;
}
.reel-stat.comments svg {
  color: #2196f3;
}

.reel-duration-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  color: white;
  font-weight: 500;
  z-index: 5;
}

.reel-preview-indicator {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.reel-preview-indicator svg {
  width: 12px;
  height: 12px;
}
.reel-preview-indicator .playing {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.reel-player-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}
.reel-player-modal.active {
  visibility: visible;
  opacity: 1;
}

body.modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

.reel-player-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.reel-player-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  overflow: hidden;
}

.reel-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-video-element {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.reel-loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: reel-spin 0.8s linear infinite;
  display: none;
}

@keyframes reel-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.reel-controls-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.reel-controls-layer > * {
  pointer-events: auto;
}
.reel-controls-layer.hidden {
  opacity: 0;
}
.reel-controls-layer:not(.hidden) .reel-play-pause-overlay {
  opacity: 1;
}
.reel-controls-layer:not(.hidden) .reel-stop-button {
  opacity: 1;
}

.reel-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  z-index: 20;
}

.reel-location-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
}

.reel-close-button {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  color: #ffffff;
}
.reel-close-button:hover {
  transform: scale(1.1);
}

.reel-bottom-section {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  z-index: 20;
}

.reel-bottom-info {
  flex: 1;
}

.reel-author-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reel-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reel-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #ffffff;
}

.reel-author-details {
  color: #ffffff;
}

.reel-author-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.reel-caption-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.reel-follow-button {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.reel-follow-button.following {
  background: rgba(219, 29, 35, 0.9);
  border-color: #db1d23;
}

.reel-description-wrapper {
  margin-top: 8px;
}

.reel-description-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.reel-description-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  background: rgba(0, 0, 0, 0.8);
  padding: 12px;
  border-radius: 12px;
  max-height: 120px;
  overflow-y: auto;
}

.reel-description-expand-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  margin-top: 4px;
  display: inline-block;
  cursor: pointer;
}

.reel-right-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.reel-action-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.reel-action-button:hover {
  transform: scale(1.1);
}
.reel-action-button.liked .reel-like-icon {
  color: #ff4444;
  fill: #ff4444;
}

.reel-action-icon {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.reel-action-count {
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
}

.reel-more-menu {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}
.reel-more-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reel-more-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.reel-more-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.reel-more-menu-item.danger {
  color: #ff4444;
}
.reel-more-menu-item.favorited {
  color: #ffcc00;
}
.reel-more-menu-item.favorited svg {
  stroke: #ffcc00;
  fill: #ffcc00;
}

.reel-play-pause-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.reel-play-pause-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.reel-stop-button {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 6px 16px;
  color: white;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.reel-stop-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%) scale(1.05);
}

.reel-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  z-index: 15;
}

.reel-progress-fill {
  width: 0%;
  height: 100%;
  background: #db1d23;
  transition: width 0.1s linear;
}

.reel-swipe-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 15;
}
.reel-swipe-indicator.up {
  top: 80px;
}
.reel-swipe-indicator.down {
  bottom: 80px;
}
.reel-swipe-indicator.visible {
  opacity: 1;
}

.reel-comments-drawer {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 25px 25px 0 0;
  z-index: 100002 !important;
  transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  height: 60vh;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
}
.reel-comments-drawer.open {
  bottom: 0;
}

.reel-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #efefef;
  background: #ffffff;
  border-radius: 25px 25px 0 0;
  flex-shrink: 0;
}

.reel-comments-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #262626;
}

.reel-comments-header-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #262626;
}
.reel-comments-header-button:hover {
  opacity: 0.7;
}

.reel-comments-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.reel-comments-loading {
  text-align: center;
  padding: 20px;
  color: #8e8e8e;
}
.reel-comments-loading::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #0095f6;
  border-radius: 50%;
  animation: reel-spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

.reel-comment-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  animation: comment-fade-in 0.3s ease;
}

@keyframes comment-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reel-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.reel-comment-content {
  flex: 1;
}

.reel-comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.reel-comment-author {
  font-size: 13px;
  font-weight: 700;
  color: #262626;
}

.reel-comment-time {
  font-size: 10px;
  color: #8e8e8e;
}

.reel-comment-text {
  font-size: 13px;
  color: #262626;
  line-height: 1.4;
  margin-bottom: 6px;
  word-break: break-word;
}

.reel-comment-actions {
  display: flex;
  gap: 12px;
}

.reel-comment-like-button {
  background: none;
  border: none;
  font-size: 11px;
  color: #8e8e8e;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}
.reel-comment-like-button:hover {
  color: #ff4444;
}
.reel-comment-like-button.liked {
  color: #ff4444;
}
.reel-comment-like-button.liked svg {
  fill: #ff4444;
  stroke: #ff4444;
}

.reel-comment-report-button {
  background: none;
  border: none;
  font-size: 11px;
  color: #8e8e8e;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 16px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.reel-comment-report-button:hover {
  background: #fee2e2;
  color: #dc2626;
}
.reel-comment-report-button svg {
  width: 11px;
  height: 11px;
}

.reel-comments-footer {
  padding: 12px 16px;
  border-top: 1px solid #efefef;
  background: #ffffff;
  flex-shrink: 0;
}

.reel-comment-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reel-comment-input {
  flex: 1;
  border: none;
  background: #f1f3f4;
  border-radius: 35px !important;
  padding: 10px 20px;
  font-size: 13.5px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  color: #1a1a1a;
  height: 42px;
  line-height: 1.4;
  font-weight: 450;
}
.reel-comment-input:hover {
  background: #e8eaed;
}
.reel-comment-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}
.reel-comment-input::-moz-placeholder {
  color: #9aa0a6;
  font-weight: 400;
  font-size: 13px;
}
.reel-comment-input::placeholder {
  color: #9aa0a6;
  font-weight: 400;
  font-size: 13px;
}
.reel-comment-input:focus::-moz-placeholder {
  opacity: 0.6;
}
.reel-comment-input:focus::placeholder {
  opacity: 0.6;
}

.reel-comment-submit {
  background: #1a1a1a;
  border: none;
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.2px;
  height: 40px;
  width: 40px;
}
.reel-comment-submit:hover:not(:disabled) {
  background: #333333;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.reel-comment-submit:active:not(:disabled) {
  transform: translateY(0);
}
.reel-comment-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.reel-comment-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.reel-comment-submit:hover:not(:disabled) svg {
  transform: translateX(2px);
}

.reel-comments-empty {
  text-align: center;
  padding: 40px 20px;
  color: #8e8e8e;
}

.reel-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  z-index: 100001;
  transition: transform 0.3s ease;
  white-space: nowrap;
}
.reel-toast.show {
  transform: translateX(-50%) translateY(0);
}

.report-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-confirm-dialog {
  background: white;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .reel-bottom-section {
    padding: 15px;
  }
  .reel-right-actions {
    gap: 14px;
  }
  .reel-action-icon {
    width: 24px;
    height: 24px;
  }
  .reel-author-avatar {
    width: 38px;
    height: 38px;
  }
  .reel-author-name {
    font-size: 13px;
  }
  .reel-follow-button {
    padding: 4px 14px;
    font-size: 12px;
  }
  .reel-more-menu {
    right: 0;
    min-width: 230px;
  }
  .reel-comments-drawer {
    height: 60vh;
  }
}
/* اضافه کردن به فایل CSS مربوط به ریلز */
.reel-keyboard-hint {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10001;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.reel-keyboard-hint.hint-visible {
  opacity: 1;
  transform: translateX(0);
}

.reel-keyboard-hint.hint-hidden {
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
}

.keyboard-hint-content {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px 20px;
  color: white;
  font-size: 13px;
  min-width: 200px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.keyboard-hint-title {
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.keyboard-hint-keys {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.key-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.key-row kbd {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: monospace;
  font-weight: bold;
  min-width: 40px;
  text-align: center;
  font-size: 11px;
  color: #fff;
}

.keyboard-hint-close {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.keyboard-hint-close:hover {
  opacity: 1;
}

/* برای موبایل راهنما نمایش داده نشود */
@media (max-width: 768px) {
  .reel-keyboard-hint {
    display: none;
  }
}
