body {
    background: #111;
    color: white;
    font-family: sans-serif;
    margin: 0;
    padding: 1em;
  }
  
  input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    box-sizing: border-box;
  }
  
  #videoList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
  
  .video-card {
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
  }
  
  .video-card:hover {
    transform: scale(1.03);
  }
  
  .video-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
  }
  
  .video-thumb.ratio-16-9::before {
    content: '';
    display: block;
    padding-top: 56.25%;
  }
  
  .video-thumb.ratio-4-3::before {
    content: '';
    display: block;
    padding-top: 75%;
  }
  
  .video-thumb.ratio-21-9::before {
    content: '';
    display: block;
    padding-top: 42.85%;
  }
  
  .video-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .video-title {
    font-size: 14px;
    font-weight: bold;
    padding: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  #loading {
    text-align: center;
    color: gray;
    padding: 1em;
  }

  .icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
    /* padding: 0.6em; */
    height: 42px;         /* 与输入框高度保持一致 */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  #tabBar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #1c1c1c; /* 改为深色背景 */
    display: flex;
    border-top: 1px solid #333; /* 深色边框 */
    justify-content: space-around;
    align-items: center;
    font-size: 12px;
    z-index: 1000;
  }
  
  .tab-item {
    color: #888; /* 非选中颜色更暗 */
    transition: color 0.3s;
  }
  
  .tab-item.active {
    color: #4dabf7; /* 高亮为柔和蓝色 */
  }
  
  .material-icons {
    font-size: 24px;
  }

  body {
    font-family: "Helvetica Neue", sans-serif;
  }
  
  input, button {
    font-size: 14px;
    border-radius: 6px;
    border: none;
    padding: 0.5em;
    box-sizing: border-box;
  }
  
  button {
    background: #2196f3;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  button:hover {
    background: #1976d2;
  }
  
  input {
    width: 100%;
    margin-bottom: 1em;
  }
  
  .info-list {
    list-style: none;
    padding: 0;
  }
  
  .info-list li {
    margin: 0.5em 0;
  }
  
  .button-group {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
    margin-top: 1.5em;
  }

  .input-line {
    width: 100%;
    padding: 10px 6px;
    font-size: 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #666;
    outline: none;
    color: white;
    transition: border-color 0.3s;
    margin-bottom: 1.5em;
  }
  
  .input-line:focus {
    border-bottom: 1px solid #4fc3f7;
  }