@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@700&display=swap');
  :root{
    --bg: #0b0b0d;
    --panel: #131316;
    --line: #232327;
    --purple: #9147ff;
    --purple-dim: #6a3bc9;
    --purple-rgb: 145,71,255;
    --text: #eef0f2;
    --sub: #8a8a92;
    --inset: #0d0d10;
    --mono: 'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;
    --sans: 'Inter', -apple-system, sans-serif;
  }
  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  body{
    background:
      radial-gradient(ellipse 1400px 900px at 50% -10%, rgba(var(--purple-rgb), 0.26), transparent 65%),
      var(--bg);
    background-attachment: fixed;
    color:var(--text);
    font-family:var(--sans);
    min-height:100vh;
  }
  .navbar{
    width:100%;
    border-bottom:1px solid var(--line);
  }
  .navbar-inner{
    max-width:760px;
    margin:0 auto;
    padding:16px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
  }
  .nav-brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:inherit;
    cursor:pointer;
  }
  .nav-logo{
    width:35px;
    height:35px;
    flex-shrink:0;
    display:block;
  }
  .nav-links{
    display:flex;
    align-items:center;
    gap:22px;
  }
  .nav-link{
    color:var(--sub);
    text-decoration:none;
    font-size:13px;
    font-weight:600;
  }
  .nav-link:hover{color:var(--text);}
  .hamburger-btn{
    display:none;
    background:transparent;
    border:1px solid var(--line);
    color:var(--text);
    width:36px;
    height:36px;
    border-radius:8px;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
  }
  @media (max-width: 720px){
    .nav-logo{
      width:40px;
      height:40px;
    }
    .hamburger-btn{
      display:flex;
    }
    .nav-links{
      display:none;
      position:absolute;
      top:100%;
      left:0;
      right:0;
      flex-direction:column;
      align-items:stretch;
      gap:0;
      background:var(--panel);
      border-bottom:1px solid var(--line);
      box-shadow:0 12px 24px rgba(0,0,0,0.2);
      z-index:50;
    }
    .nav-links.open{
      display:flex;
    }
    .nav-links .nav-link{
      padding:14px 24px;
      border-bottom:1px solid var(--line);
      text-align:left;
    }
    .nav-links .theme-toggle{
      margin:14px 24px;
      align-self:flex-start;
    }
    .navbar-inner{
      position:relative;
    }
  }
  .page{
    display:flex;
    justify-content:center;
    padding:48px 24px 64px;
  }
  .wrap{width:100%;max-width:720px;}
  .page-desc{
    text-align:center;
    color:var(--sub);
    font-size:15px;
    line-height:1.6;
    max-width:520px;
    margin:0 auto 32px;
  }
  .header{
    text-align:center;
    margin-bottom:32px;
    position:relative;
  }
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
  }
  .logo{
    width:84px;
    height:auto;
    flex-shrink:0;
  }
  .header-text{
    text-align:left;
  }
  .eyebrow{
    font-family:var(--mono);
    font-size:12px;
    letter-spacing:0.14em;
    color:var(--purple);
    text-transform:uppercase;
    margin-bottom:10px;
    display:inline-flex;
    align-items:center;
    gap:8px;
  }
  h1{
    font-size:40px;
    line-height:1.1;
    margin:0 0 12px;
    font-weight:700;
    letter-spacing:-0.02em;
    text-align:center;
  }
  h1 span{color:var(--purple);}
  .desc{
    color:var(--sub);
    font-size:15px;
    margin:0;
    line-height:1.6;
    max-width:420px;
  }
  @media (max-width: 520px){
    .header-inner{
      flex-direction:column;
      text-align:center;
    }
    .header-text{
      text-align:center;
    }
    .desc{
      margin:0 auto;
    }
    .logo{
      width:64px;
    }
  }
  .panel{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:18px;
    padding:32px;
  }
  .field-row{
    display:flex;
    gap:10px;
  }
  input[type=text]{
    flex:1;
    background:var(--inset);
    border:1px solid var(--line);
    color:var(--text);
    font-family:var(--mono);
    font-size:13px;
    padding:14px 16px;
    border-radius:10px;
    outline:none;
    transition:border-color .15s ease;
    min-width:0;
  }
  input[type=text]::placeholder{color:#55555c;}
  input[type=text]:focus{border-color:var(--purple);}
  button{
    background:var(--purple);
    color:#fff;
    border:none;
    font-family:var(--sans);
    font-weight:600;
    font-size:13px;
    padding:0 20px;
    border-radius:9px;
    cursor:pointer;
    transition:background .15s ease, transform .1s ease;
    white-space:nowrap;
  }
  button:hover{background:var(--purple-dim);}
  button:active{transform:scale(0.97);}
  button:disabled{background:#3a3a3f;cursor:not-allowed;}
  button:disabled:hover{background:#3a3a3f;}

  .status{
    margin-top:14px;
    font-family:var(--mono);
    font-size:12px;
    color:var(--sub);
    min-height:16px;
    display:flex;
    align-items:center;
    gap:8px;
  }
  .status.err{color:#ff6b6b;}
  .status.ok{color:#4ade80;}
  .spinner{
    width:11px;height:11px;
    border:2px solid #3a3a40;
    border-top-color:var(--purple);
    border-radius:50%;
    animation:spin .7s linear infinite;
    display:none;
  }
  .spinner.on{display:inline-block;}
  @keyframes spin{to{transform:rotate(360deg);}}

  .result{
    margin-top:20px;
    display:none;
  }
  .result.on{display:block;}
  .clip-meta{
    display:flex;
    gap:12px;
    align-items:center;
    padding-bottom:16px;
    margin-bottom:16px;
    border-bottom:1px solid var(--line);
  }
  .clip-actions{
    flex-shrink:0;
    display:flex;
    gap:8px;
    margin-left:auto;
  }
  .thumb-wrap{
    position:relative;
    flex-shrink:0;
  }
  .thumb{
    width:96px;height:54px;
    border-radius:6px;
    object-fit:cover;
    background:#000;
    flex-shrink:0;
    border:1px solid var(--line);
    display:block;
  }
  .thumb-actions{
    position:absolute;
    bottom:3px;
    right:3px;
    display:flex;
    gap:3px;
  }
  .thumb-actions button{
    width:17px;
    height:17px;
    background:rgba(0,0,0,0.65);
    border:none;
    border-radius:4px;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
  }
  .thumb-actions button:hover{
    background:var(--purple);
  }
  .inline-player-wrap{
    display:none;
    margin-bottom:16px;
  }
  .inline-player-wrap.on{
    display:block;
  }
  .inline-player-wrap video{
    width:100%;
    max-height:420px;
    border-radius:10px;
    background:#000;
    display:none;
  }
  .inline-player-wrap video.on{
    display:block;
  }
  .clip-title{
    font-size:14px;
    font-weight:600;
    line-height:1.3;
    margin:0 0 4px;
  }
  .clip-sub{
    font-family:var(--mono);
    font-size:11px;
    color:var(--sub);
  }
  .qualities{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  .qrow{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:var(--inset);
    border:1px solid var(--line);
    border-radius:9px;
    padding:11px 14px;
  }
  .qlabel{
    font-family:var(--mono);
    font-size:13px;
    display:flex;
    align-items:center;
    gap:10px;
  }
  .qlabel .fps{color:var(--sub);font-size:11px;}
  .qlabel .qsize{color:var(--sub);font-size:11px;font-family:var(--mono);}
  .qrow a, .qrow button.action{
    color:var(--purple);
    text-decoration:none;
    font-size:12px;
    font-weight:600;
    font-family:var(--sans);
    border:1px solid var(--purple-dim);
    padding:6px 12px;
    border-radius:6px;
    transition:all .15s ease;
    background:transparent;
    cursor:pointer;
  }
  .qrow .actions{
    display:flex;
    gap:6px;
  }
  .qrow a:hover, .qrow button.action:hover{
    background:var(--purple);
    color:#fff;
  }
  .qrow button.action.primary{
    background:var(--purple);
    color:#fff;
  }
  .qrow button.action.primary:hover{
    background:var(--purple-dim);
  }
  .qrow button.action:disabled{
    opacity:0.6;
    cursor:default;
  }
  .section-label{
    font-family:var(--mono);
    font-size:11px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--sub);
    margin:18px 0 8px;
  }
  .platform-badge{
    display:inline-block;
    font-family:var(--mono);
    font-size:10px;
    letter-spacing:0.05em;
    text-transform:uppercase;
    padding:3px 8px;
    border-radius:5px;
    border:1px solid var(--line);
    color:var(--sub);
    margin-left:8px;
  }
  .footnote{
    margin-top:18px;
    font-size:11px;
    color:#55555c;
    line-height:1.5;
  }

  .feature-cards{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
    margin-top:40px;
  }
  @media (max-width: 640px){
    .feature-cards{
      grid-template-columns:1fr;
    }
  }
  .feature-card{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:14px;
    padding:20px;
    transition:border-color .15s ease, transform .15s ease;
  }
  .feature-card:hover{
    border-color:var(--purple-dim);
    transform:translateY(-2px);
  }
  .feature-icon{
    width:38px;
    height:38px;
    border-radius:10px;
    background:rgba(var(--purple-rgb), 0.15);
    color:var(--purple);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:14px;
  }
  .feature-card h3{
    font-size:14px;
    font-weight:700;
    margin:0 0 6px;
  }
  .feature-card p{
    font-size:12px;
    color:var(--sub);
    line-height:1.5;
    margin:0;
  }
  .faq{
    margin-top:40px;
  }
  .faq h2{
    font-size:18px;
    margin:0 0 16px;
    font-weight:700;
    letter-spacing:-0.01em;
  }
  .site-footer{
    margin-top:56px;
    padding-top:28px;
    border-top:1px solid var(--line);
    text-align:center;
  }
  .footer-disclaimer{
    font-size:11px;
    color:var(--sub);
    line-height:1.6;
    max-width:560px;
    margin:0 auto 18px;
  }
  .footer-links{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:14px;
  }
  .footer-links a{
    color:var(--sub);
    text-decoration:none;
    font-size:12px;
    font-weight:600;
  }
  .footer-links a:hover{
    color:var(--purple);
  }
  .footer-copy{
    font-family:var(--mono);
    font-size:11px;
    color:#55555c;
    margin:0;
  }
  .faq-item{
    border-bottom:1px solid var(--line);
    padding:14px 0;
  }
  .faq-item:first-of-type{
    border-top:1px solid var(--line);
  }
  .faq-q{
    display:flex;
    align-items:center;
    justify-content:space-between;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    color:var(--text);
    gap:12px;
    transition:color .15s ease;
  }
  .faq-q:hover{
    color:var(--purple);
  }
  .faq-q .plus{
    color:var(--purple);
    font-family:var(--mono);
    font-size:16px;
    flex-shrink:0;
    transition:transform .15s ease;
  }
  .faq-item.open .faq-q .plus{
    transform:rotate(45deg);
  }
  .faq-a{
    max-height:0;
    overflow:hidden;
    transition:max-height .2s ease;
    color:var(--sub);
    font-size:13px;
    line-height:1.6;
  }
  .faq-item.open .faq-a{
    max-height:300px;
  }
  .faq-a p{
    margin:10px 0 0;
  }

  body[data-theme="light"]{
    --bg: #f5f4f2;
    --panel: #ffffff;
    --line: #e2e0dc;
    --text: #17171a;
    --sub: #6b6b72;
    --inset: #fbfbfa;
  }
  body[data-theme="light"]{
    background:
      radial-gradient(ellipse 1200px 750px at 50% -10%, rgba(var(--purple-rgb), 0.16), transparent 65%),
      var(--bg);
    background-attachment: fixed;
  }

  .theme-toggle{
    background:transparent;
    border:1px solid var(--line);
    color:var(--sub);
    width:30px;
    height:30px;
    padding:0;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    flex-shrink:0;
  }
  .theme-toggle:hover{
    background:var(--panel);
    color:var(--text);
  }
  .settings-wrap{
    position:relative;
  }
  .settings-panel{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    width:220px;
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:12px;
    padding:16px;
    box-shadow:0 12px 24px rgba(0,0,0,0.25);
    z-index:60;
  }
  .settings-panel.open{
    display:block;
  }
  .settings-label{
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:var(--sub);
    margin:0 0 10px;
  }
  .color-swatches{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:8px;
    margin-bottom:4px;
  }
  .color-swatch{
    width:32px;
    height:32px;
    border-radius:50%;
    border:2px solid transparent;
    cursor:pointer;
    padding:0;
  }
  .color-swatch:hover{
    transform:scale(1.1);
  }
  .color-swatch.active{
    border-color:var(--text);
  }
  .settings-divider{
    height:1px;
    background:var(--line);
    margin:14px 0;
  }
  .settings-toggle-label{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    color:var(--text);
    cursor:pointer;
    margin-bottom:14px;
  }
  .settings-clear-btn{
    width:100%;
  }
  @media (max-width: 720px){
    .settings-panel{
      right:auto;
      left:0;
    }
  }

  .tabs{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-bottom:24px;
  }
  @media (max-width: 520px){
    .tabs{
      justify-content:flex-start;
      overflow-x:auto;
      -webkit-overflow-scrolling:touch;
      flex-wrap:nowrap;
      padding-bottom:4px;
      margin-left:-24px;
      margin-right:-24px;
      padding-left:24px;
      padding-right:24px;
    }
    .tab{
      flex-shrink:0;
    }
  }
  .tab{
    background:transparent;
    border:1px solid var(--line);
    color:var(--sub);
    font-family:var(--sans);
    font-weight:600;
    font-size:13px;
    padding:9px 16px;
    border-radius:9px;
    cursor:pointer;
  }
  .tab.active{
    background:var(--purple);
    color:#fff;
    border-color:var(--purple);
  }
  .tab:hover:not(.active){
    color:#fff;
  }
  .tab-panel{
    display:none;
  }
  .tab-panel.active{
    display:block;
  }
  .history-note{
    background:var(--inset);
    border:1px solid var(--line);
    border-radius:9px;
    padding:12px 14px;
    font-size:12px;
    color:var(--sub);
    line-height:1.5;
    margin:0 0 24px;
  }
  .history-controls-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:28px;
    padding-bottom:20px;
    border-bottom:1px solid var(--line);
  }
  .history-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:12px;
  }
  .history-section-head h3{
    font-size:14px;
    font-weight:700;
    margin:0;
  }
  .history-empty{
    font-size:13px;
    color:var(--sub);
    margin:0;
  }
  .history-empty.hidden{
    display:none;
  }
  .search-history-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  .search-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:var(--inset);
    border:1px solid var(--line);
    color:var(--text);
    font-family:var(--sans);
    font-size:12px;
    font-weight:600;
    padding:8px 12px;
    border-radius:999px;
    cursor:pointer;
  }
  .search-chip:hover{
    background:var(--purple);
    border-color:var(--purple);
    color:#fff;
  }
  .search-chip:hover .chip-platform,
  .search-chip:hover .chip-type{
    color:#fff;
  }
  .search-chip .chip-platform{
    font-family:var(--mono);
    font-size:10px;
    color:var(--purple);
    text-transform:uppercase;
  }
  .search-chip .chip-type{
    font-family:var(--mono);
    font-size:10px;
    color:var(--sub);
  }
  .channel-profile{
    display:none;
    flex-direction:column;
    gap:18px;
    margin-bottom:20px;
  }
  .channel-profile.on{
    display:flex;
  }
  .profile-banner-wrap{
    position:relative;
    display:none;
    border-radius:10px;
    overflow:hidden;
  }
  .profile-banner-wrap.on{
    display:block;
  }
  .profile-banner-wrap img{
    width:100%;
    aspect-ratio:16/4.5;
    object-fit:cover;
    display:block;
    background:var(--inset);
  }
  .banner-download{
    position:absolute;
    bottom:8px;
    right:8px;
    width:26px;
    height:26px;
    border-radius:8px;
    background:rgba(0,0,0,0.55);
    color:#fff;
    border:1px solid rgba(255,255,255,0.3);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
  }
  .banner-download:hover{
    background:var(--purple);
  }
  .banner-download:disabled{
    opacity:0.5;
    cursor:default;
  }
  .profile-main{
    display:flex;
    align-items:flex-start;
    gap:18px;
  }
  .profile-avatar-wrap{
    position:relative;
    flex-shrink:0;
  }
  .profile-avatar-wrap img{
    width:92px;
    height:92px;
    border-radius:50%;
    object-fit:cover;
    background:var(--inset);
    display:block;
    border:1px solid var(--line);
  }
  .avatar-download{
    position:absolute;
    bottom:-4px;
    right:-4px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:var(--purple);
    color:#fff;
    border:2px solid var(--panel);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
  }
  .avatar-download:hover{
    background:var(--purple-dim);
  }
  .avatar-download:disabled{
    opacity:0.5;
    cursor:default;
  }
  .profile-name{
    font-weight:700;
    font-size:21px;
    margin:0 0 6px;
    display:flex;
    align-items:center;
    gap:8px;
  }
  .partner-badge{
    display:none;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--purple);
    color:#fff;
    font-size:11px;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
  }
  .partner-badge.on{
    display:inline-flex;
  }
  .profile-meta{
    font-family:var(--mono);
    font-size:11px;
    color:var(--purple);
    margin:0 0 7px;
  }
  .profile-stats{
    font-family:var(--mono);
    font-size:11px;
    color:var(--sub);
    margin:0 0 11px;
  }
  .profile-bio{
    font-size:12px;
    color:var(--sub);
    margin:0 0 11px;
    line-height:1.5;
    max-width:480px;
  }
  .profile-activity{
    font-size:12px;
    color:var(--text);
    margin:0 0 7px;
  }
  .profile-activity .live-dot{
    display:inline-block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#ef4444;
    margin-right:6px;
    box-shadow:0 0 6px #ef4444;
  }
  .profile-activity .offline-dot{
    display:inline-block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--sub);
    margin-right:6px;
  }
  .profile-games{
    font-size:11px;
    color:var(--sub);
    margin:0;
  }
  .profile-games span{
    color:var(--purple);
  }
  .profile-link-row{
    display:flex;
    gap:8px;
    margin-top:18px;
    flex-wrap:wrap;
  }
  .profile-twitch-link{
    display:inline-flex;
    align-items:center;
    font-size:12px;
    font-weight:600;
    color:#fff;
    background:var(--purple);
    text-decoration:none;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
  }
  .profile-twitch-link:hover{
    background:var(--purple-dim);
  }
  .view-clips-btn{
    display:inline-flex;
    align-items:center;
    font-size:12px;
    font-weight:600;
    color:var(--purple);
    background:transparent;
    border:1px solid var(--purple-dim);
    padding:7px 14px;
    border-radius:8px;
    cursor:pointer;
  }
  .view-clips-btn:hover{
    background:var(--purple);
    color:#fff;
    border-color:var(--purple);
  }
  .platform-toggle{
    display:flex;
    gap:8px;
  }
  .platform-btn{
    background:var(--inset);
    border:1px solid var(--line);
    color:var(--sub);
    font-family:var(--sans);
    font-weight:600;
    font-size:12px;
    padding:8px 16px;
    border-radius:8px;
    cursor:pointer;
  }
  .platform-btn:hover{
    border-color:var(--purple-dim);
  }
  .platform-btn.active{
    background:var(--purple);
    border-color:var(--purple);
    color:#fff;
  }
  .profile-socials{
    display:none;
    flex-wrap:wrap;
    gap:8px;
    margin-top:4px;
  }
  .profile-socials.on{
    display:flex;
  }
  .profile-socials a{
    font-family:var(--mono);
    font-size:11px;
    color:var(--sub);
    text-decoration:none;
    border:1px solid var(--line);
    padding:4px 10px;
    border-radius:6px;
  }
  .profile-socials a:hover{
    color:var(--purple);
    border-color:var(--purple-dim);
  }
  .channel-toolbar{
    display:none;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:16px;
    padding-bottom:12px;
    border-bottom:1px solid var(--line);
  }
  .channel-toolbar.on{
    display:flex;
  }
  .select-all-label{
    display:inline-flex;
    align-items:center;
    gap:6px;
  }
  .channel-toolbar #selectedCount{
    font-family:var(--mono);
    font-size:12px;
    color:var(--sub);
  }
  .btn-outline{
    background:transparent;
    border:1px solid var(--line);
    color:var(--sub);
    font-family:var(--sans);
    font-weight:600;
    font-size:12px;
    padding:7px 14px;
    border-radius:8px;
    cursor:pointer;
  }
  .btn-outline:hover{
    background:var(--purple);
    color:#fff;
    border-color:var(--purple);
  }
  select{
    background:var(--inset);
    border:1px solid var(--line);
    color:var(--text);
    font-family:var(--sans);
    font-size:13px;
    padding:0 10px;
    border-radius:9px;
    outline:none;
  }
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible{
    outline:2px solid var(--purple);
    outline-offset:2px;
  }
  .clip-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(140px, 1fr));
    gap:12px;
    margin-top:16px;
  }
  .clip-card{
    border:1px solid var(--line);
    border-radius:9px;
    overflow:hidden;
    cursor:pointer;
    position:relative;
    background:var(--inset);
  }
  .clip-card.selected{
    border-color:var(--purple);
    box-shadow:0 0 0 1px var(--purple);
  }
  .cc-thumb-wrap{
    position:relative;
  }
  .clip-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block;
    background:#000;
  }
  .clip-card .cc-check{
    position:absolute;
    top:6px;
    left:6px;
    width:18px;
    height:18px;
    border-radius:5px;
    background:rgba(0,0,0,0.6);
    border:1px solid rgba(255,255,255,0.4);
  }
  .clip-card.selected .cc-check{
    background:var(--purple);
    border-color:var(--purple);
  }
  .clip-card.selected .cc-check::after{
    content:"✓";
    color:#fff;
    font-size:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
  }
  .clip-card .cc-info{
    padding:8px;
  }
  .clip-card .cc-title{
    font-size:12px;
    font-weight:600;
    line-height:1.3;
    margin:0 0 4px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .clip-card .cc-meta{
    font-family:var(--mono);
    font-size:10px;
    color:var(--sub);
  }
  .cc-actions{
    display:flex;
    gap:6px;
    margin-top:8px;
  }
  .cc-actions button{
    background:transparent;
    border:1px solid var(--purple-dim);
    color:var(--purple);
    font-family:var(--sans);
    font-weight:600;
    font-size:11px;
    padding:6px 0;
    border-radius:6px;
    cursor:pointer;
  }
  .cc-actions button.cc-download{
    flex:1;
    background:var(--purple);
    color:#fff;
  }
  .cc-actions button.cc-icon-btn{
    flex:0 0 auto;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
  }
  .cc-actions button:hover{
    background:var(--purple);
    color:#fff;
  }
  .cc-actions button:disabled{
    opacity:0.6;
    cursor:default;
  }
  .bulk-progress{
    margin-top:14px;
    font-family:var(--mono);
    font-size:12px;
    color:var(--sub);
  }

/* ---- Shared content-page styles (Privacy, Terms, Contact, blog articles) ---- */
.content-h1{
  font-size:30px;
  font-weight:700;
  letter-spacing:-0.02em;
  margin:0 0 20px;
}
.content-meta{
  font-family:var(--mono);
  font-size:11px;
  color:var(--sub);
  margin:0 0 32px;
}
.content-body h2{
  font-size:16px;
  font-weight:700;
  margin:32px 0 10px;
}
.content-body p{
  font-size:14px;
  line-height:1.7;
  color:var(--text);
  margin:0 0 14px;
}
.content-body p.muted{
  color:var(--sub);
}
.content-body ul{
  font-size:14px;
  line-height:1.7;
  color:var(--text);
  padding-left:20px;
  margin:0 0 14px;
}
.content-body li{
  margin-bottom:6px;
}
.content-body a{
  color:var(--purple);
}
#contactForm label{
  display:block;
  font-size:12px;
  font-weight:600;
  color:var(--sub);
  margin-bottom:6px;
}
#contactForm input, #contactForm textarea{
  display:block;
  width:100%;
  background:var(--inset);
  border:1px solid var(--line);
  color:var(--text);
  font-family:var(--sans);
  font-size:14px;
  padding:11px 13px;
  border-radius:9px;
  outline:none;
  margin-bottom:14px;
  resize:vertical;
  box-sizing:border-box;
}
.content-body label{
  display:block;
  font-size:12px;
  font-weight:600;
  color:var(--sub);
  margin-bottom:6px;
}
.contact-btn{
  background:var(--purple);
  color:#fff;
  border:none;
  font-weight:600;
  font-size:13px;
  padding:11px 20px;
  border-radius:9px;
  cursor:pointer;
}
.contact-btn:hover{
  background:var(--purple-dim);
}
.contact-btn:disabled{
  opacity:0.6;
  cursor:default;
}
.contact-status{
  font-size:12px;
  margin:12px 0 0;
  min-height:16px;
}
.contact-status.ok{ color:#4ade80; }
.contact-status.err{ color:#ff6b6b; }

/* Blog index + article cards */
.blog-grid{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:24px;
}
.blog-card{
  display:block;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
  text-decoration:none;
  color:var(--text);
}
.blog-card:hover{
  border-color:var(--purple-dim);
}
.blog-card h3{
  font-size:15px;
  font-weight:700;
  margin:0 0 6px;
}
.blog-card p{
  font-size:13px;
  color:var(--sub);
  margin:0;
  line-height:1.5;
}
.blog-cta{
  background:var(--panel);
  border:1px solid var(--purple-dim);
  border-radius:14px;
  padding:20px;
  margin:32px 0;
  text-align:center;
}
.blog-cta p{
  margin:0 0 12px;
  font-size:14px;
}
.blog-cta a{
  display:inline-block;
  background:var(--purple);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:13px;
  padding:10px 20px;
  border-radius:9px;
}
.blog-cta a:hover{
  background:var(--purple-dim);
}

/* Custom checkbox styling - used by Select All and the preview-player toggle */
input[type="checkbox"]{
  accent-color: var(--purple);
  width:16px;
  height:16px;
  cursor:pointer;
  vertical-align:-3px;
}

.preview-toggle-label{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  font-size:12px;
  color:var(--sub);
  cursor:pointer;
}
