.syi-sync {
  --syi-blue: #0071e3;
  --syi-ink: #1d1d1f;
  --syi-muted: #6e6e73;
  --syi-line: rgba(29, 29, 31, .11);
  color: var(--syi-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 1220px;
  padding: 72px 30px 42px;
}

.syi-sync * { box-sizing: border-box; }
.syi-sync__hero { align-items: center; display: grid; gap: clamp(44px, 8vw, 110px); grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); min-height: 560px; }
.syi-sync__copy { max-width: 690px; }
.syi-sync__eyebrow { color: var(--syi-blue); font-size: 12px; font-weight: 750; letter-spacing: .13em; margin: 0 0 18px; text-transform: uppercase; }
.syi-sync h1 { font-size: clamp(46px, 6vw, 78px); letter-spacing: -.055em; line-height: .98; margin: 0 0 28px; }
.syi-sync h2 { font-size: 25px; letter-spacing: -.035em; line-height: 1.1; margin: 0 0 12px; }
.syi-sync__intro { color: var(--syi-muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.52; margin: 0; max-width: 650px; }
.syi-sync__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.syi-sync button { font: inherit; }
.syi-sync__primary, .syi-sync__secondary { border-radius: 999px; cursor: pointer; font-weight: 680; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.syi-sync__primary { background: var(--syi-blue); border: 0; box-shadow: 0 12px 30px rgba(0, 113, 227, .2); color: #fff; padding: 15px 24px; }
.syi-sync__secondary { background: #fff; border: 1px solid var(--syi-line); color: var(--syi-blue); padding: 11px 17px; }
.syi-sync__primary:hover, .syi-sync__secondary:hover { transform: translateY(-1px); }
.syi-sync button:focus-visible { outline: 3px solid rgba(0, 113, 227, .3); outline-offset: 3px; }
.syi-sync button:disabled { cursor: not-allowed; opacity: .42; transform: none; }
.syi-sync__mode { color: #237a3d; font-size: 14px; font-weight: 650; }
.syi-sync__mode span { font-size: 10px; margin-right: 4px; }
.syi-sync__help { color: var(--syi-muted); font-size: 14px; line-height: 1.5; margin: 18px 0 0; max-width: 570px; }

.syi-sync__device { background: linear-gradient(145deg, #e7e7e9, #fafafa 44%, #c7c8ca); border: 1px solid rgba(0,0,0,.12); border-radius: 28px; box-shadow: 0 38px 80px rgba(0,0,0,.18), inset 0 1px 1px #fff; height: 438px; justify-self: center; max-width: 310px; padding: 28px 25px; position: relative; transform: rotate(4deg); width: 100%; }
.syi-sync__screen { background: radial-gradient(circle at 78% 15%, #394650, #101820 62%); border: 5px solid #151515; border-radius: 8px; color: #fff; height: 158px; overflow: hidden; padding: 20px; position: relative; }
.syi-sync__screen span { display: block; font-size: 13px; opacity: .74; }
.syi-sync__screen strong { display: block; font-size: 32px; letter-spacing: -.04em; margin-top: 29px; }
.syi-sync__screen i { background: var(--syi-blue); bottom: 0; height: 5px; left: 0; position: absolute; width: 72%; }
.syi-sync__wheel { background: #f8f8f8; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; height: 190px; margin: 28px auto 0; position: relative; width: 190px; }
.syi-sync__wheel b, .syi-sync__wheel span { font-size: 10px; position: absolute; }
.syi-sync__wheel b { left: 50%; top: 18px; transform: translateX(-50%); }
.syi-sync__wheel span:nth-of-type(1) { left: 18px; top: 88px; }
.syi-sync__wheel span:nth-of-type(2) { right: 18px; top: 88px; }
.syi-sync__wheel span:nth-of-type(3) { bottom: 18px; left: 50%; transform: translateX(-50%); }
.syi-sync__wheel i { background: linear-gradient(145deg, #d8d8da, #f7f7f7); border: 1px solid rgba(0,0,0,.13); border-radius: 50%; height: 70px; left: 59px; position: absolute; top: 59px; width: 70px; }
.syi-sync__cable { background: #e8e8e8; border-radius: 0 0 8px 8px; bottom: -50px; height: 54px; left: calc(50% - 24px); position: absolute; width: 48px; }

.syi-sync__status { align-items: center; background: #f5f5f7; border: 1px solid var(--syi-line); border-radius: 18px; display: grid; gap: 4px 12px; grid-template-columns: auto auto 1fr; margin: 34px 0 24px; padding: 18px 20px; }
.syi-sync__status-dot { background: #86868b; border-radius: 50%; grid-row: 1 / 3; height: 10px; width: 10px; }
.syi-sync__status strong { font-size: 15px; }
.syi-sync__status > span:last-child { color: var(--syi-muted); font-size: 14px; }
.syi-sync__status.is-ready .syi-sync__status-dot { background: #34a853; box-shadow: 0 0 0 5px rgba(52,168,83,.11); }
.syi-sync__status.is-working .syi-sync__status-dot { animation: syi-sync-pulse 1.1s infinite; background: var(--syi-blue); }
.syi-sync__status.is-error .syi-sync__status-dot { background: #d93025; }
@keyframes syi-sync-pulse { 50% { box-shadow: 0 0 0 7px rgba(0,113,227,.12); } }

.syi-sync__report { background: #101114; border-radius: 26px; color: #fff; margin: 28px 0; padding: clamp(25px, 4vw, 42px); scroll-margin-top: 30px; }
.syi-sync__report[hidden] { display: none; }
.syi-sync__report-head { align-items: center; display: flex; gap: 24px; justify-content: space-between; }
.syi-sync__report h2 { color: #fff; font-size: 34px; }
.syi-sync__result { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.syi-sync__result-row { border-top: 1px solid rgba(255,255,255,.13); display: flex; gap: 20px; justify-content: space-between; padding: 16px 4px; }
.syi-sync__result-row:nth-child(odd) { margin-right: 24px; }
.syi-sync__result-row span { color: rgba(255,255,255,.62); }
.syi-sync__result-row strong { max-width: 55%; overflow-wrap: anywhere; text-align: right; }
.syi-sync__result-row.is-ok strong { color: #67d887; }
.syi-sync__result-row.is-warn strong { color: #ffd166; }
.syi-sync__verdict { background: rgba(0,113,227,.16); border: 1px solid rgba(60,157,255,.28); border-radius: 14px; color: #b9dcff; font-weight: 630; margin: 24px 0 0; padding: 15px 17px; }

.syi-sync__library { background: #fff; border: 1px solid var(--syi-line); border-radius: 26px; box-shadow: 0 24px 70px rgba(0,0,0,.07); margin: 28px 0; overflow: hidden; padding: clamp(24px, 4vw, 42px); scroll-margin-top: 30px; }
.syi-sync__library[hidden] { display: none; }
.syi-sync__library-head { align-items: center; display: flex; gap: 24px; justify-content: space-between; }
.syi-sync__library h2 { font-size: 36px; }
.syi-sync__library-actions { align-items: center; display: flex; gap: 12px; justify-content: flex-end; max-width: 650px; width: 100%; }
.syi-sync__search { max-width: 420px; width: 100%; }
.syi-sync__search input { appearance: none; background: #f5f5f7; border: 1px solid transparent; border-radius: 999px; color: var(--syi-ink); font: inherit; outline: none; padding: 13px 18px; width: 100%; }
.syi-sync__search input:focus { background: #fff; border-color: var(--syi-blue); box-shadow: 0 0 0 4px rgba(0,113,227,.1); }
.syi-sync__filters { display: flex; gap: 10px; margin-top: 24px; }
.syi-sync__filters label { min-width: 190px; }
.syi-sync__filters select { appearance: none; background: #f5f5f7; border: 1px solid transparent; border-radius: 12px; color: var(--syi-ink); font: inherit; padding: 11px 36px 11px 14px; width: 100%; }
.syi-sync__filters select:focus { border-color: var(--syi-blue); outline: none; }
.syi-sync__selection-bar { align-items: center; background: #f5f5f7; border-radius: 15px; display: flex; gap: 16px; justify-content: space-between; margin-top: 14px; padding: 12px 14px; }
.syi-sync__selection-bar > span { color: var(--syi-muted); font-size: 13px; font-weight: 650; }
.syi-sync__selection-bar > div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.syi-sync__selection-bar .syi-sync__primary, .syi-sync__selection-bar .syi-sync__secondary { padding: 9px 14px; }
.syi-sync__library-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 28px 0 22px; }
.syi-sync__library-summary .syi-sync__result-row { border-left: 1px solid var(--syi-line); border-top: 0; display: block; margin: 0; padding: 2px 18px; }
.syi-sync__library-summary .syi-sync__result-row:first-child { border-left: 0; padding-left: 0; }
.syi-sync__library-summary .syi-sync__result-row span { color: var(--syi-muted); display: block; font-size: 12px; margin-bottom: 5px; }
.syi-sync__library-summary .syi-sync__result-row strong { display: block; font-size: 18px; max-width: none; text-align: left; }
.syi-sync__table-wrap { border: 1px solid var(--syi-line); border-radius: 15px; max-height: 620px; overflow: auto; }
.syi-sync__library table { border: 0; border-collapse: separate; border-spacing: 0; font-size: 14px; margin: 0; table-layout: fixed; width: 100%; }
.syi-sync__library th { background: rgba(245,245,247,.96); color: var(--syi-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 12px 14px; position: sticky; text-align: left; text-transform: uppercase; top: 0; z-index: 1; }
.syi-sync__library td { border: 0; border-top: 1px solid var(--syi-line); overflow: hidden; padding: 13px 14px; text-overflow: ellipsis; white-space: nowrap; }
.syi-sync__library th:first-child, .syi-sync__library td:first-child { text-align: center; width: 5%; }
.syi-sync__library th:nth-child(2), .syi-sync__library td:nth-child(2) { width: 33%; }
.syi-sync__library th:nth-child(3), .syi-sync__library td:nth-child(3) { width: 20%; }
.syi-sync__library th:nth-child(4), .syi-sync__library td:nth-child(4) { width: 22%; }
.syi-sync__library th:nth-child(5), .syi-sync__library td:nth-child(5) { text-align: right; width: 10%; }
.syi-sync__library th:last-child, .syi-sync__library td:last-child { text-align: right; width: 10%; }
.syi-sync__library tbody tr:hover { background: #f8fbff; }
.syi-sync__duration { color: var(--syi-muted); font-variant-numeric: tabular-nums; }
.syi-sync__library td.syi-sync__title-td { padding-bottom: 8px; padding-top: 8px; }
.syi-sync__title-cell { align-items: center; display: flex; gap: 10px; }
.syi-sync__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.syi-sync__cover { background: linear-gradient(145deg, #e8e8ed, #d2d2d7) center / cover no-repeat; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--syi-line); flex: 0 0 36px; height: 36px; width: 36px; }
.syi-sync__cover.has-art { box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.syi-sync__play { align-items: center; background: transparent; border: 1px solid var(--syi-line); border-radius: 50%; color: var(--syi-blue); cursor: pointer; display: inline-flex; flex: 0 0 30px; height: 30px; justify-content: center; padding: 0; width: 30px; }
.syi-sync__play::before { border-bottom: 6px solid transparent; border-left: 9px solid currentColor; border-top: 6px solid transparent; content: ""; margin-left: 2px; }
.syi-sync__play.is-playing { background: var(--syi-blue); border-color: var(--syi-blue); color: #fff; }
.syi-sync__play.is-playing::before { border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; height: 11px; margin: 0; width: 4px; }
.syi-sync__play:focus-visible { outline: 3px solid rgba(0, 113, 227, .35); outline-offset: 2px; }
.syi-sync__player { align-items: center; background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); border: 1px solid var(--syi-line); border-radius: 18px; box-shadow: 0 10px 34px rgba(0, 0, 0, .1); display: grid; gap: 8px 16px; grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 360px); margin: 0 0 18px; padding: 12px 16px; position: sticky; top: 16px; z-index: 5; }
.syi-sync__player[hidden] { display: none; }
.syi-sync__player-art { background: linear-gradient(145deg, #e8e8ed, #d2d2d7) center / cover no-repeat; border-radius: 10px; height: 72px; width: 72px; }
.syi-sync__player-text { display: grid; gap: 3px; min-width: 0; }
.syi-sync__player-text strong, .syi-sync__player-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.syi-sync__player-text span { color: var(--syi-muted); font-size: 14px; }
.syi-sync__player audio { width: 100%; }
.syi-sync__player video { border-radius: 10px; grid-column: 1 / -1; max-height: 360px; width: 100%; background: #000; }
.syi-sync__identify { background: #f5f5f7; border-radius: 18px; margin-top: 22px; padding: 22px 24px; }
.syi-sync__identify[hidden] { display: none; }
.syi-sync__identify h3 { font-size: 19px; margin: 0 0 6px; }
.syi-sync__identify p { color: var(--syi-muted); font-size: 15px; line-height: 1.45; margin: 0 0 14px; }
.syi-sync__identify-row { align-items: end; display: flex; flex-wrap: wrap; gap: 12px; }
.syi-sync__identify-manual { display: grid; flex: 1 1 240px; font-size: 13px; gap: 6px; color: var(--syi-muted); }
.syi-sync__identify-manual input { background: #fff; border: 1px solid var(--syi-line); border-radius: 12px; font: 16px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; padding: 11px 14px; text-transform: uppercase; }
.syi-sync__identify-manual input::placeholder { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; }
.syi-sync__identify .syi-sync__identify-help { font-size: 13px; margin: 14px 0 0; }
.syi-sync__identify .syi-sync__identify-status { color: var(--syi-ink); font-weight: 600; margin: 10px 0 0; }
.syi-sync__identify .syi-sync__identify-status:empty { display: none; }
.syi-sync__write-progress { margin: 16px 0 4px; }
.syi-sync__write-progress[hidden] { display: none; }
.syi-sync__write-warning { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #b25000; }
.syi-sync__rockbox-photos { margin-top: 24px; }
.syi-sync__rockbox-photos h3 { font-size: 17px; margin: 0; }
.syi-sync__rockbox-photo-grid { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); margin: 12px 0; }
.syi-sync__rockbox-photo { aspect-ratio: 1; background: #000 center / contain no-repeat; border: 3px solid transparent; border-radius: 6px; cursor: pointer; padding: 0; }
.syi-sync__rockbox-photo[aria-pressed="true"] { border-color: #0071e3; }
.is-done { color: #1e8e3e !important; font-weight: 650; }
.is-failed { color: #d70015 !important; font-weight: 650; }
.syi-sync__backup-intro { color: var(--syi-muted); font-size: 15px; line-height: 1.45; margin: 8px 0 0; max-width: 720px; }
.syi-sync__move-card { margin-top: 22px; }
.syi-sync__move-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.syi-sync__backup-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.syi-sync__backup-card { background: #f5f5f7; border-radius: 18px; display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.syi-sync__backup-card h3 { font-size: 19px; margin: 0; }
.syi-sync__backup-card > p { color: var(--syi-muted); font-size: 14px; line-height: 1.45; margin: 0; }
.syi-sync__backup-card > button { align-self: flex-start; }
.syi-sync__backup-cats { display: grid; gap: 8px; }
.syi-sync__backup-cats[hidden] { display: none; }
.syi-sync__backup-cat { align-items: center; background: #fff; border-radius: 12px; cursor: pointer; display: flex; gap: 12px; padding: 10px 14px; }
.syi-sync__backup-cat input { accent-color: var(--syi-blue); height: 18px; width: 18px; }
.syi-sync__backup-cat span { display: grid; gap: 2px; }
.syi-sync__backup-cat strong { font-size: 15px; }
.syi-sync__backup-cat small { color: var(--syi-muted); font-size: 13px; }
.syi-sync__backup-info { color: var(--syi-ink) !important; font-weight: 600; }
.syi-sync__backup-info:empty { display: none; }
@media (max-width: 760px) { .syi-sync__backup-grid { grid-template-columns: 1fr; } }
.syi-sync__stat-tiles { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.syi-sync__stat { background: #fff; border-radius: 14px; display: grid; gap: 2px; padding: 14px 16px; }
.syi-sync__stat strong { font-size: 28px; letter-spacing: -.02em; }
.syi-sync__stat span { color: var(--syi-muted); font-size: 13px; }
.syi-sync__stat-lists { display: grid; gap: 14px; margin-top: 14px; }
.syi-sync__stat-list h3 { font-size: 15px; margin: 0 0 6px; }
.syi-sync__stat-list ol { margin: 0; padding-left: 22px; }
.syi-sync__stat-list li { font-size: 14px; line-height: 1.7; }
.syi-sync__stat-list li span { display: inline-block; max-width: calc(100% - 64px); overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }
.syi-sync__stat-list li em { color: var(--syi-muted); float: right; font-style: normal; }
.syi-sync__stat-facts { color: var(--syi-muted); font-size: 13px; margin: 12px 0 0; }
.syi-sync__clean-list { display: grid; gap: 10px; }
.syi-sync__clean-group { background: #fff; border-radius: 14px; padding: 12px 14px; }
.syi-sync__clean-group summary { cursor: pointer; font-size: 15px; }
.syi-sync__clean-group p { color: var(--syi-muted); font-size: 13px; margin: 6px 0 8px; }
.syi-sync__clean-group > div { display: grid; gap: 4px; max-height: 260px; overflow: auto; }
.syi-sync__clean-row { align-items: center; display: flex; font-size: 14px; gap: 8px; }
.syi-sync__clean-row input { accent-color: var(--syi-blue); flex: 0 0 auto; }
.syi-sync__danger { background: transparent; border: 1px solid rgba(215, 0, 21, .35); border-radius: 980px; color: #d70015; cursor: pointer; font-size: 14px; font-weight: 600; padding: 10px 18px; }
.syi-sync__danger:disabled { cursor: default; opacity: .4; }
.syi-sync__danger[hidden] { display: none; }
.syi-sync__library-warning { background: #fff8e6; border-radius: 10px; color: #8a5a00; font-size: 14px; grid-column: 1 / -1; margin: 4px 0 0; padding: 10px 14px; }
.syi-sync__download { background: transparent; border: 0; color: var(--syi-blue); cursor: pointer; font-size: 13px; font-weight: 650; padding: 3px; }
.syi-sync__track-select { accent-color: var(--syi-blue); height: 17px; margin: 0; width: 17px; }
.syi-sync__library-foot { align-items: baseline; display: flex; gap: 20px; justify-content: space-between; }
.syi-sync__export-status { color: var(--syi-muted); font-size: 13px; margin: 14px 2px 0; text-align: right; }
.syi-sync__library-shown, .syi-sync__library-empty { color: var(--syi-muted); font-size: 13px; margin: 14px 2px 0; }
[data-sync-photo-summary] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.syi-sync__photo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 24px; }
.syi-sync__photo-progress { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.syi-sync__photo-progress[hidden] { display: none; }
.syi-sync__photo-progress-label { color: var(--syi-muted); font-size: 13px; }
.syi-sync__track { background: #e5e5ea; border-radius: 999px; display: block; height: 6px; overflow: hidden; width: 100%; }
.syi-sync__bar { background: #0071e3; border-radius: 999px; display: block; height: 100%; transition: width .25s ease; width: 0; }
.syi-sync__track.is-indeterminate .syi-sync__bar { animation: syi-sync-indeterminate 1.1s ease-in-out infinite; width: 35%; }
@keyframes syi-sync-indeterminate { from { margin-left: -35%; } to { margin-left: 100%; } }
.syi-sync__photo-more { display: flex; justify-content: center; margin-top: 24px; }
.syi-sync__photo-more[hidden] { display: none; }
.syi-sync__photo { background: #f5f5f7; border: 1px solid var(--syi-line); border-radius: 18px; overflow: hidden; position: relative; }
.syi-sync__photo-check { background: rgba(255,255,255,.92); border-radius: 7px; left: 8px; padding: 5px 4px 4px 5px; position: absolute; top: 8px; z-index: 2; }
.syi-sync__photo-check input { accent-color: var(--syi-blue); height: 18px; margin: 0; width: 18px; }
.syi-sync__photo-open { background: #ececed; border: 0; cursor: pointer; display: block; height: 158px; overflow: hidden; padding: 0; width: 100%; }
.syi-sync__photo-canvas { background: repeating-linear-gradient(45deg, #ebebee, #ebebee 9px, #f6f6f7 9px, #f6f6f7 18px); display: block; height: 100%; object-fit: cover; width: 100%; }
.syi-sync__photo-meta { padding: 12px 14px 14px; }
.syi-sync__photo-meta strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.syi-sync__photo-meta span { color: var(--syi-muted); display: block; font-size: 12px; margin-top: 4px; }
.syi-sync__photo-meta .syi-sync__download { display: block; margin-top: 8px; padding: 0; text-align: left; }
.syi-sync__viewer { background: #fff; border: 0; border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.35); max-width: min(960px, calc(100vw - 32px)); padding: 0; width: 100%; }
.syi-sync__viewer::backdrop { background: rgba(10, 10, 12, .62); }
.syi-sync__viewer-frame { align-items: center; background: #0e0e10; display: flex; height: min(70vh, 640px); justify-content: center; overflow: hidden; }
.syi-sync__viewer-frame img { display: block; max-height: 100%; max-width: 100%; object-fit: contain; }
.syi-sync__viewer-bar { align-items: center; display: flex; gap: 16px; justify-content: space-between; padding: 16px 18px; }
.syi-sync__viewer-text { min-width: 0; }
.syi-sync__viewer-text strong, .syi-sync__viewer-text span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.syi-sync__viewer-text span { color: var(--syi-muted); font-size: 13px; margin-top: 4px; }
.syi-sync__viewer-actions { display: flex; flex: 0 0 auto; gap: 10px; }

.syi-sync__upload { background: #f5f5f7; border: 1px solid var(--syi-line); border-radius: 26px; margin: 28px 0; padding: clamp(24px, 4vw, 42px); }
.syi-sync__upload[hidden] { display: none; }
.syi-sync__upload-head { align-items: center; display: flex; gap: 28px; justify-content: space-between; }
.syi-sync__upload-head > div { max-width: 720px; }
.syi-sync__upload h2 { font-size: 36px; }
.syi-sync__upload-head p:not(.syi-sync__eyebrow), .syi-sync__engine-note { color: var(--syi-muted); line-height: 1.5; margin: 0; }
.syi-sync__file-button { cursor: pointer; flex: 0 0 auto; text-align: center; }
.syi-sync__file-button input { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }
.syi-sync__engine-note { font-size: 12px; margin-top: 18px; }
.syi-sync__queue { display: grid; gap: 10px; margin-top: 22px; }
.syi-sync__queue > p { color: var(--syi-muted); margin: 8px 0; }
.syi-sync__queue-item { align-items: end; background: #fff; border: 1px solid var(--syi-line); border-radius: 16px; display: grid; gap: 14px; grid-template-columns: minmax(150px, .8fr) minmax(0, 2fr) auto; padding: 16px; }
.syi-sync__queue-file { align-self: center; min-width: 0; }
.syi-sync__queue-file strong, .syi-sync__queue-file span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.syi-sync__queue-file span { color: var(--syi-muted); font-size: 12px; margin-top: 5px; }
.syi-sync__queue-fields { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(100px, 1fr)); }
.syi-sync__queue-fields span { color: var(--syi-muted); display: block; font-size: 11px; margin: 0 0 4px 2px; }
.syi-sync__queue-fields input { background: #f5f5f7; border: 1px solid transparent; border-radius: 10px; font: inherit; min-width: 0; padding: 9px 10px; width: 100%; }
.syi-sync__queue-fields input:focus { background: #fff; border-color: var(--syi-blue); outline: none; }
.syi-sync__upload-foot { align-items: center; display: flex; gap: 20px; justify-content: space-between; margin-top: 22px; }
.syi-sync__upload-foot p { color: var(--syi-muted); font-size: 13px; margin: 0; }
.syi-sync__upload-actions { display: flex; flex: 0 0 auto; gap: 10px; }

.syi-sync__info-grid { display: grid; gap: 18px; grid-template-columns: 1.18fr .9fr .92fr; margin-top: 26px; }
.syi-sync__card { background: #f5f5f7; border: 1px solid var(--syi-line); border-radius: 22px; min-height: 210px; padding: 28px; }
.syi-sync__card p, .syi-sync__card li { color: var(--syi-muted); font-size: 15px; line-height: 1.55; }
.syi-sync__card p { margin: 0; }
.syi-sync__card ol { margin: 18px 0 0; padding-left: 20px; }
.syi-sync__card li + li { margin-top: 8px; }
.syi-sync__card--privacy { background: #eaf5ff; display: flex; gap: 18px; }
.syi-sync__icon { align-items: center; background: var(--syi-blue); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 auto; font-weight: 800; height: 34px; justify-content: center; width: 34px; }
.syi-sync__browser-note { border-top: 1px solid var(--syi-line); margin-top: 20px !important; padding-top: 16px; }
.syi-sync__legal { color: #86868b; font-size: 12px; margin: 28px 0 0; text-align: center; }

@media (max-width: 820px) {
  .syi-sync { padding: 52px 20px 34px; }
  .syi-sync__hero { gap: 62px; grid-template-columns: 1fr; }
  .syi-sync__device { height: 390px; max-width: 275px; }
  .syi-sync__screen { height: 137px; }
  .syi-sync__wheel { height: 166px; width: 166px; }
  .syi-sync__wheel i { height: 62px; left: 51px; top: 51px; width: 62px; }
  .syi-sync__info-grid { grid-template-columns: 1fr; }
  .syi-sync__card { min-height: 0; }
  .syi-sync__library-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .syi-sync__queue-item { grid-template-columns: 1fr; }
  .syi-sync__queue-fields { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}

@media (max-width: 560px) {
  .syi-sync h1 { font-size: 43px; }
  .syi-sync__hero { min-height: 0; }
  .syi-sync__device { display: none; }
  .syi-sync__actions { align-items: flex-start; flex-direction: column; }
  .syi-sync__primary { width: 100%; }
  .syi-sync__status { grid-template-columns: auto 1fr; }
  .syi-sync__status > span:last-child { grid-column: 2; }
  .syi-sync__report-head { align-items: flex-start; flex-direction: column; }
  .syi-sync__result { grid-template-columns: 1fr; }
  .syi-sync__result-row:nth-child(odd) { margin-right: 0; }
  .syi-sync__library { margin-left: -8px; margin-right: -8px; padding: 24px 16px; }
  .syi-sync__library-head { align-items: stretch; flex-direction: column; }
  .syi-sync__library-actions { align-items: stretch; flex-direction: column; max-width: none; }
  .syi-sync__filters { flex-direction: column; }
  .syi-sync__selection-bar { align-items: stretch; flex-direction: column; }
  .syi-sync__selection-bar > div { display: grid; grid-template-columns: 1fr 1fr; }
  .syi-sync__selection-bar .syi-sync__primary { grid-column: 1 / -1; }
  .syi-sync__library-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .syi-sync__library-summary .syi-sync__result-row { border-left: 0; border-top: 1px solid var(--syi-line); padding: 12px 6px; }
  .syi-sync__table-wrap { max-height: 560px; }
  .syi-sync__cover { display: none; }
  .syi-sync__title-cell { gap: 8px; }
  .syi-sync__player { grid-template-columns: 56px minmax(0, 1fr); }
  .syi-sync__player-art { height: 56px; width: 56px; }
  .syi-sync__player audio { grid-column: 1 / -1; }
  .syi-sync__library th:nth-child(4), .syi-sync__library td:nth-child(4) { display: none; }
  .syi-sync__library th:first-child, .syi-sync__library td:first-child { width: 9%; }
  .syi-sync__library th:nth-child(2), .syi-sync__library td:nth-child(2) { width: 35%; }
  .syi-sync__library th:nth-child(3), .syi-sync__library td:nth-child(3) { width: 28%; }
  .syi-sync__library th:nth-child(5), .syi-sync__library td:nth-child(5) { width: 14%; }
  .syi-sync__library th:last-child, .syi-sync__library td:last-child { width: 14%; }
  .syi-sync .syi-sync__download { font-size: 0; }
  .syi-sync .syi-sync__download::after { content: "↓"; font-size: 18px; }
  .syi-sync__photo-meta .syi-sync__download { font-size: 13px; }
  .syi-sync__photo-meta .syi-sync__download::after { content: none; }
  .syi-sync__library-foot { align-items: flex-start; flex-direction: column; gap: 0; }
  .syi-sync__export-status { text-align: left; }
  .syi-sync__photo-grid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .syi-sync__photo-open { height: 120px; }
  .syi-sync__viewer-bar { align-items: stretch; flex-direction: column; }
  .syi-sync__viewer-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .syi-sync__viewer-actions .syi-sync__primary { width: 100%; }
  .syi-sync__upload-head, .syi-sync__upload-foot { align-items: stretch; flex-direction: column; }
  .syi-sync__upload-actions { display: grid; grid-template-columns: 1fr; }
  .syi-sync__file-button, .syi-sync__upload-actions button { width: 100%; }
  .syi-sync__queue-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .syi-sync *, .syi-sync *::before, .syi-sync *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Guided start on the welcome page (4/11/2026): one big button, three numbered steps, the rest as small links. */
.syi-sync .syi-sync__start-button { font-size: 18px; padding: 17px 34px; }
.syi-sync__quick-steps { counter-reset: none; display: grid; gap: 12px; list-style: none; margin: 28px 0 0; max-width: 600px; padding: 0; }
.syi-sync__quick-steps li { align-items: flex-start; display: flex; gap: 12px; }
.syi-sync__quick-steps b { align-items: center; background: rgba(0, 113, 227, .1); border-radius: 50%; color: var(--syi-blue); display: inline-flex; flex: none; font-size: 14px; height: 26px; justify-content: center; width: 26px; }
.syi-sync__quick-steps span { color: var(--syi-ink); font-size: 16px; line-height: 1.45; padding-top: 2px; }
.syi-sync__privacy-line { align-items: center; color: var(--syi-muted); display: flex; font-size: 14px; gap: 8px; line-height: 1.45; margin: 22px 0 0; max-width: 600px; }
.syi-sync__privacy-line svg { color: #237a3d; flex: none; height: 18px; width: 18px; }
.syi-sync__computer-link { margin: 10px 0 0; }
.syi-sync__link { background: none; border: 0; color: var(--syi-blue); cursor: pointer; font-size: 14px; padding: 0; text-align: left; }
.syi-sync__link:hover { text-decoration: underline; }
.syi-sync__phone-note { background: #f5f5f7; border: 1px solid var(--syi-line); border-radius: 18px; color: var(--syi-ink); font-size: 16px; line-height: 1.5; margin: 28px 0 0; max-width: 600px; padding: 18px 20px; }
.syi-sync__phone-note strong { display: block; font-size: 17px; margin-bottom: 4px; }
/* A phone or tablet: what to do instead, at the top; no buttons and steps that cannot work there. */
.syi-sync.is-handheld .syi-sync__actions, .syi-sync.is-handheld .syi-sync__quick-steps, .syi-sync.is-handheld .syi-sync__computer-link, .syi-sync.is-handheld .syi-sync__privacy-line, .syi-sync.is-handheld [data-sync-status] { display: none; }
.syi-sync.is-handheld .syi-sync__phone-note { margin-bottom: 40px; }
