.vertical-shorts-nav-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
  margin-bottom: 40px;
  z-index: 20;
}

.vertical-shorts-nav-btn {
  background: #f1f1f1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #030303;
}

.vertical-shorts-nav-btn:hover:not(:disabled) {
  background-color: var(--color-brand);
  transform: translateY(-2px);
}

.vertical-shorts-nav-btn:hover:not(:disabled) i {
  color: #fff;
}

.vertical-shorts-nav-btn:active:not(:disabled) {
  background-color: var(--color-brand);
}

.vertical-shorts-nav-btn:active:not(:disabled) i {
  color: #fff;
}

.vertical-shorts-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #f5f5f5;
}

.vertical-shorts-nav-btn i {
  font-size: 20px;
  line-height: 1;
}

.vertical-shorts-progress {
  font-size: 14px;
  font-weight: 600;
  color: #606060;
  user-select: none;
  background: #f8f8f8;
  padding: 4px 12px;
  border-radius: 12px;
}

@media (max-width: 1200px) {
  .vertical-shorts-nav-buttons {
    margin-left: 16px;
  }
  
  .vertical-shorts-nav-btn {
    width: 40px;
    height: 40px;
  }
}

.gta-comment-list-container {
  padding: 24px 0;
  max-width: 100%;
}

.gta-comment-list-items {
  display: flex;
  flex-direction: column;
}
.gta-comment-list-items > * {
  margin-bottom: 24px;
}
.gta-comment-list-items > *:last-child {
  margin-bottom: 0;
}
@supports (gap: 24px) {
  .gta-comment-list-items {
    gap: 24px;
  }
  .gta-comment-list-items > * {
    margin-bottom: 0;
  }
}

.gta-comment-item {
  padding: 0;
  position: relative;
}

.gta-comment-main{
  padding: 0;
  position: relative;
  display: flex;
}

.gta-comment-reply {
  padding-left: 0;
  display: flex;
}

/* 回复指示器样式 */
.gta-comment-reply-indicator {
  display: flex;
  flex-direction: column;
}

.gta-comment-reply-line-wrapper {
  flex: 1;
  position: relative;
  width: 30px;
}

/* 评论主体容器 */
.gta-comment-body {
  padding-left: 5px;
  flex: 1;
}

/* 头像区域包装器 */
.gta-comment-avatar-wrapper {
  display: flex;
  flex-direction: column;
}

.gta-comment-avatar-container {
  margin-bottom: 4px;
}

.gta-comment-avatar,
.user-avatar-placeholder {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-brand), var(--brand-400));

}

.gta-comment-avatar {
  object-fit: cover;
}

.gta-comment-content {
  flex: 1;
  min-width: 0;
  padding-left: 8px;
}

.gta-comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-bottom: 8px;
}
.gta-comment-header > * {
  margin-right: 8px;
  margin-bottom: 8px;
}
@supports (gap: 8px) {
  .gta-comment-header {
    gap: 8px;
    margin-right: 0;
    margin-bottom: 8px;
  }
  .gta-comment-header > * {
    margin-right: 0;
    margin-bottom: 0;
  }
}

.gta-comment-username {
  font-weight: 600;
  font-size: 13px;
  color: #0f0f0f;
  cursor: pointer;
}

.gta-comment-username:hover {
  color: #065fd4;
}

.gta-comment-time {
  font-size: 12px;
  color: #606060;
}

.gta-comment-text {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 12px 0;
  color: #0f0f0f;
  word-wrap: break-word;
  font-family: "Roboto", Arial, sans-serif;
}

.gta-comment-mention {
  color: #065fd4;
  font-weight: 500;
}

.gta-comment-actions {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.gta-comment-action-btn {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  font-size: 12px;
  color: #606060;
  font-weight: 500;
  transition: background-color 0.2s;
  font-family: "Roboto", Arial, sans-serif;
}
.gta-comment-action-btn > * {
  margin-left: 6px;
}
.gta-comment-action-btn > *:first-child {
  margin-left: 0;
}
@supports (gap: 6px) {
  .gta-comment-action-btn {
    gap: 6px;
  }
  .gta-comment-action-btn > * {
    margin-left: 0;
  }
}

.gta-comment-action-btn:hover {
  background-color: #f2f2f2;
}

.gta-comment-action-btn.active .gta-comment-icon{
  color: rgb(255, 217, 25);
}

.gta-comment-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.gta-comment-like-count {
  font-size: 12px;
}

.gta-comment-reply-btn {
  margin-left: 8px;
  padding: 8px 16px;
  background-color: #f2f2f2;
  color: #0f0f0f;
}

.gta-comment-reply-btn:hover {
  background-color: #e5e5e5;
}

.gta-comment-replies {
  display: flex;
  flex-direction: column;
}

/* 收起按钮包装器 */
.gta-comment-collapse-wrapper {
  display: flex;
}

.gta-comment-collapse-line {
  display: flex;
  flex-direction: column;
  width: 30px;
  position: relative;
}

.gta-comment-collapse-btn {
  margin-bottom: 10px;
}

.gta-comment-list-empty {
  text-align: center;
  padding: 40px 0;
  color: #606060;
  font-size: 14px;
}

.gta-comment-line{
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.gta-comment-line>div{
  position: absolute;
  left: 50%;
  width: 20px;
  height: 100%;
  border-left: 1px solid #e5e5e5;
}
.gta-comment-item-line{
  flex: 1;
}

.comment-bottom-border{
  height: 16px;
  border-radius: 0 0 0 16px;
  border-bottom: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
}
.comment-item-line{
  border-left: 1px solid #e5e5e5;
  position: absolute;
  top: 0;
  height: 100%;
  left: 50%;
  width: 20px;
}

.gta-comment-collapse-btn .gta-btn--text{
  color: #525252;
}

.gta-comment-collapse-btn .gta-btn--text:hover{
  color: #525252;
  background: unset;
}

.comment-add .comment-view{
  display: flex;
  margin-top: 20px;
  cursor: pointer;
  align-items: flex-start;
}

.comment-add .comment-view .comment-img{
  margin-right: 10px;
  display: flex;
  border-radius: 50%;
}
.comment-add .comment-view .gta-text-view__character-count{
  display: none;
}
.comment-add .comment-input .gta-text-view__textarea{
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  border: unset;
  border-bottom: 1px solid #e5e5e5;

  padding: 0 12px;
}
.comment-add .comment-btn{
  text-align: right;
  margin-bottom: 20px;
}
.comment-add .comment-btn .gta-btn--text:hover{
  color: #333333;
  background: unset;
}
.comment-add .comment-btn .gta-btn--text{
  color: #333333;
}

.gta-comment-actions button{
  margin-right: 5px;
}
.gta-comment-actions .gta-btn--text{
  color: #333333;
}

.gta-comment-actions .gta-btn--text:hover{
  color: #333333;
  background: unset;
}

.gta-comment-actions .gta-btn--text.delete{
  color: #fd5656;
}

.gta-comment-content .delete{
  opacity: 0;
}
.gta-comment-content:hover .delete{
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .gta-comment-content .delete{
    opacity: 1;
  }
}

/* 加载更多动画 */
.gta-comment-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  color: #606060;
  font-size: 14px;
}
.gta-comment-loading > * {
  margin-left: 12px;
}
.gta-comment-loading > *:first-child {
  margin-left: 0;
}
@supports (gap: 12px) {
  .gta-comment-loading {
    gap: 12px;
  }
  .gta-comment-loading > * {
    margin-left: 0;
  }
}

.gta-comment-loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e5e5;
  border-top-color: #065fd4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 没有更多数据 */
.gta-comment-no-more {
  text-align: center;
  padding: 20px 0;
  color: #999;
  font-size: 13px;
}

/* 评论列表容器淡入动画 */
.gta-comment-list-container {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 评论项进入动画 */
.gta-comment-item:not(.gta-comment-skeleton) {
  animation: slideIn 0.3s ease-out;
}

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

.gta-text-view {
  width: 100%;
  position: relative;
}

.gta-text-view__textarea {
  width: calc(100% - 40px);
  min-width: 200px;
  min-height: 28px;
  height: 28px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 28px;
  border: 1px solid #d9d9d9;
  resize: none;
  outline: none;
  transition: all 0.3s;
  font-family: inherit;
  box-sizing: border-box;
  overflow-y: hidden;
  display: block;
}

.gta-text-view__character-count {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 12px;
  color: #bfbfbf;
  pointer-events: none;
}

.gta-text-view__textarea::placeholder {
  color: #bfbfbf;
}

/* 禁用状态 */
.gta-text-view__textarea:disabled {
  background-color: #f5f5f5;
  border-color: #d9d9d9;
  cursor: not-allowed;
  opacity: 0.6;
}

/* 骨架屏基础样式 */
.gta-comment-skeleton .skeleton-avatar,
.gta-comment-skeleton .skeleton-text {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.gta-comment-skeleton .skeleton-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.gta-comment-skeleton .skeleton-text {
  height: 14px;
  margin-bottom: 8px;
}

.gta-comment-skeleton .skeleton-username {
  width: 120px;
  height: 16px;
  border-radius: 4px;
}

.gta-comment-skeleton .skeleton-time {
  width: 80px;
  height: 12px;
  border-radius: 4px;
}

.gta-comment-skeleton .skeleton-line-1 {
  width: 100%;
  height: 14px;
}

.gta-comment-skeleton .skeleton-line-2 {
  width: 80%;
  height: 14px;
}

.gta-comment-skeleton .skeleton-action {
  width: 60px;
  height: 32px;
  border-radius: 16px;
  margin-right: 8px;
}

.gta-action-buttons {
  display: flex;
  z-index: 20;
}
.gta-action-buttons > * {
  margin-left: 15px;
}
.gta-action-buttons > *:first-child {
  margin-left: 0;
}
@supports (gap: 15px) {
  .gta-action-buttons {
    gap: 15px;
  }
  .gta-action-buttons > * {
    margin-left: 0;
  }
}

/* 竖向布局 */
.gta-action-buttons.layout-vertical {
  flex-direction: column;
  align-items: center;
}

/* 横向布局 */
.gta-action-buttons.layout-horizontal {
  flex-direction: row;
  align-items: center;
}

.gta-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.gta-action-item > * {
  margin-bottom: 6px;
}
.gta-action-item > *:last-child {
  margin-bottom: 0;
}
@supports (gap: 6px) {
  .gta-action-item {
    gap: 6px;
  }
  .gta-action-item > * {
    margin-bottom: 0;
  }
}

/* 横向布局时，图标和文字可以并排，或者保持上下但整体横向排列。
   这里保持图标在上方，文字在下方，整体横向排列。
   如果需要图标和文字并排，可以取消下面注释 */
/*
.gta-action-buttons.layout-horizontal .gta-action-item {
  flex-direction: row;
  gap: 8px;
}
*/

.gta-icon-circle {
  width: 48px;
  height: 48px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gta-icon-circle.active {
  background-color: var(--color-brand);
}

.gta-icon-circle.active i {
  color: #fff;
}

.gta-icon-circle i {
  font-size: 22px;
  color: #030303;
  position: relative;
}

.mobile-video-container .gta-icon-circle>.gta-icon-home{
  font-size: 26px!important;
}

.gta-action-text {
  font-size: 12px;
  color: #606060;
  font-weight: 400;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .gta-icon-circle {
    background: rgba(0, 0, 0, 0.2);
  }
  
  .gta-icon-circle i {
    color: #fff;
  }
  
  .gta-action-text {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
}
.gta-action-buttons .gta-icon-home{
  font-size: 29px;
}
.gta-action-buttons .gta-icon-dianzan{
  font-size: 26px;
}
.gta-action-buttons .gta-icon-diancai{
  font-size: 26px;
}
.gta-action-buttons .gta-icon-share{
  font-size: 24px;
}

/* VideoInfo 基础样式 */
.gta-about-jump-block{
  width: 100%;
  border-radius: 12px;
  padding: 14px 14px 10px;
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #fff;
 
}

.gta-about-title{
  display: block;
 
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
}

.gta-about-title:hover{
  color: var(--color-brand);
}

.gta-about-banner{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}


.gta-video-info-container {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  
}

.gta-video-info-container.is-side {
 
 
  width: 300px;
  flex-shrink: 0;
  margin-right: 60px;
  animation: fadeInVideoInfo 0.3s ease;
}

.gta-video-info-container.is-overlay {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 60px; 
  z-index: 10;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.gta-video-info-author {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.gta-video-info-author > * {
  margin-left: 12px;
}
.gta-video-info-author > *:first-child {
  margin-left: 0;
}
@supports (gap: 12px) {
  .gta-video-info-author {
    gap: 12px;
  }
  .gta-video-info-author > * {
    margin-left: 0;
  }
}

.gta-video-info-author-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gta-video-info-time {
  font-size: 13px;
  color: #606060;
  margin-top: 2px;
}

.is-overlay .gta-video-info-time {
  color: rgba(255, 255, 255, 0.8);
}

.is-overlay .gta-video-info-author {
  margin-bottom: 12px;
  pointer-events: auto;
}

.gta-video-info-extra {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}
.gta-video-info-extra > * {
  margin-bottom: 16px;
}
.gta-video-info-extra > *:last-child {
  margin-bottom: 0;
}
@supports (gap: 16px) {
  .gta-video-info-extra {
    gap: 16px;
  }
  .gta-video-info-extra > * {
    margin-bottom: 0;
  }
}


.gta-video-info-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.gta-video-info-meta > * {
  margin-left: 12px;
}
.gta-video-info-meta > *:first-child {
  margin-left: 0;
}
@supports (gap: 12px) {
  .gta-video-info-meta {
    gap: 12px;
  }
  .gta-video-info-meta > * {
    margin-left: 0;
  }
}

.gta-video-info-tags {
  display: flex;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-bottom: -8px;
}
.gta-video-info-tags > * {
  margin-right: 8px;
  margin-bottom: 8px;
}
@supports (gap: 8px) {
  .gta-video-info-tags {
    gap: 8px;
    margin-right: 0;
    margin-bottom: 0;
  }
  .gta-video-info-tags > * {
    margin-right: 0;
    margin-bottom: 0;
  }
}

.gta-video-info-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f5f5f5;
  border-radius: 16px;
  font-size: 13px;
  color: var(--color-brand, #168247);
  font-weight: 500;
}

.gta-video-info-duration {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: #666;
  background: #f8f9fa;
  padding: 4px 10px;
  border-radius: 16px;
}
.gta-video-info-duration > * {
  margin-left: 6px;
}
.gta-video-info-duration > *:first-child {
  margin-left: 0;
}
@supports (gap: 6px) {
  .gta-video-info-duration {
    gap: 6px;
  }
  .gta-video-info-duration > * {
    margin-left: 0;
  }
}

.gta-video-info-icon {
  font-style: normal;
  font-size: 14px;
}

.gta-video-info-summary {
  background: #f9f9f9;
  padding: 12px 16px;
  border-radius: 8px;
}

.gta-video-info-summary-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.gta-video-info-summary-content {
  font-size: 14px;
  line-height: 1.6;
  color: #212121;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: justify;
}

.gta-video-info-summary-content.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gta-video-info-summary-toggle {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-brand);
  cursor: pointer;
  user-select: none;
}

.gta-video-info-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #eee;
}

.info-avatar-placeholder {
  width: 48px;
  height: 48px;
  font-size: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.info-avatar-placeholder {
  background: linear-gradient(135deg, #6b5bff, var(--color-brand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
}

.is-overlay .gta-video-info-avatar {
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
}

.gta-video-info-author-name {
  font-weight: 600;
  font-size: 18px;
  color: #030303;
}

.is-overlay .gta-video-info-author-name {
  font-size: 16px;
  color: #fff;
}

.gta-video-info-follow-btn {
  background-color: var(--color-brand);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.is-overlay .gta-video-info-follow-btn {
  background: #fff;
  color: #000;
  padding: 6px 16px;
  border-radius: 18px;
}

.gta-video-info-follow-btn:hover {
  opacity: 0.9;
}

.gta-video-info-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #030303 !important;
  margin: 0;
}

.is-overlay .gta-video-info-title {
  font-size: 15px;
  font-weight: 400;
  color: #fff !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.layout-portrait {

}


.layout-landscape {
  position: static !important; 
  width: 100% !important;
  margin-top: 16px;
  right: auto !important;
  bottom: auto !important;
}

.layout-landscape.is-side {
  position: static;
  width: 100%;
  animation: none;
}

/* PC端横视频作者信息和收藏按钮水平布局 */
.gta-video-info-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* 内部作者信息容器 */
.gta-video-info-author-inner {
  display: flex;
  align-items: center;
}
.gta-video-info-author-inner > * {
  margin-left: 12px;
}
.gta-video-info-author-inner > *:first-child {
  margin-left: 0;
}
@supports (gap: 12px) {
  .gta-video-info-author-inner {
    gap: 12px;
  }
  .gta-video-info-author-inner > * {
    margin-left: 0;
  }
}

.gta-video-info-favorite {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.gta-video-info-favorite > * {
  margin-bottom: 6px;
}
.gta-video-info-favorite > *:last-child {
  margin-bottom: 0;
}
@supports (gap: 6px) {
  .gta-video-info-favorite {
    gap: 6px;
  }
  .gta-video-info-favorite > * {
    margin-bottom: 0;
  }
}

.gta-video-info-favorite:hover {
  background-color: #f5f5f5;
}

.gta-video-info-favorite .gta-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: all 0.2s;
}

 

.gta-video-info-favorite .gta-icon {
  font-size: 20px;
  color: #000;
}

.gta-video-info-favorite .gta-action-text {
  font-size: 12px;
  color: #606060;
}

/* PC端横视频作者信息和收藏按钮水平布局 - 重复样式已合并 */
.gta-video-info-favorite {
  background: unset;
}

.gta-video-info-favorite:hover {
  background-color: #f5f5f5;
}

.gta-video-info-favorite .gta-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: all 0.2s;
}

 

.gta-video-info-favorite .gta-icon {
  font-size: 20px;
  color: #000;
}

.gta-video-info-favorite .gta-action-text {
  font-size: 12px;
  color: #606060;
}

@keyframes fadeInVideoInfo {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1200px) {
  .is-side {
    display: none; 
  }
}

@media (max-width: 768px) {
  .is-overlay {
    bottom: 40px; 
    right: 70px;
  }
}

.portrait-video-container {
  inset: 0;
  background-color: #fff;
  z-index: 100;
  overflow: hidden;
  position: fixed;
}
.portrait-video-container .container{
  height: 100%;
  position: relative;
}
.portrait-video-container .container .container-shorts-info.animate-out {
  opacity: 0;
}

.portrait-video-container .container .gta-vertical-shorts-actions-wrapper.animate-out {
  opacity: 0;
}

.portrait-video-container .container .container-shorts-info{
  position: absolute;
  bottom: 48px;
  left: 0;
  top: auto;
  opacity: 1;
  transition: opacity 0.5s ease,width 0.5s ease 0.1s;
  z-index: 100;
  overflow: hidden;
  width: 310px;
}

.portrait-video-container .gta-vertical-shorts-actions-wrapper {
  position: absolute;
  /*left: calc(50% + 255px);*/
  bottom: 48px;
  z-index: 1000;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease,transform 0.5s ease 0.1s;
}

.portrait-video-container .gta-vertical-shorts-comment-drawer{
  z-index: 1001;
  top: calc(61px + 24px);
  bottom: 48px;
  right: calc(24px + 60px);
  transition: width 0.5s ease;
}


.portrait-video-container .gta-portrait-default-overlay__icon-button{
  padding: 0;
}
.portrait-video-container .gta-portrait-player{
  box-shadow: unset;
}

.portrait-video-container .gta-video-preview{
  background: unset;
}

.portrait-video-container .gta-portrait-video-item__surface--placeholder{
  box-shadow: unset;
}

.portrait-video-container .gta-vertical-shorts-nav-wrap {
  position: absolute;
  right: 24px;
  top: calc(50% + 61px);
  transform: translateY(-50%);
  z-index: 200;
}

/*弹出评论样式*/
.portrait-video-container.comments-open .gta-vertical-shorts-nav-wrap {
  right: 24px;
}
.portrait-video-container.comments-open .gta-portrait-video-item__surface{
  transform: translateX(-300px);
}
.portrait-video-container.comments-open .container-shorts-info {
  opacity: 0;
  width: 0;
}
.portrait-video-container.comments-open .gta-vertical-shorts-actions-wrapper {
  transform: translateX(-300px);
}

/*视频区域样式*/
.portrait-video-container .portrait-video-main{
  position: absolute;
  left: 0;
  width: 100vw;
}
.portrait-video-container .gta-portrait-video{
  height: 100%;
  width: 100%;
  background: white;
}
.portrait-video-container .gta-portrait-video-item{
  align-items: flex-start;
  /*padding: 0;*/
}
.portrait-video-container .gta-portrait-video-item__surface{
  width: auto;
  height: calc(100% - 28px);
  transform: translateX(0);
  transition: transform 0.5s ease 0.1s;
}
.portrait-video-container .gta-portrait-player{
  /*background: black;*/
}

.portrait-video-container .gta-drawer-body{
  padding: 0 12px;
}


/*全屏效果*/
.portrait-video-container.fullscreen{
  z-index: 2222;
}
.portrait-video-container.fullscreen .portrait-video-main{
  top: 0 !important;
  height: 100vh !important;
  position: fixed;
  z-index: 2223;
}
.portrait-video-container.fullscreen .gta-vertical-shorts-actions-wrapper{
  z-index: 2224;
  left: calc(50% + 305px);
}
.portrait-video-container.fullscreen .container-shorts-info{
  z-index: 2224;
  left: -80px;
}
.portrait-video-container.fullscreen .gta-vertical-shorts-nav-wrap{
  z-index: 2224;
  right: -80px;
}
.portrait-video-container.fullscreen .gta-vertical-shorts-comment-drawer{
  z-index: 2224;
  right: 0;
}
.portrait-video-container.fullscreen .gta-portrait-video-item{
  margin-bottom: -24px;
}

.gta-drawer {
  position: absolute;
  top: 70px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  z-index: 150;
  border-radius: 12px;
  overflow: hidden;
}

.gta-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gta-drawer-title {
  font-size: 18px;
  font-weight: 600;
  color: #030303;
}

.gta-drawer-close-wrapper {
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  background-color: transparent;
}

.gta-drawer-close-wrapper:hover {
  background-color: var(--color-brand);
}

.gta-drawer-close-wrapper:active {
  background-color: var(--color-brand);
}

.gta-drawer-header i.close {
  font-size: 20px;
  color: #606060;
  transition: color 0.2s;
}

.gta-drawer-close-wrapper:hover i.close,
.gta-drawer-close-wrapper:active i.close {
  color: #fff;
}

.gta-drawer-body {
  flex: 1;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .gta-drawer {
    width: 100% !important;
    height: 100% !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    border-radius: 0;
    z-index: 200;
  }
}

.gta-video-preview {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
  background: #111827;
  user-select: none;
  -webkit-user-select: none;
}

.gta-video-preview__video,
.gta-video-preview__poster,
.gta-video-preview__poster-image,
.gta-video-preview__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gta-video-preview__video,
.gta-video-preview__poster-image {
  display: block;
}

.gta-video-preview__video {
  z-index: 1;
  object-position: center;
  -webkit-user-drag: none;
}

.gta-video-preview__poster {
  z-index: 2;
  overflow: hidden;
  transition: none;
  pointer-events: none;
}

.gta-video-preview__poster.is-visible {
  opacity: 1;
}

.gta-video-preview__poster.is-hidden {
  opacity: 0;
}

.gta-video-preview__poster-image {
  object-fit: cover;
  -webkit-user-drag: none;
}

.gta-video-preview__overlay {
  z-index: 3;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.gta-video-preview__duration {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.gta-video-pc-preview .gta-video-preview__duration {
  right: 12px;
  bottom: 12px;
  left: auto;
  top: auto;
}

.gta-video-short-preview .gta-video-preview__duration {
  left: 12px;
  right: auto;
  bottom: 12px;
  top: auto;
}

.gta-video-preview.is-error::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.gta-video-pc-preview {
  transition: none;
}

.gta-video-pc-preview:hover {
  transform: none;
  box-shadow: none;
}

.gta-video-short-preview {
  border-radius: 16px;
}

.gta-portrait-video {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}

.gta-portrait-video.is-expanded {
  position: fixed;
  inset: 16px;
  z-index: 2147483000;
  min-height: 0;
  height: auto;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
}

.gta-portrait-video-list {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gta-portrait-video-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: transform 0.68s cubic-bezier(0.22, 0.72, 0.18, 1);
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.gta-portrait-video-list.is-navigating {
  pointer-events: none;
}

.gta-portrait-video-list.is-transition-disabled .gta-portrait-video-item {
  transition: none;
}

.gta-portrait-video-item.is-active {
  pointer-events: auto;
}

.gta-portrait-video-item__surface {
  position: relative;
  width: min(100%, 420px);
  height: calc(100% - 48px);
  max-height: 100%;
  overflow: visible;
  border-radius: 20px;
  transform: translateZ(0);
}

.gta-portrait-video-item__surface--placeholder {
  background: #0f172a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.gta-portrait-video-item:not(.is-mobile) .gta-portrait-video-item__surface--placeholder {
  overflow: hidden;
}

.gta-portrait-video-item__placeholder-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gta-portrait-video-item__placeholder-fallback {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #0f172a;
}

.gta-portrait-video.is-expanded .gta-portrait-video-list {
  overflow: hidden;
  background: transparent;
}

.gta-portrait-video.is-expanded .gta-portrait-video-item {
  align-items: stretch;
  justify-content: center;
  padding: 0;
}

.gta-portrait-video.is-expanded .gta-portrait-video-item__surface {
  width: min(100%, 720px);
  height: 100%;
  max-height: 100%;
}

.gta-portrait-player {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.gta-portrait-player .gta-video-preview__poster {
  transition: none;
}

.gta-portrait-video-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
}

.gta-portrait-video-item__overlay>* {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.gta-portrait-default-overlay {
  position: relative;
  width: 100%;
  height: 100%;
}

.gta-portrait-default-overlay__top {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.gta-portrait-video-item__surface:hover .gta-portrait-default-overlay__top,
.gta-portrait-default-overlay.is-paused .gta-portrait-default-overlay__top {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gta-portrait-default-overlay__group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gta-portrait-default-overlay__icon-button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.46);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.gta-portrait-default-overlay__icon-button:hover {
  background: rgba(15, 23, 42, 0.6);
}

.gta-portrait-default-overlay__icon-button svg {
  display: block;
}

.gta-portrait-default-overlay__volume {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.gta-portrait-default-overlay__volume .gta-portrait-default-overlay__icon-button {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.gta-portrait-default-overlay__volume .gta-portrait-default-overlay__icon-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.gta-portrait-default-overlay__volume-slider {
  width: 112px;
  display: flex;
  align-items: center;
}

.gta-portrait-default-overlay__volume-slider input {
  width: 112px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  appearance: none;
  background: transparent;
}

.gta-portrait-default-overlay__volume-slider input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.gta-portrait-default-overlay__volume-slider input::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
}

.gta-portrait-default-overlay__volume-slider input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.gta-portrait-default-overlay__volume-slider input::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.gta-portrait-default-overlay__volume-slider input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: #fff;
}

.gta-portrait-default-overlay__center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.gta-portrait-default-overlay__center-play svg {
  width: 30px;
  height: 30px;
}

.gta-portrait-default-overlay__unmute-button {
  position: absolute;
  left: 50%;
  top: 74px;
  z-index: 6;
  height: 40px;
  border: none;
  border-radius: 999px;
  padding: 0 16px 0 12px;
  color: #fff;
  background: rgba(15, 23, 42, 0.68);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
  -webkit-tap-highlight-color: transparent;
}

.gta-portrait-default-overlay__unmute-button:hover {
  background: rgba(15, 23, 42, 0.8);
}

.gta-portrait-default-overlay__unmute-button:active {
  transform: translateX(-50%) scale(0.96);
}

.gta-portrait-default-overlay__unmute-button svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.gta-portrait-default-overlay__feedback {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: gta-portrait-feedback-pop 1s ease forwards;
}

.gta-portrait-default-overlay__feedback svg {
  width: 48px;
  height: 48px;
}

.gta-portrait-progress {
  --gta-portrait-progress-percent: 0%;
  --gta-portrait-progress-preview-percent: 10%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  height: 38px;
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
}

.gta-portrait-progress.is-dragging {
  z-index: 44;
}

.gta-portrait-progress.is-disabled {
  cursor: default;
}

.gta-portrait-progress__track {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.gta-portrait-progress__active {
  width: var(--gta-portrait-progress-percent);
  height: 100%;
  background: #ff0033;
}

.gta-portrait-progress__thumb {
  position: absolute;
  left: calc(12px + (100% - 24px) * var(--gta-portrait-progress-percent-value, 0));
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff0033;
  box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.22);
  opacity: 0;
  transform: translateX(-50%) scale(0.86);
  transition:
    opacity 0.14s ease,
    left 0.12s linear,
    transform 0.14s ease;
}

.gta-portrait-video-item__surface:hover .gta-portrait-progress__thumb,
.gta-portrait-progress.is-hovering .gta-portrait-progress__thumb,
.gta-portrait-progress.is-dragging .gta-portrait-progress__thumb {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.gta-portrait-progress.is-disabled .gta-portrait-progress__thumb {
  opacity: 0;
}

.gta-portrait-progress__preview {
  position: absolute;
  left: var(--gta-portrait-progress-preview-percent);
  bottom: 22px;
  z-index: 45;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 78px;
  color: #fff;
  pointer-events: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.34));
}

.gta-portrait-progress__preview-thumb {
  width: 72px;
  aspect-ratio: 9 / 16;
  max-width: 112px;
  max-height: 136px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
}

.gta-portrait-progress__preview-thumb--sprite {
  width: auto;
  height: auto;
  aspect-ratio: auto;
}

.gta-portrait-progress__preview-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}

.gta-portrait-progress__preview-sprite {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}

.gta-portrait-progress__preview-thumb span {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 44%), rgba(15, 23, 42, 0.82);
}

.gta-portrait-progress__preview-time {
  position: relative;
  z-index: 46;
  min-width: 42px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.gta-portrait-video__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 12px;
  color: #fff;
}

.gta-portrait-error-mask {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
  color: #fff;
  text-align: center;
  background: #000;
}

.gta-portrait-error-mask__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.gta-portrait-error-mask__message {
  max-width: min(560px, 100%);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  word-break: break-word;
}

.gta-portrait-error-mask__button {
  min-width: 112px;
  height: 38px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: #ff0033;
  cursor: pointer;
}

.gta-portrait-error-mask__button:hover {
  background: #ff1b4a;
}

.gta-portrait-video__loading-ring {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gta-portrait-spin 0.9s linear infinite;
}

.gta-portrait-seek-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 26;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gta-portrait-video__bottom-loading {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.gta-portrait-video__bottom-loading-ring {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gta-portrait-spin 0.9s linear infinite;
}

@keyframes gta-portrait-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes gta-portrait-feedback-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
  }

  12% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  72% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
}

@media (max-width: 768px) {
  .gta-portrait-video {
    min-height: 100dvh;
  }

  .gta-portrait-video.is-expanded {
    inset: 0;
    border-radius: 0;
  }

  .gta-portrait-video-item {
    padding: 0;
  }

  .gta-portrait-video-item__surface {
    width: 100%;
    height: 100%;
  }

  .gta-portrait-player {
    border-radius: 0;
  }

  .gta-portrait-default-overlay__top {
    left: 12px;
    right: 12px;
    top: 12px;
  }

  .gta-portrait-error-mask {
    padding: 20px 16px;
    gap: 10px;
  }

  .gta-portrait-error-mask__title {
    font-size: 20px;
  }

  .gta-portrait-error-mask__message {
    font-size: 13px;
    line-height: 1.55;
  }
}



