
    .ts-grad{ background:linear-gradient(90deg,var(--mk-accent),#a78bfa 55%,#f472b6); -webkit-background-clip:text; background-clip:text; color:transparent; }
    .ts-badge{ display:inline-flex; align-items:center; gap:9px; }
    .ts-badge-dot{ width:7px; height:7px; border-radius:50%; background:var(--mk-accent); box-shadow:0 0 0 4px rgba(255,255,255,.18); }

    .ts-wrap{ max-width:1080px; margin:0 auto; padding:120px 16px 70px; }
    html.mk-stories-on .ts-wrap{ padding-top:14px; }
    /* Discover hides the stories tray, so it claims its own top clearance (incl. the notch) */
    html.fs-dv .ts-wrap{ padding-top:120px; }
    @media(min-width:1280px){ html.fs-dv .ts-wrap{ padding-top:40px; } }
    @media(max-width:820px){ .ts-wrap{ padding-top:calc(78px + env(safe-area-inset-top)); } html.mk-stories-on .ts-wrap{ padding-top:8px; } html.fs-dv .ts-wrap{ padding-top:calc(78px + env(safe-area-inset-top)); } }
    .ts-onboard{ display:flex; align-items:center; gap:14px; padding:14px 16px; margin:0 0 24px; border-radius:16px; border:1px solid var(--t4-line); background:radial-gradient(130% 170% at 0% 0%, color-mix(in srgb,var(--mk-accent) 15%, transparent), transparent 46%), var(--t4-window-bg); }
    .ts-onboard-ic{ width:42px; height:42px; border-radius:12px; flex:0 0 auto; display:flex; align-items:center; justify-content:center; background:var(--t4-soft); color:var(--mk-accent); font-size:18px; }
    .ts-onboard-txt{ flex:1; min-width:0; }
    .ts-onboard-txt b{ display:block; font-size:15px; font-weight:800; font-family:'Geist','Inter',sans-serif; }
    .ts-onboard-txt span{ font-size:13px; color:var(--t4-muted); }
    .ts-onboard .t4-pill{ flex:0 0 auto; }
    .fsh-off{ display:none !important; }
    .ts-feedhead{ display:flex; align-items:center; justify-content:space-between; margin:0 2px 14px; }
    .ts-feedhead h2{ font-family:'Geist','Inter',sans-serif; font-size:20px; font-weight:800; letter-spacing:-.02em; margin:0; }
    .ts-cal-btn{ display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 16px; border-radius:9999px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.07); -webkit-backdrop-filter:blur(18px) saturate(1.5); backdrop-filter:blur(18px) saturate(1.5); color:var(--t4-fg); font-family:inherit; font-size:13px; font-weight:700; cursor:pointer; box-shadow:inset 0 1px 0 rgba(255,255,255,.14); }
    html.t4-light .ts-cal-btn{ background:rgba(255,255,255,.6); border-color:rgba(0,0,0,.08); }
    .ts-cal-btn:active{ transform:scale(.96); }
    .tsx-lab{ font-size:14px; font-weight:650; color:var(--t4-fg); margin:2px 2px 10px; }
    .tsx-people{ display:flex; gap:10px; overflow-x:auto; scrollbar-width:none; padding-bottom:4px; margin-bottom:14px; }
    .tsx-people::-webkit-scrollbar{ display:none; }
    .tsx-p{ flex:0 0 auto; display:flex; align-items:center; gap:9px; padding:8px 14px 8px 8px; border-radius:9999px; border:1px solid var(--t4-line); background:rgba(255,255,255,.05); color:var(--t4-fg); text-decoration:none; font-size:13px; font-weight:700; }
    html.t4-light .tsx-p{ background:rgba(0,0,0,.03); }
    .tsx-p img,.tsx-p .ph{ width:30px; height:30px; border-radius:50%; object-fit:cover; background:var(--t4-soft); display:flex; align-items:center; justify-content:center; font-size:12px; }
    .tsx-colls{ display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
    .tsx-c{ display:flex; align-items:center; gap:12px; padding:9px 10px; border-radius:16px; border:1px solid var(--t4-line); background:color-mix(in srgb,var(--t4-window-bg) 60%,transparent); cursor:pointer; }
    .tsx-c img,.tsx-c .ph{ width:46px; height:46px; border-radius:12px; object-fit:cover; background:var(--t4-soft); display:flex; align-items:center; justify-content:center; color:var(--t4-muted); flex:0 0 auto; }
    .tsx-c b{ display:block; font-size:13.5px; font-weight:700; }
    .tsx-c span{ font-size:12px; color:var(--t4-muted); }
    /* phones: icon and text on one row, the buttons under them at equal width (Start, and Install app when the browser offers it) */
    @media(max-width:640px){
      .ts-onboard{ flex-wrap:wrap; gap:12px; padding:14px; }
      .ts-onboard-txt{ flex:1 1 calc(100% - 56px); }
      .ts-onboard-txt span{ display:block; margin-top:2px; line-height:1.4; }
      .ts-onboard .t4-pill{ flex:1 1 0; min-width:0; justify-content:center; }
    }
    .gp-card{ display:flex; align-items:center; gap:16px; margin:40px 0 8px; padding:14px 10px 14px 18px; border:1px solid var(--t4-line); border-radius:22px; background:var(--t4-window-bg); }
    .gp-ic{ width:56px; height:56px; border-radius:14px; flex:0 0 auto; }
    .gp-txt{ flex:1 1 auto; min-width:0; }
    .gp-txt b{ display:block; font-family:'Geist','Inter',sans-serif; font-size:16px; font-weight:700; letter-spacing:-.01em; color:var(--t4-fg); }
    .gp-txt span{ display:block; margin-top:3px; font-size:13.5px; line-height:1.45; color:var(--t4-muted); }
    .gp-badge{ flex:0 0 auto; display:block; line-height:0; }
    .gp-badge img{ height:62px; width:auto; display:block; }
    html.in-app .gp-card, html.is-ios .gp-card, html.feed-page .gp-card, html.fs-dv .gp-card{ display:none; }
    @media(max-width:640px){ .gp-card{ flex-wrap:wrap; padding:16px; gap:12px 14px; } .gp-txt{ flex:1 1 calc(100% - 70px); } .gp-badge{ margin:0 auto; } .gp-badge img{ height:60px; } }
    .ts-sec-head{ text-align:center; margin:52px 0 24px; }
    .ts-sec-head h2{ font-family:'Geist','Inter',sans-serif; font-size:clamp(23px,3.6vw,33px); font-weight:800; letter-spacing:-.03em; margin:0 0 8px; }
    .ts-sec-head p{ color:var(--t4-muted); font-size:15px; margin:0; }

    /* ── Top 5 walkthrough ── */
    .ts-top5{ margin-top:30px; }
    .ts-invite{ position:relative; overflow:hidden; border-radius:24px; border:1px solid var(--t4-line); background:
        radial-gradient(130% 120% at 0% 0%, color-mix(in srgb,var(--mk-accent) 14%, transparent), transparent 42%),
        radial-gradient(120% 120% at 100% 0%, rgba(167,139,250,.14), transparent 46%),
        var(--t4-window-bg); padding:38px 30px; text-align:center; }
    .ts-invite h2{ font-family:'Geist','Inter',sans-serif; font-size:clamp(24px,4vw,34px); font-weight:800; letter-spacing:-.03em; margin:0 0 10px; }
    .ts-invite p{ color:var(--t4-muted); font-size:15px; margin:0 auto 22px; max-width:440px; line-height:1.55; }
    .ts-steps-row{ display:flex; align-items:stretch; justify-content:center; gap:14px; flex-wrap:wrap; margin:6px auto 26px; max-width:620px; }
    .ts-step{ flex:1 1 150px; max-width:190px; display:flex; flex-direction:column; align-items:center; gap:9px; padding:18px 12px; border-radius:16px; background:var(--t4-soft); border:1px solid var(--t4-line); }
    .ts-step .n{ width:26px; height:26px; border-radius:50%; background:var(--mk-accent); color:var(--mk-on-accent,#0b0b0c); font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; }
    .ts-step .ic{ font-size:22px; color:var(--mk-accent); }
    .ts-step b{ font-size:14px; font-weight:700; }
    .ts-step.done .n{ background:#22c55e; color:#00210f; }
    .ts-invite .t4-pill{ font-size:15px; padding:13px 26px; }

    /* filled top-5 */
    .ts-filled-head{ display:flex; align-items:center; justify-content:space-between; margin:0 2px 16px; }
    .ts-filled-head h2{ font-family:'Geist','Inter',sans-serif; font-size:clamp(21px,3vw,28px); font-weight:800; letter-spacing:-.03em; margin:0; }
    .ts-edit{ border:1px solid var(--t4-line); background:var(--t4-soft); color:var(--t4-fg); font-family:inherit; font-weight:600; font-size:13px; padding:8px 16px; border-radius:9999px; cursor:pointer; }
    .ts-frow{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
    .ts-frow-lab{ flex:0 0 58px; font-size:12px; font-weight:700; color:var(--t4-muted); text-transform:uppercase; letter-spacing:.04em; }
    .ts-frow-items{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; }
    .ts-frow-items::-webkit-scrollbar{ display:none; }
    .ts-fitem{ position:relative; flex:0 0 auto; width:58px; height:87px; border-radius:9px; overflow:hidden; background:var(--t4-soft); border:1px solid var(--t4-line); display:flex; align-items:center; justify-content:center; font-size:9px; color:var(--t4-muted); text-align:center; padding:2px; cursor:pointer; }
    .ts-fitem img{ width:100%; height:100%; object-fit:cover; }
    .ts-fitem .rk{ position:absolute; left:4px; top:4px; width:16px; height:16px; border-radius:50%; background:rgba(0,0,0,.6); color:#fff; font-size:9px; font-weight:800; display:flex; align-items:center; justify-content:center; }
    .ts-fitem.add{ border-style:dashed; color:var(--t4-muted); font-size:16px; }

    /* ── Taste match ── */
    .ts-match{ display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:center; margin-top:62px; padding:38px; border-radius:24px; background:var(--t4-window-bg); border:1px solid var(--t4-line); }
    .ts-eyebrow{ color:var(--mk-accent); font-weight:800; font-size:12px; letter-spacing:.14em; text-transform:uppercase; margin-bottom:12px; }
    .ts-match-copy h2{ font-family:'Geist','Inter',sans-serif; font-size:clamp(23px,3.2vw,31px); font-weight:800; letter-spacing:-.03em; margin:0 0 12px; line-height:1.1; }
    .ts-match-copy p{ color:var(--t4-muted); font-size:15px; line-height:1.65; margin:0; }
    .ts-mm{ display:flex; align-items:center; justify-content:center; gap:14px; }
    .ts-mm-av{ width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:19px; color:#fff; }
    .ts-mm-av.a1{ background:linear-gradient(135deg,#e5e7eb,#3b82f6); }
    .ts-mm-av.a2{ background:linear-gradient(135deg,#f472b6,#a78bfa); }
    .ts-mm-ring{ display:flex; flex-direction:column; align-items:center; justify-content:center; width:84px; height:84px; border-radius:50%; border:3px solid var(--mk-accent); font-weight:800; font-size:20px; color:var(--t4-fg); background:var(--t4-bg); }
    .ts-mm-ring small{ font-size:9px; font-weight:700; color:var(--t4-muted); text-transform:uppercase; letter-spacing:.1em; }
    .ts-mm-chips{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:22px; }
    .ts-mm-chips span{ font-size:12px; font-weight:600; padding:6px 12px; border-radius:9999px; background:var(--t4-soft); border:1px solid var(--t4-line); color:var(--t4-muted); }

    /* ── Browse ── */
    .ts-toolbar{ display:flex; flex-direction:column; gap:12px; margin-bottom:24px; }
    .ts-tabs{ display:flex; width:100%; gap:4px; padding:4px; border-radius:9999px; background:var(--t4-soft); border:1px solid var(--t4-line); }
    .ts-tab{ flex:1 1 0; min-width:0; display:flex; align-items:center; justify-content:center; border:none; background:transparent; color:var(--t4-muted); font-weight:700; font-size:13.5px; font-family:inherit; padding:10px 4px; border-radius:9999px; cursor:pointer; white-space:nowrap; transition:background .18s, color .18s, transform .1s; }
    .ts-tab.active{ background:var(--t4-fg); color:var(--t4-bg); box-shadow:none; }
    .ts-tab:not(.active):active{ transform:scale(.95); }
    .ts-search{ display:flex; align-items:center; gap:9px; padding:11px 16px; border-radius:9999px; background:var(--t4-soft); border:1px solid var(--t4-line); width:100%; }
    .ts-search:focus-within{ border-color:color-mix(in srgb,var(--mk-accent) 50%,transparent); }
    @media(min-width:720px){ .ts-toolbar{ flex-direction:row; align-items:center; } .ts-tabs{ width:auto; } .ts-tab{ flex:0 0 auto; padding:9px 18px; } .ts-search{ width:auto; flex:1; max-width:360px; margin-left:auto; } }
    .ts-search i{ color:var(--t4-muted); font-size:13px; }
    .ts-search input{ flex:1; min-width:0; background:none; border:none; outline:none; color:var(--t4-fg); font-family:inherit; font-size:14px; }
    .ts-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(128px,1fr)); gap:16px; }
    .ts-card{ position:relative; }
    .ts-poster{ position:relative; aspect-ratio:2/3; border-radius:12px; overflow:hidden; background:var(--t4-soft); transition:transform .15s ease, box-shadow .2s ease; }
    .ts-card:hover .ts-poster{ transform:translateY(-4px); box-shadow:0 14px 30px rgba(0,0,0,.35); }
    .ts-poster img{ width:100%; height:100%; object-fit:cover; }
    .ts-badge-kind{ position:absolute; top:6px; left:6px; font-size:9px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; padding:3px 6px; border-radius:6px; background:rgba(0,0,0,.6); color:#fff; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
    .ts-myrate{ position:absolute; top:6px; right:6px; font-size:10px; font-weight:800; color:#ffd24a; background:rgba(0,0,0,.66); padding:2px 6px; border-radius:7px; display:flex; gap:3px; align-items:center; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
    /* action buttons bottom-right */
    .ts-acts{ position:absolute; right:6px; bottom:6px; display:flex; gap:6px; opacity:0; transform:translateY(4px); transition:opacity .15s, transform .15s; }
    .ts-card:hover .ts-acts, .ts-acts.show{ opacity:1; transform:none; }
    .ts-act{ width:30px; height:30px; border-radius:50%; border:none; background:rgba(0,0,0,.62); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:12px; -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); transition:background .15s, transform .1s; }
    .ts-act:active{ transform:scale(.9); }
    .ts-act.on, .ts-act.seen.on{ background:#fff; color:#111; }   /* in Watch Later / watched: a quiet white, not lime or green */
    .ts-meta{ padding:8px 2px 0; }
    .ts-meta b{ display:block; font-size:12.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .ts-meta span{ display:block; font-size:11px; color:var(--t4-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } /* one line, like the title: long artist lists made the grid ragged */
    .ts-grid-empty{ grid-column:1/-1; text-align:center; color:var(--t4-muted); padding:54px 20px; font-size:14.5px; }

    @media(max-width:820px){
        .ts-match{ grid-template-columns:1fr; padding:26px; gap:24px; }
        .ts-grid{ grid-template-columns:repeat(auto-fill,minmax(104px,1fr)); gap:12px; }
        .ts-acts{ opacity:1; transform:none; right:5px; bottom:5px; gap:4px; }
        .ts-act{ width:26px; height:26px; font-size:11px; background:rgba(0,0,0,.5); }
    }

    /* ── Picker overlay (stepped) ── */
    .ts-ov{ position:fixed; inset:0; z-index:3200; display:none; align-items:flex-end; justify-content:center; background:rgba(0,0,0,.55); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
    .ts-ov.open{ display:flex; }
    .ts-ov-card{ width:100%; max-width:560px; max-height:88vh; display:flex; flex-direction:column; background:var(--t4-window-bg); border:1px solid var(--t4-line); border-radius:22px 22px 0 0; overflow:hidden; animation:tsUp .28s cubic-bezier(.16,1,.3,1) both; }
    @keyframes tsUp{ from{ transform:translateY(24px); opacity:0; } to{ transform:translateY(0); opacity:1; } }
    @media(min-width:720px){ .ts-ov{ align-items:center; } .ts-ov-card{ border-radius:22px; } }
    .ts-ov-head{ display:flex; align-items:flex-start; justify-content:space-between; padding:18px 20px 12px; }
    .ts-ov-head h3{ margin:0; font-size:17px; font-weight:800; font-family:'Geist','Inter',sans-serif; }
    .ts-steps{ display:flex; gap:6px; margin-top:9px; }
    .ts-steps i{ width:22px; height:5px; border-radius:3px; background:var(--t4-line); transition:background .2s; }
    .ts-steps i.on{ background:var(--mk-accent); }
    .ts-steps i.done{ background:#22c55e; }
    .ts-ov-x{ border:none; background:var(--t4-soft); color:var(--t4-fg); width:32px; height:32px; border-radius:50%; font-size:20px; line-height:1; cursor:pointer; flex:0 0 auto; }
    /* the five slots: what you picked, in order, then the empty ones. It must not shrink (the card is a flex column) */
    .ts-pick-chosen{ flex:0 0 auto; display:flex; gap:10px; padding:10px 20px 14px; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }
    .ts-pick-chosen::-webkit-scrollbar{ display:none; }
    .ts-chosen{ position:relative; flex:0 0 auto; width:62px; height:93px; border-radius:10px; }
    .ts-chosen img{ width:100%; height:100%; object-fit:cover; border-radius:10px; display:block; }
    .ts-chosen i{ position:absolute; left:5px; bottom:5px; min-width:18px; height:18px; padding:0 5px; border-radius:9999px; background:rgba(0,0,0,.78); color:#fff; font-size:10.5px; font-weight:800; font-style:normal; line-height:18px; text-align:center; }
    .ts-chosen button{ position:absolute; top:-6px; right:-6px; width:22px; height:22px; border-radius:50%; border:2px solid var(--t4-window-bg); background:#e11d48; color:#fff; font-size:13px; line-height:1; cursor:pointer; padding:0; }
    .ts-chosen.empty{ border:1.5px dashed var(--t4-line); display:flex; align-items:center; justify-content:center; color:var(--t4-muted); font-size:13px; font-weight:800; }
    .ts-pick-results{ flex:1; min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:rgba(128,128,128,.45) transparent; padding:6px 20px 12px; display:grid; grid-template-columns:repeat(auto-fill,minmax(88px,1fr)); gap:10px; align-content:start; }
    .ts-res{ cursor:pointer; }
    .ts-res img{ width:100%; aspect-ratio:2/3; object-fit:cover; border-radius:9px; border:1px solid var(--t4-line); }
    .ts-res.chosen img{ outline:2px solid var(--mk-accent); outline-offset:1px; }
    .ts-res b{ display:block; font-size:11px; margin-top:4px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .ts-ov-foot{ display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-top:1px solid var(--t4-line); gap:12px; }
    .ts-ov-foot span{ color:var(--t4-muted); font-size:13px; flex:1; text-align:center; }
    .ts-foot-skip{ border:none; background:none; color:var(--t4-muted); font-family:inherit; font-weight:600; font-size:14px; cursor:pointer; padding:6px 4px; }
    .ts-search-lg{ margin:0 20px 12px; max-width:none; }
    .sheet-grab{ width:40px; height:4px; border-radius:3px; background:var(--t4-line); margin:10px auto 0; cursor:grab; flex:0 0 auto; touch-action:none; }
    .ts-sentinel{ min-height:1px; }
    .ts-loading{ grid-column:1/-1; text-align:center; color:var(--t4-muted); padding:22px; font-size:13px; }

    /* ── Rating bottom sheet (ID-scoped: generic .rate-ov seller rules can NOT override) ── */
    #rateSheet{ position:fixed; inset:0; z-index:5500; display:none; align-items:flex-end; justify-content:center; background:rgba(0,0,0,.55); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); padding:0; }
    #rateSheet.open{ display:flex; animation:rateFade .2s ease; }
    @keyframes rateFade{ from{ opacity:0; } to{ opacity:1; } }
    #rateSheet .rate-card{ position:relative; width:100%; max-width:460px; background:color-mix(in srgb,var(--t4-window-bg) 90%,transparent); -webkit-backdrop-filter:blur(30px) saturate(1.6); backdrop-filter:blur(30px) saturate(1.6); border:1px solid var(--t4-line); border-bottom:none; border-radius:30px 30px 0 0; padding:8px 20px calc(22px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; box-shadow:0 -18px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); animation:rateUp .38s cubic-bezier(.22,1,.36,1) both; }
    @keyframes rateUp{ from{ transform:translateY(100%); } to{ transform:translateY(0); } }
    @media(min-width:640px){ #rateSheet{ align-items:center; padding:16px; } #rateSheet .rate-card{ border-radius:28px; border-bottom:1px solid var(--t4-line); max-width:420px; } }
    #rateSheet .rate-grab{ width:38px; height:4px; border-radius:3px; background:var(--t4-line); margin:6px auto 14px; flex:0 0 auto; }
    #rateSheet .rate-skip{ position:absolute; top:18px; right:16px; border:1px solid var(--t4-line); background:var(--t4-soft); color:var(--t4-muted); font-family:inherit; font-weight:700; font-size:12px; cursor:pointer; padding:7px 14px; border-radius:9999px; }
    #rateSheet .rate-head{ display:flex; align-items:center; gap:14px; padding-right:62px; }
    #rateSheet .rate-poster{ width:60px; height:90px; object-fit:cover; border-radius:12px; box-shadow:0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.14); background:var(--t4-soft); flex:0 0 auto; }
    #rateSheet .rate-ht{ min-width:0; }
    #rateSheet .rate-eyebrow{ font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--mk-accent); margin-bottom:4px; }
    #rateSheet .rate-title{ font-family:"Geist","Inter",sans-serif; font-size:17px; font-weight:800; letter-spacing:-.02em; line-height:1.15; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
    #rateSheet .rate-sub{ font-size:12.5px; color:var(--t4-muted); font-weight:600; margin-top:3px; }
    #rateSheet .rate-starbox{ margin-top:16px; padding:18px 14px 13px; border-radius:18px; background:var(--t4-soft); border:1px solid var(--t4-line); display:flex; flex-direction:column; align-items:center; }
    #rateSheet .rate-stars{ position:relative; display:inline-block; cursor:pointer; touch-action:none; -webkit-user-select:none; user-select:none; padding:4px 0; }
    #rateSheet .rate-stars .rs-base,#rateSheet .rate-stars .rs-fill{ display:flex; gap:10px; font-size:33px; line-height:1; }
    #rateSheet .rate-stars .rs-base{ color:color-mix(in srgb,var(--t4-fg) 14%,transparent); }
    #rateSheet .rate-stars .rs-fillwrap{ position:absolute; top:4px; left:0; bottom:4px; overflow:hidden; width:0; pointer-events:none; }
    #rateSheet .rate-stars .rs-fill{ color:#ffc93d; filter:drop-shadow(0 3px 10px rgba(255,201,61,.35)); }
    #rateSheet .rate-rtxt{ font-size:13px; font-weight:800; color:var(--t4-fg); margin-top:9px; letter-spacing:.01em; font-variant-numeric:tabular-nums; }
    #rateSheet .rate-note{ width:100%; margin-top:12px; background:var(--t4-soft); border:1px solid var(--t4-line); border-radius:16px; padding:13px 15px; color:var(--t4-fg); font-family:inherit; font-size:14px; line-height:1.5; resize:none; outline:none; min-height:84px; transition:border-color .2s; }
    #rateSheet .rate-note:focus{ border-color:color-mix(in srgb,var(--mk-accent) 55%, transparent); }
    #rateSheet .rate-note::placeholder{ color:var(--t4-muted); }
    #rateSheet .rate-opts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; align-items:center; }
    #rateSheet .rate-opt{ display:inline-flex; align-items:center; gap:7px; padding:9px 14px; border-radius:9999px; background:var(--t4-soft); border:1px solid var(--t4-line); color:var(--t4-muted); font-family:inherit; font-size:12px; font-weight:650; cursor:pointer; }
    #rateSheet .rate-opt.on{ background:color-mix(in srgb,var(--mk-accent) 15%,transparent); border-color:color-mix(in srgb,var(--mk-accent) 42%,transparent); color:var(--t4-fg); }
    #rateSheet #rateLiked.on i{ color:#ff5a6a; }
    /* when you watched it: chips, the native date picker sits invisible inside "Pick a date" */
    #rateSheet .rate-when{ margin:12px 0 0; }
    #rateSheet .rate-when-h{ font-size:12px; font-weight:700; color:var(--t4-muted); margin:0 2px 8px; }
    #rateSheet .rate-when-chips{ display:flex; flex-wrap:wrap; gap:7px; }
    #rateSheet .rate-wc{ position:relative; display:inline-flex; align-items:center; gap:7px; height:36px; padding:0 14px; border-radius:9999px; border:1px solid var(--t4-line); background:var(--t4-soft); color:var(--t4-fg); font-family:inherit; font-size:12.5px; font-weight:650; cursor:pointer; }
    #rateSheet .rate-wc.on{ background:var(--mk-accent); border-color:var(--mk-accent); color:var(--mk-on-accent,#0b0b0c); }
    #rateSheet .rate-date{ position:absolute; left:0; bottom:0; width:100%; height:100%; opacity:0; pointer-events:none; border:0; padding:0; color-scheme:dark; }
    html.t4-light #rateSheet .rate-date{ color-scheme:light; }
    #rateSheet .rate-done{ width:100%; margin-top:14px; height:50px; border-radius:9999px; border:none; background:var(--mk-accent); color:var(--mk-on-accent,#0b0b0c); font-family:inherit; font-weight:800; font-size:15px; cursor:pointer; box-shadow:0 10px 28px rgba(0,0,0,.35); transition:transform .14s; }
    #rateSheet .rate-done:active{ transform:scale(.97); }
    #rateSheet .rate-remove{ margin:12px auto 0; border:none; background:none; color:#ff5a5f; font-family:inherit; font-weight:650; font-size:13px; cursor:pointer; padding:4px 8px; }
    