.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-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;
  }
}



.btm-popup-stack {
  position: absolute;
  z-index: 1900;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  width: 0;
  height: 0;
}

.btm-popup-stack--left {
  left: 0;
}

.btm-popup-stack--center {
  left: 50%;
  bottom: 0;
}

.btm-popup-inner--article{
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  min-width: 0;
  max-width: none;
  width: auto;
}

.btm-popup-stack--center .btm-popup.open,
.btm-popup-stack--center .btm-popup-inner--scenic,
.btm-popup-stack--center .btm-popup-inner--article,
.btm-popup-stack--center .btm-popup-inner--trip {
  width: unset;
  overflow: hidden;
}

.btm-popup-inner--default {
  width: 412px;
  overflow: hidden;
}


.btm-popup {
  position: relative;
  display: inline-block;
  vertical-align: top;
  pointer-events: auto;
  opacity: 0;
  left: 0;
  transform: translateY(-100%);
  transition:
    left 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    width 220ms ease,
    height 220ms ease;
  will-change: transform, opacity;
}


.btm-popup.open {
  opacity: 1;
  left: 30px;
}

.open.btm-popup--csr {
  width: 330px;
}

.btm-popup-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  max-width: calc(100vw - 140px);
  box-sizing: border-box;
}
.btm-popup-inner > * {
  margin-left: 14px;
}
.btm-popup-inner > *:first-child {
  margin-left: 0;
}
@supports (gap: 14px) {
  .btm-popup-inner {
    gap: 14px;
  }
  .btm-popup-inner > * {
    margin-left: 0;
  }
}

.btm-popup-inner.clickable {
  cursor: pointer;
}

.btm-popup-inner--csr {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  min-width: 0;
  max-width: none;
}



.btm-popup-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-bottom: -8px;
}
.btm-popup-name > * {
  margin-right: 8px;
  margin-bottom: 8px;
}
@supports (gap: 8px) {
  .btm-popup-name {
    gap: 8px;
    margin-right: 0;
    margin-bottom: 0;
  }
  .btm-popup-name > * {
    margin-right: 0;
    margin-bottom: 0;
  }
}


.btm-popup-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(22, 130, 71, 0.12);
  color: #168247;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}


.btm-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: #374151;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.btm-popup-close:hover {
  transform: scale(1.05);
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.btm-popup-close:focus-visible {
  outline: 2px solid rgba(22, 130, 71, 0.3);
  outline-offset: 2px;
}


.csr-card {
  max-width: calc(100vw - 32px);
}

.btm-popup-stack--mobile .btm-popup {
  --btm-popup-y-offset: 0;
  max-width: calc(100vw - 32px);
}

.btm-popup-stack--mobile .btm-popup-inner {
  min-width: 0;
  max-width: calc(100vw - 32px);
}

.btm-popup-stack--center .open.btm-popup{
  width: auto;
  left: 10px;
  bottom: 10px;
}

.df-template-popup {
  width: 100%;
  box-sizing: border-box;
}
.df-template-popup .btm-popup-close{
  right: 5px;
  top: 5px;
}

.df-template-card {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.df-template-cover-wrap {
  position: relative;
  padding: 0;
}

.df-template-cover {
  position: relative;
  width: 174px;
  height: 130px;
  overflow: hidden;
}

.df-template-body {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 0 8px;
  overflow: hidden;
  box-sizing: border-box;
  background: radial-gradient(circle at 100% 0%, rgba(34, 164, 93, 0.08) 0%, transparent 50%),
  radial-gradient(circle at 0% 100%, rgba(34, 164, 93, 0.12) 0%, transparent 50%),
  repeating-linear-gradient(45deg,
    rgba(34, 164, 93, 0.02) 0px,
    rgba(34, 164, 93, 0.02) 2px,
    transparent 2px,
    transparent 8px);
}

.df-template-title {
  min-width: 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 12px;
}

.df-template-title-text {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 2px solid var(--color-brand);
  position: relative;
}

.df-template-title-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 1px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-brand) 82%, #000);
}

.df-template-summary {
  margin-top: 6px;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
  white-space: break-spaces;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.df-template-btn {
  width: 100%;
  margin-top: auto;
  position: relative;
  z-index: 1;
  text-align: right;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 32%, rgba(255, 255, 255, 1) 100%);
}

.df-template-btn-text {
  border: 0;
  padding: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: #212121;
  font-size: 14px;
  line-height: 1;
  text-decoration: underline;
  cursor: pointer;
}

.df-template-btn-text:hover {
  background: unset;
  border-color: unset;
  color: #212121;
}

.tr-template-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: row;
  height: 100%;
}

.tr-template-media {
  position: relative;
  width: 200px;
  height: 165px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f4f6f8;
}

.tr-template-body {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 12px 12px 14px;
  position: relative;
}

.tr-template-title {
  display: block;
  min-height: 20px;
  color: #111;
  font-size: var(--fz-md);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 210px;
}

.tr-template-sub-wrapper {
  min-height: 40px;
  margin-bottom: 2px;
}

.tr-template-sub-website {
  font-size: 12px;
  line-height: 1.5;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 36px;
}

.tr-template-sub-placeholder {
  height: 36px;
  background: transparent;
}

.tr-template-rating {
  display: flex;
  align-items: center;
  min-height: 16px;
  margin: 2px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333;
  font-size: 12px;
  line-height: 1;
}

.tr-template-star {
  position: relative;
  bottom: 1.5px;
  color: #f59e0b;
  font-size: 13px;
  line-height: 1;
}

.tr-template-score {
  color: #333;
  font-weight: 700;
}

.tr-template-rating-muted {
  color: #666;
}

.tr-template-rating-dot {
  color: #666;
}

.tr-template-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin-top: auto;
}

.tr-template-price-text {
  display: inline-flex;
  align-items: baseline;
  color: #222;
  border-bottom: 1px solid var(--color-brand);
}

.tr-template-price-sym {
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.tr-template-price-val {
  color: #222;
  font-size: 16px;
  font-weight: 800;
}

.tr-template-price-from {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.tr-template-price-inquiry {
  color: #333;
  font-size: 14px;
  font-weight: var(--fw-medium);
}

.ar-template-card {
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  overflow: hidden;
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ar-template-cover-wrap {
  position: relative;
  background: linear-gradient(180deg, #edf2f7 0%, #dfe7ee 100%);
}

.ar-template-cover {
  position: relative;
  overflow: hidden;
  width: 300px;
  height: 169px;
}

.ar-template-body {
  padding: 10px 12px 12px;
}

.ar-template-meta {
  display: flex;
  align-items: flex-end;
  min-width: 0;
  margin-top: -23px;
  position: relative;
  z-index: 1;
}

.ar-template-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.ar-template-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-template-name {
  min-width: 0;
  color: #1f2937;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 6px;
}

.ar-template-summary {
  width: 276px;
  margin-top: 8px;
  color: #0f0f0f;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-template-card {
  position: relative;
  height: 180px;
  width: 320px;
  box-sizing: border-box;
  overflow: visible;
}

.sc-template-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.sc-template-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #f4f6f8;
}

.sc-template-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.sc-template-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 8px 12px 10px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 32%, rgba(0, 0, 0, 1) 100%);
}

.sc-template-copy {
  min-width: 0;
  flex: 1;
}

.sc-template-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-template-summary {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-template-action {
  flex: 0 0 auto;
  padding-top: 16px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  white-space: nowrap;
  user-select: none;
}

.csr-card {
  width: 340px;
  max-width: calc(100vw - 32px);
  height: auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(22, 130, 71, 0.16);
}

@media (max-height: 800px) {
  .csr-card {
    width: unset;
  }
}

.csr-card.card-item {
  background: #fff;
}

.csr-card .csr-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 14px;
}

.csr-card .csr-main-flex {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.csr-card .csr-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.csr-card .csr-avatar-wrap {
  flex: 0 0 auto;
  width: 84px;
  height: 105px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #e9f4ef 0%, #f5faf7 100%);
  border: 1px solid rgba(22, 130, 71, 0.12);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.csr-card .csr-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.csr-card .csr-info {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
  margin-left: 8px;
}

.csr-card .csr-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 10px;
  min-width: 0;
}

.csr-card .csr-name-zh {
  color: #1f2937;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.csr-card .csr-name-en {
  color: #8b94a7;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.csr-card .csr-title {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(22, 130, 71, 0.2);
  background: rgba(22, 130, 71, 0.09);
  color: #2c9b57;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.csr-card .csr-subtitle {
  margin-top: 10px;
  color: #97a0b2;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.csr-card .csr-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  min-width: 0;
}

.csr-card .csr-contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px 9px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  border: 1px solid rgba(22, 130, 71, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.csr-card .csr-contact-item:hover {
  border-color: rgba(22, 130, 71, 0.26);
  box-shadow:
    0 8px 18px rgba(22, 130, 71, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.csr-card .csr-contact-left {
  min-width: 0;
  flex: 1;
}

.csr-card .csr-contact-label {
  margin-bottom: 3px;
  color: #2f9a58;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.csr-card .csr-contact-value {
  min-width: 0;
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.csr-card .csr-contact-right {
  flex: 0 0 auto;
}

.csr-card .csr-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a9a53 0%, #2cc85d 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(22, 130, 71, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.csr-card .csr-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(22, 130, 71, 0.28);
  filter: saturate(1.02);
}

.csr-card .csr-action-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 14px rgba(22, 130, 71, 0.18);
}

.csr-card .csr-action-btn:focus-visible {
  outline: 2px solid rgba(22, 130, 71, 0.28);
  outline-offset: 2px;
}

.csr-card .csr-action-btn--ghost {
  background: #fff;
  color: #178648;
  border: 1.5px solid rgba(22, 130, 71, 0.34);
  box-shadow: none;
}

.csr-card .csr-action-btn--ghost:hover {
  background: rgba(22, 130, 71, 0.05);
  box-shadow: 0 6px 14px rgba(22, 130, 71, 0.12);
}

.mobile-comment-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  height: 100vh;
  height: 100dvh;
}

.mobile-comment-drawer {
  width: 100%;
  background-color: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

.mobile-comment-drawer-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-comment-drawer-header > * {
  margin-bottom: 8px;
}
.mobile-comment-drawer-header > *:last-child {
  margin-bottom: 0;
}
@supports (gap: 8px) {
  .mobile-comment-drawer-header {
    gap: 8px;
  }
  .mobile-comment-drawer-header > * {
    margin-bottom: 0;
  }
}

.mobile-comment-drawer-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #1f2937;
}

.mobile-comment-drawer-handle {
  width: 40px;
  height: 4px;
  background-color: #d1d5db;
  border-radius: 2px;
  margin-top: 4px;
}

.mobile-comment-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* 滚动条样式 */
.mobile-comment-drawer-content::-webkit-scrollbar {
  width: 4px;
}

.mobile-comment-drawer-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.mobile-comment-drawer-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 2px;
}

.mobile-comment-drawer-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.btm-popup-mobile-shell {
  width: 100%;
  box-sizing: border-box;
}

.btm-popup-mobile-shell .btm-popup-inner {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.btm-popup-mobile-shell .ar-template-card {
  width: 100%;
  max-width: 100%;
}

.btm-popup-mobile-shell .csr-card {
  width: 100%;
  max-width: 100%;
}

.btm-popup-mobile-shell .sc-template-card {
  width: 100%;
  max-width: 100%;
}

.btm-popup-mobile-shell .df-template-card {
  width: 100%;
  max-width: 100%;
}

.btm-popup-mobile-shell .tr-template-card {
  width: 100%;
  max-width: 100%;
}

.btm-popup-mobile-shell .btm-popup-cover {
  width: 112px;
  height: 86px;
}

.btm-popup-mobile-shell .btm-popup-name-text {
  font-size: 16px;
}

.btm-popup-mobile-shell .btm-popup-title {
  font-size: 13px;
}

.btm-popup-mobile-drawer .mobile-comment-drawer-content{
  padding: 0;
}
.btm-popup-mobile-drawer .csr-card {
  border-radius: 0;
}
.btm-popup-mobile-drawer .btm-popup-inner--scenic {
  height: auto;
}
.btm-popup-mobile-drawer .btm-popup-close{
  display: none;
}

.btm-popup-mobile-drawer .btm-popup-inner{
  border: unset;
  border-radius: unset;
  box-shadow: unset;
}
.btm-popup-mobile-drawer .mobile-comment-drawer-content{
  background: white;
}


.btm-popup-mobile-shell .tr-template-card{
  display: block;
}

.btm-popup-mobile-shell .tr-template-media{
  height: unset;
  width: unset;
  background:unset;
  margin: 10px 12px;
}

.btm-popup-mobile-shell .tr-template-card{
  border-radius: unset;
}

.btm-popup-mobile-shell .tr-template-title{
  width: auto;
  margin-bottom: 4px;
}
.btm-popup-mobile-shell .tr-template-rating{
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 0 8px;
}

.btm-popup-mobile-shell .tr-template-title{
  font-size: 15px;
}

.btm-popup-mobile-shell .tr-template-sub-website{
  font-size: 13px;
  color: #666;
}


.mtr-template-container{
  width: 100%;
  margin:auto;
  background:#fff;
}

/* ======================
   顶部图库
====================== */

.mtr-template-gallery{
  padding:12px;
}
.mtr-template-gallery .three-mode{
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.8fr 1fr;
}

.mtr-template-gallery .three-mode.image-album .image:first-child {
  grid-column: 1 / 3;
}
.mtr-template-gallery .image-album,.mtr-template-gallery  .three-mode.image-album{
  height: 300px!important;
}

/* ======================
   产品信息
====================== */

.mtr-template-product{
  padding:16px;
  border-bottom:8px solid #f5f5f5;
}

.mtr-template-title{
  font-size:18px;
  font-weight:600;
  line-height:1.4;
  color:#2c2c2c;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mtr-template-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
}
.mtr-template-row .mtr-template-price{
  margin-top: 12px;
}
.btn-row{
  margin-top: -12px;
}

.tr-template-price-sym, .tr-template-price-val{
  color:#ff5a00;
  font-size:32px;
  font-weight: 500;
  margin-left: 4px;
}
.mtr-template-price{
  color:#ff5a00;
  font-size:32px;
  line-height: 1;
}
.mtr-template-price .tr-template-price-from{
  color:#ff5a00;
  font-size:16px;
  margin-left: 4px;
}

.mtr-template-score{
  font-size:14px;
  color:#888;
}

.mtr-template-highlights{
  margin-top:8px;
  color:#666;
  font-size:14px;
  line-height:1.6;
  padding: 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mtr-template-highlights span{
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--color-brand);
  background: #f4fff7;
  margin-right: 4px;
}


/* ======================
   行程
====================== */

.mtr-template-itinerary{
  background: #f5f5f5;
}


.fullscreen-map{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: white;
  z-index: 3000;
}

.map-close-btn {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.map-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}


.tr-line-detail {
  background: #f5f5f5;
}

.tr-line-items {
  font-size: 12px;
  border-left: 1px dashed #ccc;
  padding: 0 15px 20px;
  position: relative;
  word-break: break-all;
}

.tr-line-items:last-child {
  padding-bottom: 0;
}

.tr-line-address .tr-line-address-text {
  line-height: 22px;
}

.tr-line-address .tr-line-arrow {
  margin: 0 8px;
}

.tr-line-address .tr-line-from i,
.tr-line-address .tr-line-to i {
  display: none;
  margin-right: 4px;
}

.tr-line-address .tr-line-from.tr-line-has-gps,
.tr-line-address .tr-line-to.tr-line-has-gps {
  cursor: pointer;
}

.tr-line-address .tr-line-from.tr-line-has-gps i,
.tr-line-address .tr-line-to.tr-line-has-gps i {
  display: inline-block;
}

.tr-line-dining {
  margin-top: 12px;
}

.tr-line-stay {
  margin: 12px 0;
}

.tr-line-item-icon {
  background-color: rgba(26, 97, 4, 0.8);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  height: 20px;
  left: -10px;
  line-height: 20px;
  position: absolute;
  text-align: center;
  width: 20px;
}

.gta-icon.tr-line-item-icon {
  background: #333;
}

.tr-line-dining-text > span {
  margin-right: 8px;
}

.tr-line-detail .image-album,.tr-line-detail .three-mode.image-album {
  height: 40vw !important;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.tr-line-detail .three-mode.image-album .image:first-child {
  grid-row: 1 / 3;
}

.gta-icon-eat.tr-line-item-icon{
  font-size: 18px;
}
.gta-icon-hotel.tr-line-item-icon{
  font-size: 18px;
}

.tr-line-detail .day{
  position:relative;
  padding-left:28px;
  padding-bottom:32px;
}

.tr-line-detail .day:last-child{
  padding-bottom:0;
}

.tr-line-detail .day-dot{
  position:absolute;
  left:0;
  top:4px;

  width:16px;
  height:16px;

  border-radius:50%;
  background:#22c55e;
  z-index: 1;
}
.tr-line-detail .day-dot-line{
  position:absolute;
  left:7px;
  top:5px;
  height: 100%;
  border-left: 1px dashed lightslategray;
}

.tr-line-detail .day-header{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content: space-between;
}

.tr-line-detail .day-title{
  font-size:18px;
  font-weight:700;
  color:#1f2937;
}

.tr-line-detail .day-city{
  color:black;
  font-size:14px;
}

.tr-line-detail .day-route{
  margin-top:8px;

  color:#555;
  font-size:15px;
  line-height:1.6;
}

/* ======================
   Day图片
====================== */

.tr-line-detail .day-gallery{

  margin-top:12px;

  display:grid;
  grid-template-columns:2fr 1fr;
  gap:4px;

  height:140px;
}

.tr-line-detail .day-main{
  overflow:hidden;
  border-radius:10px;
}

.tr-line-detail .day-main img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tr-line-detail .day-side{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.tr-line-detail .day-side img{
  width:100%;
  flex:1;
  object-fit:cover;
  border-radius:10px;
}

/* ======================
   酒店信息
====================== */

.tr-line-detail .day-footer{

  margin-top:10px;

  display:flex;
  justify-content:space-between;
  align-items:center;

  font-size:13px;
  color:#999;
}

.tr-line-detail .hotel{
  color:black;
}

.tr-line-detail .meal{
  color:black;
}
.tr-line-detail .header-row{
  margin-top: 12px;
}
.tr-line-detail .header-row>p{
  margin-left: -14px;
  display: inline-block;
}
.tr-line-detail .header-row .item-icon{
  position: relative;
  left: -27px;
}
.tr-line-detail .image-album{
  margin-top: 12px;
}
.tr-line-detail .row-icon{
  margin-right: 8px;
  font-size: 22px;
  vertical-align: middle;
}

.tr-line-detail .row-icon .gta-icon-checkbox-checked{
  color: var(--color-brand);
}

.tr-line-detail .item-icon{
  color: #7d7575;
}

.tr-line-detail .tr-line-row{
  background: white;
  margin-bottom: 8px;
  padding: 18px 16px;
}

.arm-template-card {
  background: #fff;
}

.arm-template-main {
  overflow: hidden;
  word-break: break-all;
  margin: 8px 16px;
  height: 540px;
  position: relative;
}
.arm-template-card::after{
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  height: 50px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255,255,255, 1) 39%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
}

.arm-template-header {
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border, #e5e6eb);
  position: relative;
}

.arm-template-title {
  margin: 0;
  color: var(--color-text-strong);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.arm-template-header-2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 8px;
}

.arm-template-author {
  display: flex;
  margin-bottom: unset;
  font-style: unset;
  line-height: unset;
}

.arm-template-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 4px;
  flex-shrink: 0;
}

.arm-template-author-nickname {
  font-weight: 600;
  color: #1f2329;
  line-height: 1.8;
  max-width: 360px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--fz-sm);
}

.arm-template-author-time {
  font-size: 12px;
  color: #212121;
  line-height: 1.8;
}

.arm-template-metabar-share {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
  margin-top: auto;
  --ar-icon-size: 32px;
}

.arm-template-metabar-share-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-surface, #fff);
}

.arm-template-metabar-share-btn:hover {
  background: var(--color-surface-2, #f7f8fa);
}

.arm-template-metabar-share-btn:active {
  transform: scale(.97);
}

.arm-template-icon {
  --icon-url: none;
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  line-height: 1;
  vertical-align: -0.125em;
  color: inherit;
  background-color: currentColor;
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: color .2s ease, transform .2s ease, opacity .2s ease;
}

.arm-template-icon[data-size="custom"] {
  width: var(--ar-icon-size);
  height: var(--ar-icon-size);
}

.arm-template-icon--color {
  color: initial;
  background-color: transparent;
  -webkit-mask-image: none;
  mask-image: none;
  background-image: var(--icon-url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.arm-template-content {
  margin-top: 8px;
  font-size: 1em;
  line-height: 1.8;
}

.arm-template-summary {
  padding-block: 14px;
  padding-inline: 8px 24px;
  font-size: var(--fz-sm);
  line-height: 1.65;
  color: #3b4048;
  background: #fcf6f2;
  border: 1px solid rgba(31, 35, 41, .08);
  border-radius: 8px;
  text-align: justify;
  text-justify: inter-ideograph;
  white-space: pre-line;
}

.arm-template-content-html {
  margin-top: 22px;
  width: 100%;
}

.arm-template-content-html p {
  min-height: 16px;
}

.arm-template-content-html .rich-trip--card {
  margin: 10px 0;
  padding: 16px;
  display: flex;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  align-items: stretch;
  position: relative;
}

@supports (gap: 16px) {
  .arm-template-content-html .rich-trip--card {
    gap: 16px;
  }
  .arm-template-content-html .rich-trip--card > * {
    margin-left: 0;
  }
}

.arm-template-content-html .rich-trip--overlay-link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  text-decoration: none;
  border-radius: 14px;
}

.arm-template-content-html .rich-trip--thumb,
.arm-template-content-html .rich-trip--body {
  position: relative;
  z-index: 2;
}

.arm-template-content-html .rich-trip--thumb {
  width: 164px;
  height: 164px;
  overflow: hidden;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 10px;
}

.arm-template-content-html .rich-trip--thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.arm-template-content-html .rich-trip--body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

@supports (gap: 10px) {
  .arm-template-content-html .rich-trip--body {
    gap: 10px;
  }
  .arm-template-content-html .rich-trip--body > * {
    margin-bottom: 0;
  }
}

.arm-template-content-html .rich-trip--title {
  margin: 0;
  font-size: 1em;
  line-height: 1.3;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arm-template-content-html .rich-trip--footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@supports (gap: 12px) {
  .arm-template-content-html .rich-trip--footer {
    gap: 12px;
  }
  .arm-template-content-html .rich-trip--footer > * {
    margin-left: 0;
  }
}

.arm-template-content-html .rich-trip--price {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  color: #111827;
}

.arm-template-content-html .rich-trip--actions {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 3;
}

.arm-template-content-html .rich-video--card {
  margin: 10px 0;
  padding: 16px;
  display: flex;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  align-items: stretch;
  position: relative;
  text-decoration: none;
  color: inherit;
}

@supports (gap: 16px) {
  .arm-template-content-html .rich-video--card {
    gap: 16px;
  }
  .arm-template-content-html .rich-video--card > * {
    margin-left: 0;
  }
}

.arm-template-content-html .rich-video--card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.arm-template-content-html .rich-video--thumb,
.arm-template-content-html .rich-video--body {
  position: relative;
  z-index: 2;
}

.arm-template-content-html .rich-video--thumb {
  width: 164px;
  height: 164px;
  overflow: hidden;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #f3f4f6;
}

.arm-template-content-html .rich-video--thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.arm-template-content-html .rich-video--play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.arm-template-content-html .rich-video--play-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  position: relative;
}

.arm-template-content-html .rich-video--play-icon::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 0.95;
}

.arm-template-content-html .rich-video--body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.arm-template-content-html .rich-video--body {
  gap: 10px;
}

.arm-template-content-html .rich-video--title {
  margin: 0;
  font-size: 1em;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arm-template-content-html .rich-video--summary {
  margin: 0;
  font-size: 0.75em;
  line-height: 1.5;
  color: #6b7280;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.arm-template-content-html .rich-video--tags {
  display: flex;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-bottom: -8px;
}

.arm-template-content-html .rich-video--tags {
  gap: 8px;
  margin-right: 0;
  margin-bottom: 0;
}

.arm-template-content-html .rich-video--tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 5px;
  border-radius: 5px;
  font-size: 0.75em;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  user-select: none;
}

.arm-template-content-html .rich-video--footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.arm-template-content-html .rich-video--actions {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 3;
}

.arm-template-content-html .rich-image--figure {
  position: relative;
  z-index: 2;
}

.arm-template-content-html .rich-image--figure img {
  width: 100%;
}

.arm-template-content-html .rich-image--caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  padding-top: calc(8px + var(--cap-grad));
  margin: 0;
  color: #fff;
  font-size: 0.875em;
  line-height: 1.4;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.arm-template-content-html .rich-image--caption::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--cap-grad)) 0 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .28), rgba(0, 0, 0, .12) 40%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}

.arm-template-btn{
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 11;
  text-align: center;
}
.arm-template-btn .gta-btn--text{
  color: black;
  font-size: 16px;
  padding: 0;
  line-height: unset;
  border-radius: unset;
  border-bottom: 1px solid black;
  height: auto;
}
.arm-template-btn .gta-btn--text:hover{
  color: black;
  background: black;
  border: unset;
}

.mobile-sc-template-card{
  background: #f5f6f8;
}
.mobile-sc-template-card .mobile-sc-template-title{
  font-size: 32px;
  font-weight: 800;
  color: white;
  padding-left: 10px;
}
.mobile-sc-template-card .mobile-sc-template-summary{
  font-size: 15px;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.8;
}
.mobile-sc-template-card .mobile-sc-template-cover{
  height: 38vw;
  position: relative;
}
.mobile-sc-template-card .mobile-sc-template-cover img {
  object-fit: cover;
}
.img-template-title{
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}
.mobile-sc-template-card .template-card-business{
  margin-top: 12px;
}
.mobile-sc-template-card .template-business-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-sc-template-card .template-business-title .open .gta-icon-chev{
  transform: rotate(-180deg);
}
.mobile-sc-template-card .title-text{
  font-size: 18px;
  font-weight: 600;
}
.mobile-sc-template-card .gta-icon-chev{
  font-size: 30px;
}

.mobile-sc-template-card .template-card-row{
  margin: auto;
  width: calc(100% - 10px);
  margin-bottom: 8px;
  overflow: hidden;
  position: relative;
  padding: 24px;
  background: white;
}

.mobile-sc-template-card .w-100{
  width: 100%;
  padding: 12px 8px;
}

.mobile-sc-template-card .template-business-status{
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0f7a3a;
  margin-bottom: 12px;
}
.mobile-sc-template-card .template-business-hours--hours{
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  line-height: 2;
}
.mobile-sc-template-card .content-header--summary-list-website{
  line-height: 30px;
  padding: 0;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.mobile-sc-template-card .content-header--summary-title{
  margin-top: 6px;
  margin-bottom: 0;
  left: unset;
}
.mobile-sc-template-card .content-header--summary-title strong{
  font-size: 16px;
  font-weight: 800;
  margin-top: 8px;
}

.mobile-sc-template-card .content-header--summary-list-website::after{
  content: "...查看更多";
  position: absolute;
  width: 75px;
  height: 30px;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 1;
  color: var(--color-brand);
  text-align: right;
}

.btm-popup-mobile-shell .df-template-cover{
  width: auto;
  height: auto;
}
.btm-popup-mobile-shell .df-template-card{
  display: block;
  border-radius: unset;
}
.btm-popup-mobile-shell .df-template-body{
  background: unset;
  padding: 0;
}
.btm-popup-mobile-shell .df-template-btn{
  text-align: center;
}

.btm-popup-mobile-shell .df-template-name{
  font-size: 18px;
  color: #111;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 12px;
  padding: 0 8px;
}

.btm-popup-mobile-shell .df-template-name-text {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 2px solid var(--color-brand);
  position: relative;
}

.btm-popup-mobile-shell .df-template-name-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 1px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-brand) 82%, #000);
}

.btm-popup-mobile-shell .df-template-title{
  font-weight: 300;
  padding: 0 8px;
}

.btm-popup-mobile-shell .df-template-summary{
  padding: 0 8px;
}

.btm-popup-mobile-shell .df-template-btn::after {
  content: "";
  position: absolute;
  left: -8px;
  top: -35px;
  width: calc(100% + 16px);
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 60%,
    rgba(255, 255, 255, 0.75) 100%);
  height: 35px;
}


.btm-popup-mobile-shell .prt-card-track-website {
  width: 100%;
  min-height: 130px;
  --card-track-item-h: auto;
}

.btm-popup-mobile-shell .prt-city-track{
  padding-bottom: 40px;
}
.btm-popup-mobile-shell .prt-card-grid-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.btm-popup-mobile-shell .prt-card-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: var(--card-track-item-h);
}

.btm-popup-mobile-shell .prt-card-wrap {
  position: relative;
  max-width: 48%;
  margin-bottom: 12px;
}

.btm-popup-mobile-shell .prt-trip-card {
  border-radius: 14px;
  height: 100%;
  border: 1px solid #eef2f7;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.btm-popup-mobile-shell .prt-trip-media {
  position: relative;
  overflow: hidden;
  background: #f4f6f8;
  width: 100%;
  flex-shrink: 0;
}
.btm-popup-mobile-shell .prt-trip-media img{
  height: 37vw;
}

.btm-popup-mobile-shell .prt-trip-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.btm-popup-mobile-shell .prt-trip-title {
  font-size: var(--fz-md);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  min-height: 20px;
  margin-bottom: 8px;
}

.btm-popup-mobile-shell .prt-trip-sub-wrapper {
  min-height: 40px;
  margin-bottom: 2px;
}

.btm-popup-mobile-shell .prt-trip-sub-website {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 36px;
}

.btm-popup-mobile-shell .prt-trip-rating {
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-height: 16px;
  margin: 2px 0;
}

.btm-popup-mobile-shell .prt-trip-rating>span{
  margin-right: 4px;
}

.btm-popup-mobile-shell .prt-trip-star {
  color: #f59e0b;
  font-size: 13px;
  line-height: 1;
  position: relative;
  bottom: 1.5px;
}

.btm-popup-mobile-shell .prt-trip-score {
  font-weight: 700;
  color: #333;
}

.btm-popup-mobile-shell .prt-trip-rating-muted {
  color: #666;
}

.btm-popup-mobile-shell .prt-trip-rating-dot {
  color: #666;
}

.btm-popup-mobile-shell .prt-trip-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin-top: auto;
}

.btm-popup-mobile-shell .prt-trip-price-text {
  display: inline-flex;
  align-items: baseline;
  color: #222;
}

.btm-popup-mobile-shell .prt-trip-price-text span{
  margin-right: 4px;
}

.btm-popup-mobile-shell .prt-trip-price-sym {
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.btm-popup-mobile-shell .prt-trip-price-val {
  font-size: 16px;
  font-weight: 800;
  color: #222;
}

.btm-popup-mobile-shell .prt-trip-price-from {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}

.btm-popup-mobile-shell .prt-trip-price-inquiry {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: #333;
}

.btm-popup-mobile-shell .prt-website-favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}

.btm-popup-mobile-shell .prt-website-favorite i {
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}

.btm-popup-mobile-shell .prt-city-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 12px;
  min-height: 52px;
}

.btm-popup-mobile-shell .prt-city-section-title {
  display: inline-flex;
  align-items: baseline;
  color: var(--color-fg);
}

.btm-popup-mobile-shell .prt-city-section-title-main {
  font-size: var(--fz-lg);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.btm-popup-mobile-shell .prt-city-section-title-sub {
  font-size: var(--fz-lg);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  color: var(--color-fg);
}

.btm-popup-mobile-shell .prt-city-section-full {
  grid-column: 1 / -1;
  margin-top: var(--sp-6);
  min-height: 130px;
  padding: 0 8px;
  border-top: 8px solid #f5f6f8;
}


.btm-popup-mobile-shell .prt-mobile-card-track {
  overflow: visible;
  width: 100%;
}

.btm-popup-mobile-shell .prt-infinite-scroll-component {
  overflow: hidden !important;
}


.city-template-card {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.btm-popup-mobile-shell .city-template-cover{
  width: auto;
  height: auto;
}
.btm-popup-mobile-shell .city-template-card{
  display: block;
  border-radius: unset;
}
.btm-popup-mobile-shell .city-template-body{
  background: #f5f6f8;
}
.btm-popup-mobile-shell .city-template-btn{
  text-align: center;
}

.btm-popup-mobile-shell .city-template-name{
  font-size: 18px;
  color: #111;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 12px 16px 0;
  background: white;
}

.btm-popup-mobile-shell .city-template-name-text {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 2px solid var(--color-brand);
  position: relative;
}

.btm-popup-mobile-shell .city-template-name-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 1px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-brand) 82%, #000);
}

.btm-popup-mobile-shell .city-template-title{
  background: white;
  min-width: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 12px 16px 0;
  font-weight: 300;
}

.btm-popup-mobile-shell .city-default-card {
  width: calc(100% - 10px);
  margin: auto;
  padding: 26px 26px 22px;
  margin-top: 8px;
  background: white;
}
.btm-popup-mobile-shell .default-card-content {
  width: calc(100% - 10px);
  height: 400px;
  overflow: hidden;
  position: relative;
}
.btm-popup-mobile-shell .default-card-content:after{
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  height: 100px;
}
.btm-popup-mobile-shell .city-template-btn{
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  z-index: 2;
}

.btm-popup-mobile-shell .city-default-card .city-default-head.city-default-head--full {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 0 0 18px;
}

.btm-popup-mobile-shell .city-default-card .city-default-title {
  font-size: 20px;
  font-weight: 500;
  color: #111;
  margin: 0;
}

.btm-popup-mobile-shell .city-default-card .city-default-unit {
  display: inline-flex;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.btm-popup-mobile-shell .city-default-card .city-default-unit-btn {
  border: 0;
  background: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.btm-popup-mobile-shell .city-default-card .city-default-unit-btn.is-active {
  background: #111;
  color: #fff;
}

.btm-popup-mobile-shell .city-default-card .city-default-weather {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.btm-popup-mobile-shell .city-default-card .city-default-weather-item {
  padding-top: 6px;
}

.btm-popup-mobile-shell .city-default-card .city-default-weather-month {
  font-size: 13px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.78);
  margin-bottom: 8px;
}

.btm-popup-mobile-shell .city-default-card .city-default-weather-temp {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.btm-popup-mobile-shell .city-default-card .city-default-weather-high {
  font-size: 28px;
  font-weight: 500;
  color: #111;
}

.btm-popup-mobile-shell .city-default-card .city-default-weather-low {
  font-size: 22px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.4);
}

.btm-popup-mobile-shell .city-default-card .city-default-divider {
  margin: 18px 0 14px;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.btm-popup-mobile-shell .city-default-card .city-default-grid {
  display: grid;
  gap: 18px 22px;
  min-height: 140px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.btm-popup-mobile-shell .city-default-card .city-default-grid-item {
  min-width: 0;
}

.btm-popup-mobile-shell .city-default-card .city-default-grid-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.55);
}

.btm-popup-mobile-shell .city-default-card .city-default-grid-value {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btm-popup-mobile-shell .city-default-card .city-default-grid-value.city-default-grid-value--multiline {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.btm-popup-mobile-shell .city-default-card .city-default-bestTimes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btm-popup-mobile-shell .city-default-card .city-default-bestTime-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btm-popup-mobile-shell .city-default-card .city-default-bestTime-month {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  line-height: 1.2;
}

.btm-popup-mobile-shell .city-default-card .city-default-bestTime-season {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
}


.city-template-popup {
  width: 100%;
  box-sizing: border-box;
}
.city-template-popup .btm-popup-close{
  right: 5px;
  top: 5px;
}


.city-template-cover-wrap {
  position: relative;
  padding: 0;
}

.city-template-cover {
  position: relative;
  width: 174px;
  height: 130px;
  overflow: hidden;
}

.city-template-body {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  background: radial-gradient(circle at 100% 0%, rgba(34, 164, 93, 0.08) 0%, transparent 50%),
  radial-gradient(circle at 0% 100%, rgba(34, 164, 93, 0.12) 0%, transparent 50%),
  repeating-linear-gradient(45deg,
    rgba(34, 164, 93, 0.02) 0px,
    rgba(34, 164, 93, 0.02) 2px,
    transparent 2px,
    transparent 8px);
}

.city-template-summary {
  padding: 6px 16px 12px;
  background: white;
}
.city-template-summary p{
  overflow: hidden;
  line-height: 2;
  white-space: break-spaces;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #666;
  font-size: 13px;
}

.city-template-btn {
  width: 100%;
  margin-top: auto;
  position: relative;
  z-index: 1;
  text-align: right;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 32%, rgba(255, 255, 255, 1) 100%);
}

.city-template-btn-text {
  font-size: 16px;
  background: unset;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  color: var(--color-brand);
  line-height: 1;
  text-decoration: underline;
  cursor: pointer;
}

.city-template-btn-text:hover {
  background: unset;
  border-color: unset;
  color: #212121;
}


/*# sourceMappingURL=website-component-video-portrait.4324b94c.chunk.css.map*/