/* Sickos Clipz Thumbnail Center — phone-first review feed. */
@media (max-width: 767px) {
  .scMobileMain > .tlMobile {
    width: auto;
    min-width: 0;
    margin: 0 -14px;
    padding: 0 16px calc(112px + env(safe-area-inset-bottom));
    overflow-x: clip;
  }
  .tlMobile button,
  .tlMobile a,
  .tlModal button,
  .tlModal a,
  .tlMobile label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .tlMobile input,
  .tlMobile textarea,
  .tlMobile select,
  .tlModal input,
  .tlModal textarea,
  .tlModal select { font-size: 16px !important; }

  .tlMobileHomeHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px 2px 18px; }
  .tlMobileHomeHead h1 { margin: 7px 0 0; font-size: clamp(35px, 11vw, 46px); line-height: .92; letter-spacing: -.065em; }
  .tlMobileHomeHead p { margin: 8px 0 0; color: var(--tl-muted); font-size: 12px; }
  .tlMobileNew {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 88px;
    min-height: 48px;
    padding: 0 15px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: var(--tl-red);
    box-shadow: 0 10px 24px rgba(232,23,23,.18);
    font: 850 14px/1 Inter, sans-serif;
  }
  .tlMobileNew:active { transform: scale(.97); }
  .tlMobileHome > .tlArchiveTabs { display:grid; width:100%; margin:0 0 15px; border-radius:15px; }
  .tlMobileHome > .tlArchiveTabs button { width:100%; min-width:0; height:42px; font-size:12px; }
  .tlMobileSearch { position: relative; display: block; margin-bottom: 14px; }
  .tlMobileSearch svg { position: absolute; top: 15px; left: 15px; z-index: 1; color: #888e97; }
  .tlMobileSearch input {
    width: 100%;
    height: 48px;
    padding: 0 15px 0 44px;
    border: 1px solid var(--tl-line);
    border-radius: 15px;
    outline: 0;
    color: var(--tl-ink);
    background: #f6f6f7;
  }
  .tlMobileSearch input:focus { border-color: rgba(232,23,23,.42); background: #fff; box-shadow: 0 0 0 4px rgba(232,23,23,.06); }
  .tlMobileProjects { display: grid; gap: 15px; }
  .tlMobileProject {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--tl-line);
    border-radius: 20px;
    color: var(--tl-ink);
    background: #fff;
    box-shadow: 0 8px 30px rgba(17,17,19,.035);
    text-align: left;
  }
  .tlMobileProject[hidden] { display: none; }
  .tlMobileProject:active { transform: scale(.992); border-color: rgba(232,23,23,.36); }
  .tlMobileProject.completed { border-color:#24262c;color:#fff;background:#17181c;box-shadow:0 12px 32px rgba(12,13,16,.14) }
  .tlMobileProject.completed .tlMobileProjectCopy h2{color:#fff}.tlMobileProject.completed .tlMobileProjectCopy p{color:#aeb3bc}.tlMobileProject.completed .tlMobileProjectAvatar{background:#292b31}.tlMobileProject.completed .tlMobileProjectAvatar img{filter:brightness(0) invert(1)}
  .tlMobileProject .tlCardVisual { aspect-ratio: 16 / 9; }
  .tlMobileProject .tlCardCount { min-width: 30px; min-height: 28px; padding: 0 9px; line-height: 28px; text-align: center; }
  .tlMobileProjectCopy { display: grid; grid-template-columns: 40px minmax(0,1fr) 28px; align-items: center; gap: 11px; padding: 13px 14px 14px; }
  .tlMobileProjectAvatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(232,23,23,.07); }
  .tlMobileProjectAvatar img { width: 31px; height: 31px; object-fit: contain; }
  .tlMobileProjectCopy div { min-width: 0; }
  .tlMobileProjectCopy h2 { overflow: hidden; margin: 0; font-size: 16px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
  .tlMobileProjectCopy p { margin: 5px 0 0; color: var(--tl-muted); font-size: 11px; }
  .tlMobileProjectCopy > b { color: var(--tl-red); font-size: 28px; font-weight: 400; text-align: right; }

  .tlMobileDetail { padding-top: 0 !important; }
  .tlMobileDetailTop {
    top: 0;
    z-index: 105;
    grid-template-columns: 48px minmax(0,1fr) 48px;
    gap: 7px;
    margin: 0 -16px;
    padding: 7px 10px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px) saturate(160%);
  }
  .tlMobileDetailTop button,
  .tlMobileUpload { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 15px; color: var(--tl-ink); background: #f2f2f4; }
  .tlMobileUpload { color: #fff; background: var(--tl-red); font-size: 24px; font-weight: 700; }
  .tlMobileComplete { display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:15px;color:#fff;background:#1c1d21;font:900 19px/1 Inter,sans-serif;box-shadow:0 8px 18px rgba(17,17,19,.13) }
  .tlMobileComplete.restore{color:#fff;background:var(--tl-red);font-size:21px}
  .tlMobileDetailTop b { display: block; overflow: hidden; font-size: 15px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
  .tlMobileDetailTop span { color: var(--tl-muted); font-size: 9px; letter-spacing: .08em; }
  .tlMobileRoundStrip { gap: 7px; margin: 0 -16px; padding: 11px 16px 10px; border-bottom: 1px solid #ededf0; background: #fff; scroll-padding-inline: 16px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .tlMobileRoundStrip::-webkit-scrollbar { display: none; }
  .tlMobileRoundStrip .tlRoundTab { min-height: 42px; padding: 0 14px; border-radius: 999px; font-size: 12px; }
  .tlMobileRoundStrip .tlRoundTab.active { border-color: var(--tl-ink); background: var(--tl-ink); }
  .tlMobileRoundStrip .tlRoundTab.active b { color: #fff; }
  .tlMobileBatchStepper { position: sticky; top: 62px; z-index: 104; display: grid; grid-template-columns: 52px minmax(0,1fr) 52px; align-items: center; gap: 10px; margin: 0 -16px; padding: 10px 12px 11px; border-top: 3px solid var(--tl-red); border-bottom: 1px solid #dedfe3; background: #fff; box-shadow: 0 10px 26px rgba(17,17,19,.11); }
  .tlMobileBatchStepper > button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; width: 52px; height: 50px; padding: 0; border: 1px solid #dadbdf; border-radius: 14px; color: var(--tl-ink); background: #f5f5f7; font-weight: 850; }
  .tlMobileBatchStepper > button > i { font-size: 19px; font-style: normal; line-height: 1; }
  .tlMobileBatchStepper > button > small { color: #767c85; font-size: 8px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
  .tlMobileBatchStepper > button:not(:disabled):active { color: #fff; border-color: var(--tl-red); background: var(--tl-red); transform: scale(.96); }
  .tlMobileBatchStepper.archived{border-top-color:#1c1d21}.tlMobileBatchStepper.archived .tlMobileBatchProgress i.active{background:#1c1d21}
  .tlMobileBatchStepper > button:not(:disabled):active small { color: #fff; }
  .tlMobileBatchStepper > button:disabled { opacity: .25; }
  .tlMobileBatchStepper > div { min-width: 0; text-align: center; }
  .tlMobileBatchStepper > div > span { display: block; color: var(--tl-red); font-size: 8px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
  .tlMobileBatchStepper > div > b { display: block; overflow: hidden; margin-top: 2px; font-size: 17px; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
  .tlMobileBatchStepper > div > small { display: block; overflow: hidden; margin-top: 2px; color: #767c85; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .tlMobileBatchProgress { display: flex; justify-content: center; gap: 4px; margin: 7px auto 0; }
  .tlMobileBatchProgress i { width: 18px; height: 3px; border-radius: 999px; background: #dddfe3; }
  .tlMobileBatchProgress i.past { background: #adb1b8; }
  .tlMobileBatchProgress i.active { width: 28px; background: var(--tl-red); }
  .tlMobileReviewIntro { display: flex; align-items: center; justify-content: space-between; flex-direction: row; gap: 14px; margin: 0; padding: 20px 2px 13px; }
  .tlMobileReviewIntro > div { min-width: 0; }
  .tlMobileReviewIntro b { display: block; font-size: 20px; letter-spacing: -.035em; }
  .tlMobileReviewIntro span { display: block; margin-top: 4px; color: var(--tl-muted); font-size: 11px; }
  .tlMobileReviewIntro > button { flex: 0 0 auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--tl-line); border-radius: 13px; color: var(--tl-ink); background: #fff; font: 800 11px/1 Inter, sans-serif; }

  .tlMobileOptionGrid { display: grid; grid-template-columns: 1fr; gap: 15px; }
  .tlFeedCard { min-width: 0; overflow: hidden; margin: 0 -16px; border-top: 1px solid var(--tl-line); border-bottom: 1px solid var(--tl-line); color: var(--tl-ink); background: #fff; }
  .tlFeedCard.finalist { outline: 0; border-color: rgba(232,23,23,.4); }
  .tlFeedCardHead { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 58px; padding: 10px 16px; }
  .tlFeedCardHead div { min-width: 0; }
  .tlFeedCardHead b { display: block; font-size: 13px; }
  .tlFeedCardHead span { display: block; overflow: hidden; margin-top: 3px; color: var(--tl-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .tlFeedCardHead em { padding: 6px 8px; border-radius: 8px; color: #fff; background: var(--tl-red); font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .1em; }
  .tlFeedVisual { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0; border: 0; background: #ededf0; }
  .tlFeedVisual img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .tlFeedOptionBadge { position: absolute; z-index: 2; top: 11px; left: 11px; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid rgba(255,255,255,.8); border-radius: 12px; color: #fff; background: var(--tl-red); box-shadow: 0 7px 18px rgba(0,0,0,.2); font-size: 14px; font-style: normal; font-weight: 950; }
  .tlFeedVisual > span { position: absolute; right: 10px; bottom: 10px; padding: 7px 9px; border-radius: 9px; color: #fff; background: rgba(12,13,15,.76); backdrop-filter: blur(10px); font-size: 9px; font-weight: 800; }
  .tlFeedActions { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 8px 12px 9px; border-bottom: 1px solid #eeeef0; }
  .tlFeedAction { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 46px; padding: 0 8px; border: 0; border-radius: 13px; color: #585e67; background: #f5f5f7; font: 800 11px/1 Inter, sans-serif; text-decoration: none; }
  .tlFeedAction svg { width: 19px; height: 19px; }
  .tlFeedAction i { font-size: 20px; font-style: normal; line-height: 1; }
  .tlFeedAction span { min-width: 8px; color: #8b9098; font-size: 10px; }
  .tlFeedAction.active { color: #fff; background: var(--tl-red); }
  .tlFeedAction.active svg { fill: currentColor; }
  .tlFeedAction.active span { color: rgba(255,255,255,.8); }
  .tlFeedAction:active { transform: scale(.97); }
  .tlVotePair button.tlVotePop svg { animation: tlVotePop .28s cubic-bezier(.2,.8,.2,1); }
  .tlFeedCard.archived{border-color:#d6d8dd}.tlFeedCard.archived .tlFeedOptionBadge{background:#1c1d21}.tlFeedCard.archived .tlFeedActions{grid-template-columns:1fr}.tlFeedAction.archiveDownload{color:#fff;background:#1c1d21}
  @keyframes tlVotePop { 45% { transform: scale(1.32); } }

  .tlQuickFeedback.mobile { padding: 12px 16px 15px; border: 0; background: #fff; }
  .tlQuickFeedback.mobile .tlQuickFeedbackHead { min-height: 44px; padding: 0 0 8px; }
  .tlQuickFeedbackHead > div { min-width: 0; }
  .tlQuickFeedback.mobile .tlQuickFeedbackHead b { display: block; color: var(--tl-ink); font-size: 11px; letter-spacing: 0; text-transform: none; }
  .tlQuickFeedback.mobile .tlQuickFeedbackHead span { display: block; margin-top: 3px; color: #969ba3; font-size: 9px; }
  .tlQuickFeedback.mobile .tlQuickFeedbackHead button { min-width: 74px; min-height: 44px; padding: 0 10px; border-radius: 12px; color: var(--tl-red); background: rgba(232,23,23,.055); font-size: 10px; }
  .tlQuickFeedback.mobile ul { gap: 8px; margin-bottom: 11px; }
  .tlQuickFeedback.mobile li { gap: 10px; padding: 0 0 0 15px; }
  .tlQuickFeedback.mobile li span { font-size: 13px; line-height: 1.42; }
  .tlQuickFeedback.mobile li small { font-size: 9px; }
  .tlQuickFeedback.mobile > p { margin: 0 0 10px; font-size: 12px; }
  .tlQuickFeedback.mobile .tlQuickComposer { grid-template-columns: minmax(0,1fr) 48px; gap: 8px; }
  .tlQuickFeedback.mobile .tlQuickComposer textarea { min-height: 48px; max-height: 120px; padding: 13px 14px; resize: none; border-radius: 15px; background: #f5f5f7; font-weight: 500; line-height: 1.35; }
  .tlQuickFeedback.mobile .tlQuickComposer button { min-width: 48px; min-height: 48px; padding: 0; border-radius: 15px; font-size: 20px; }

  .tlMobileEmptyBatch { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 300px; padding: 30px; border: 1px dashed #d3d4d9; border-radius: 22px; color: var(--tl-muted); background: #f8f8f9; text-align: center; }
  .tlMobileEmptyBatch i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff; background: var(--tl-red); font-size: 26px; font-style: normal; }
  .tlMobileEmptyBatch b { margin-top: 17px; color: var(--tl-ink); font-size: 18px; }
  .tlMobileEmptyBatch span { max-width: 230px; margin-top: 7px; font-size: 12px; line-height: 1.5; }
  .tlMobileBatchActions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 14px; }
  .tlMobileBatchActions .tlButton { width: 100%; min-height: 50px; }
  .tlMobileTitles { margin-top: 18px; padding: 15px; border: 1px solid var(--tl-line); border-radius: 18px; background: #fff; }
  .tlMobileTitles > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
  .tlMobileTitles > header b { display: block; font-size: 15px; }
  .tlMobileTitles > header span { display: block; margin-top: 3px; color: var(--tl-muted); font-size: 10px; }
  .tlMobileTitles > header button { min-width: 68px; min-height: 44px; padding: 0 11px; border: 1px solid var(--tl-line); border-radius: 13px; color: var(--tl-red); background: rgba(232,23,23,.05); font: 850 11px/1 Inter, sans-serif; }
  .tlMobileTitles .tlMobileTitle { grid-template-columns: minmax(0,1fr) 44px; min-height: 64px; margin-bottom: 7px; padding: 10px 10px 10px 12px; }
  .tlMobileTitles .tlMobileTitle:last-child { margin-bottom: 0; }
  .tlMobileTitles .tlMobileTitle b { font-size: 13px; }
  .tlMobileTitles .tlMobileTitle button { width: 44px; height: 44px; }
  .tlMobileTitles .tlMobileTitle.archived{grid-template-columns:1fr;background:#f7f7f8}
  .tlMobileTitles .tlTitleEmpty { padding: 18px 0 8px; }
  .tlMobileDirection { margin-top: 18px; border: 1px solid var(--tl-line); border-radius: 17px; background: #f8f8f9; }
  .tlMobileDirection summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 15px; color: var(--tl-ink); font-size: 12px; font-weight: 850; list-style: none; }
  .tlMobileDirection summary::-webkit-details-marker { display: none; }
  .tlMobileDirection summary span { color: var(--tl-red); font-size: 22px; transition: transform .18s ease; }
  .tlMobileDirection[open] summary span { transform: rotate(90deg); }
  .tlMobileDirection label { display: block; padding: 0 13px 13px; }
  .tlMobileDirection textarea { width: 100%; min-height: 92px; padding: 12px; resize: vertical; border: 1px solid var(--tl-line); border-radius: 13px; outline: 0; color: var(--tl-ink); background: #fff; line-height: 1.45; }

  .tlMobileLoading { padding: 22px 0; }
  .tlMobileLoading > header { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
  .tlMobileLoading > header i { width: 43px; height: 43px; border-radius: 14px; background: var(--tl-red); animation: tlSoftPulse 1.5s ease-in-out infinite; }
  .tlMobileLoading > header b { display: block; font-size: 16px; }
  .tlMobileLoading > header span { display: block; margin-top: 4px; color: var(--tl-muted); font-size: 11px; }
  .tlSkeletonCard { overflow: hidden; margin-bottom: 14px; border: 1px solid var(--tl-line); border-radius: 20px; }
  .tlSkeletonCard i { display: block; aspect-ratio: 16 / 9; background: linear-gradient(100deg,#f0f0f2 20%,#fafafa 40%,#f0f0f2 60%); background-size: 240% 100%; animation: tlShimmer 1.4s linear infinite; }
  .tlSkeletonCard span,.tlSkeletonCard b { display: block; height: 12px; margin: 14px; border-radius: 999px; background: #eeeef1; }
  .tlSkeletonCard b { width: 42%; height: 9px; margin-top: -5px; }
  @keyframes tlSoftPulse { 50% { transform: scale(.92); opacity: .58; } }
  @keyframes tlShimmer { to { background-position: -240% 0; } }

  .tlModal { align-items: flex-end; }
  .tlModalCard { max-height: 88dvh; }
  .tlModalCard.wide { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .tlReview { height: 100%; min-height: 0; overflow: hidden; }
  .tlReviewStage { flex: 0 0 auto; min-height: 0; padding: calc(8px + env(safe-area-inset-top)) 8px 10px; }
  .tlReviewTools { width: 100%; min-height: 46px; margin: 0; padding: 0 2px 8px; }
  .tlReviewTools button { min-height: 42px; padding: 0 14px; }
  .tlReviewImage img { width: 100%; max-height: 40dvh; }
  .tlReviewSide { flex: 1; min-height: 0; max-height: none; }
  .tlReviewSide .tlModalHead { align-items: center; padding: 13px 15px 11px; }
  .tlReviewSide .tlModalHead h2 { font-size: 21px; }
  .tlModalClose { width: 44px; height: 44px; }
  .tlArchivedViewer{padding:16px 14px calc(18px + env(safe-area-inset-bottom))}.tlArchivedViewer>img{max-height:62dvh;border-radius:14px}.tlArchivedViewer>footer{align-items:stretch;flex-direction:column}.tlArchivedViewer>footer>a{width:100%}
  .tlCompletedDetail>.tlArchiveBanner{margin:10px 0 12px}.tlCompletedDetail>.tlArchiveBanner>div span{font-size:9px}.tlCompletedDetail .tlMobileDirection textarea[readonly]{color:#686e77;background:#f5f5f7}
  .tlComments { min-height: 76px; padding: 8px 15px; }
  .tlComment { grid-template-columns: 30px minmax(0,1fr); }
  .tlComment i { width: 30px; height: 30px; }
  .tlComment b { font-size: 12px; }
  .tlComment p { font-size: 13px; }
  .tlCommentComposer { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; }
  .tlCommentComposer textarea { min-height: 58px; padding: 12px; border-radius: 14px; line-height: 1.4; }
  .tlCommentComposer div { min-height: 48px; }
  .tlCommentComposer .tlButton { min-height: 46px; }
  .tlFormActions .tlButton { flex: 1; min-height: 50px; }
  .tlOptional { color: #a0a4ab; font-size: 9px; letter-spacing: 0; text-transform: none; }

  @media (max-width: 350px) {
    .tlFeedAction { gap: 4px; padding: 0 5px; font-size: 10px; }
    .tlMobileProjectCopy { grid-template-columns: 38px minmax(0,1fr) 24px; gap: 8px; padding-inline: 11px; }
    .tlMobileHomeHead h1 { font-size: 36px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tlMobile *, .tlModal * { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}
