/* L'interface de Nuku, recopiée de la charte de l'app (Theme.swift). Tout ce qui est ici vit sous [data-ui] :
   c'est un fragment de l'app, avec son verre, ses cartes et ses capsules, pas le style du site. */
[data-ui] {
  --a-text: rgba(255,255,255,.95); --a-text2: rgba(255,255,255,.6); --a-text3: rgba(255,255,255,.4);
  --a-track: rgba(255,255,255,.06); --a-hair: rgba(255,255,255,.08);
  --music: #D8A4B0; --agenda: #D4B58C; --reminders: #D9B77E; --todo: #9DBFA6; --water: #9EC3DE;
  --pomodoro: #D99A8A; --translate: #B2A9E6; --shelf: #A8B4C4; --today: #D6CFC4; --dash: #ECE7DF;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  font-size: 13px; line-height: 1.3; color: var(--a-text); -webkit-font-smoothing: antialiased; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
:where([data-ui]) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:where([data-ui]) svg { display: block; width: 100%; height: 100%; fill: currentColor; }
:where([data-ui]) .ic { display: inline-block; width: 14px; height: 14px; flex: none; }
:where([data-ui]) small { font-size: 11.5px; color: var(--a-text2); }
:where([data-ui]) .muted { color: var(--a-text2); }
:where([data-ui]) .small { font-size: 12px; }
:where([data-ui]) .center { text-align: center; }
:where([data-ui]) :is(h2, h3, h4, h5, p) { margin: 0; font-weight: inherit; letter-spacing: 0; line-height: 1.25; }
:where([data-ui]) input { font: inherit; color: var(--a-text); background: none; border: 0; outline: 0; width: 100%; }
:where([data-ui]) input::placeholder { color: var(--a-text3); }
[data-ui] :focus-visible { outline: 2px solid rgba(158,195,222,.9); outline-offset: 2px; border-radius: 10px; }

/* Niveaux de surface : 1 la carte, 2 l'élément posé dessus */
.card { position: relative; background: rgba(255,255,255,.05); border-radius: 20px; padding: 16px; border: 1px solid rgba(255,255,255,.09); border-top-color: rgba(255,255,255,.14); border-bottom-color: rgba(255,255,255,.04); }
.item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 13px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: 12.5px; white-space: nowrap; transition: background-color .15s ease, transform .12s var(--ease-out); }
.pill .ic { width: 13px; height: 13px; }
.pill.on { background: var(--t, rgba(255,255,255,.9)); color: #171717; border-color: transparent; }
.pill:active, .rbtn:active, .play-big:active, .mini:active, .qk:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .pill:not(.on):hover { background: rgba(255,255,255,.13); } .rbtn:hover { background: rgba(255,255,255,.14); } }
.rbtn { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--f, rgba(255,255,255,.08)); color: var(--f, #fff); flex: none; transition: background-color .15s ease, transform .12s var(--ease-out); }
.rbtn[style*="--f"] { color: #161616; }
.rbtn svg { width: 15px; height: 15px; }
.rbtn.small { width: 36px; height: 36px; } .rbtn.small svg { width: 15px; height: 15px; }
.chips { display: flex; gap: 8px; flex-wrap: nowrap; overflow: hidden; }
.chips.wrap { flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; font-size: 12.5px; color: var(--a-text2); flex: 1; }
.chip b { color: var(--a-text); font-size: 15px; } .chip .yt { color: var(--youtube, #D98C8C); } .chip .bm { color: #D9B77E; }
.sec-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; min-height: 20px; }
.sec-l { display: inline-flex; align-items: center; gap: 8px; color: var(--a-text3); }
.sec-l b { font-size: 11px; letter-spacing: .08em; font-weight: 700; color: var(--a-text3); }
.sec-l .ic { width: 13px; height: 13px; }
.field { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--a-text3); font-size: 14px; }
.field .ic { width: 16px; height: 16px; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); }
.seg > * { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; height: 34px; border-radius: 99px; font-weight: 600; color: var(--a-text2); font-size: 13px; transition: background-color .18s ease, color .18s ease; }
.seg > .on, .seg .pill.on { background: color-mix(in srgb, var(--acc, #fff) 16%, transparent); color: var(--acc, var(--a-text)); }
.seg .pill { background: none; border: 0; }
.seg .ic { width: 13px; height: 13px; }
.seg.big { margin-bottom: 12px; }
.empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 40px 30px; }
.empty .big { width: 36px; height: 36px; margin-bottom: 6px; } .empty b { font-size: 15px; }
.demo-note { text-align: center; color: var(--a-text3); font-size: 11.5px; padding: 10px 0 4px; }
.grp { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--a-text3); margin: 6px 4px 0; }
.grp .ic { width: 12px; height: 12px; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; width: 100%; }
.row > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .ic { width: 16px; height: 16px; color: var(--a-text2); }
.row.sel { background: rgba(255,255,255,.12); } .row .ok { color: #9DBFA6; }
.len { margin-left: auto; color: var(--a-text2); flex: none; } .len.big { font-size: 20px; color: var(--a-text); font-weight: 700; }
.row + .row { margin-top: 8px; }
.ring { display: block; flex: none; }
.ring circle:last-child { transition: stroke-dashoffset .5s var(--ease-out); }
.mini-bar { display: block; height: 4px; border-radius: 4px; background: var(--a-track); overflow: hidden; margin-top: 10px; }
.mini-bar i { display: block; height: 100%; border-radius: 4px; background: #9DBFA6; }
.wbars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; height: 130px; }
.wb { display: grid; grid-template-rows: 1fr auto; gap: 7px; text-align: center; }
.wb-c { position: relative; border-radius: 7px; background: var(--a-track); overflow: hidden; }
.wb-f { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 7px; opacity: .55; transition: height .5s var(--ease-out); }
.wb.now .wb-f { opacity: 1; } .wb.now small { color: var(--a-text); font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--a-text3); margin-right: 5px; }
.dot.live { background: #9DBFA6; } .dot.ok { background: #9DBFA6; } .dot.warn { background: #D9B77E; }
.cover { display: block; flex: none; position: relative; overflow: hidden; }
.art-sun { background: linear-gradient(145deg, #D2668E, #8E4C9C 60%, #5F3A97); }
.art-sun::after { content: ""; position: absolute; inset: 31%; border-radius: 50%; background: #F7D27F; }
.art-waves { background: linear-gradient(180deg, #2C5E7E, #1C3B57); }
.art-waves::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(170deg, transparent 0 18%, rgba(158,195,222,.55) 18% 24%); }
.art-dots { background: #1E2442; }
.art-dots::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 34%, #E7A35C 0 16%, transparent 16.5%), radial-gradient(circle at 66% 62%, #D9B77E 0 22%, transparent 22.5%), radial-gradient(circle at 78% 22%, #F0C988 0 7%, transparent 7.5%); }
.art-stripes { background: repeating-linear-gradient(90deg, #E9D8BE 0 20%, #B98A5E 20% 40%, #6E4A33 40% 60%); }

/* MARK: la barre latérale */
.sb { position: fixed; inset: 0 0 0 auto; width: 0; z-index: 60; }
.sb-hot { position: fixed; top: 0; right: 0; width: 6px; height: 100%; z-index: 1; }
.sb-bulle { position: fixed; right: 0; width: 50px; height: 82px; z-index: 3; transition: opacity .12s linear; touch-action: manipulation; }
.sb-bulle canvas { display: block; pointer-events: none; }
.sb-bulle:focus-visible { outline-offset: -4px; }
.sb-scrim { position: fixed; inset: 0; z-index: 0; display: none; }
.sb.expanded .sb-scrim { display: block; }
@media (hover: hover) and (pointer: fine) { .sb.expanded .sb-scrim { display: none; } }
.sb-open { position: fixed; top: 0; right: 0; height: 100%; width: calc(var(--dw) + 52px); z-index: 2; pointer-events: none; }
.sb.expanded .sb-open { pointer-events: auto; }
.sb.liquid-off .sb-open { visibility: hidden; }
.sb-strip { position: absolute; top: 0; right: 0; width: 52px; height: 100%; }
.sb-strip-bg { position: absolute; inset: 0; background: rgba(12,12,14,.72); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); border-left: 1px solid rgba(255,255,255,.07); }
.sb-strip > button { position: absolute; left: 50%; top: 0; display: grid; place-items: center; border-radius: 11px; color: rgba(255,255,255,.5); transition: background-color .15s ease, color .15s ease; }
.sb-strip > button svg { width: 46%; height: 46%; }
.sb-ic.cur { color: var(--acc, #fff); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.sb-lock.cur, .sb-gear.cur { color: #ECE7DF; }
@media (hover: hover) and (pointer: fine) { .sb-strip > button:hover { color: rgba(255,255,255,.95); background: rgba(255,255,255,.07); } .sb-strip > button:hover .tip { opacity: 1; transform: translate(-6px, -50%); } }
.sb-eyes { width: 44px; height: 52px; border-radius: 14px !important; background: rgba(255,255,255,.07); }
.sb-eyes.cur { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.sb-eyes canvas { display: block; }
.badge { position: absolute; top: -4px; right: -6px; min-width: 17px; height: 17px; border-radius: 9px; background: #ECE7DF; color: #111; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; box-shadow: 0 0 0 2px rgba(12,12,14,.9); }
.sb-sep { position: absolute; left: 14px; right: 14px; height: 1px; background: rgba(255,255,255,.1); }
.tip { position: absolute; right: 100%; top: 50%; transform: translate(0, -50%); margin-right: 6px; padding: 5px 9px; border-radius: 8px; background: rgba(20,20,22,.95); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s ease, transform .2s var(--ease-out); }
.sb.shown .tip { display: none; }
.sb-drawer { position: absolute; top: 0; right: 52px; width: var(--dw); height: 100%; border-radius: 24px 0 0 24px; overflow: hidden; box-shadow: -10px 0 40px rgba(0,0,0,.4); }
.sb-glass { position: absolute; inset: 0; background: rgba(8,8,10,.8); backdrop-filter: blur(34px) saturate(1.6); -webkit-backdrop-filter: blur(34px) saturate(1.6); }
.sb-glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.045), transparent 40%, rgba(0,0,0,.12)); box-shadow: inset 1px 1px 0 rgba(255,255,255,.12); }
.sb-inner { position: relative; width: 560px; height: 100%; display: flex; flex-direction: column; opacity: 0; transition: opacity .18s ease; }
.sb.shown .sb-inner { opacity: 1; }
.sb-head { flex: none; height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 20px; }
.sb-head h2 { font-size: 21px; font-weight: 700; flex: 1; white-space: nowrap; letter-spacing: 0; line-height: 1.2; }
.sb-hic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.sb-hic svg { width: 15px; height: 15px; }
.sb-dt { display: inline-flex; gap: 6px; font-size: 13px; } .sb-dt small { font-size: 13px; } .sb-dt b { font-weight: 600; }
.hbtn { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08) !important; color: var(--a-text2) !important; }
.hbtn svg { width: 11px; height: 11px; }
.sb-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 14px 16px; scrollbar-width: none; }
.sb-body::-webkit-scrollbar { display: none; }
.sb-view { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; transition: opacity .18s ease, transform .22s var(--ease-out); }
.sb-view.enter { opacity: 0; transform: translateY(6px); }

/* Tableau de bord */
.hello { padding: 18px; background: rgba(255,255,255,.07); }
.hello-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.hello-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(178,169,230,.16); color: #B2A9E6; flex: none; }
.hello-ic svg { width: 24px; height: 24px; }
.hello h3 { font-size: 24px; font-weight: 700; } .hello p { color: var(--a-text2); font-size: 14px; margin-top: 3px; }
.hello-chips { display: flex; gap: 8px; }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini { display: flex; flex-direction: column; min-width: 0; padding: 13px; min-height: 112px; transition: transform .12s var(--ease-out), background-color .15s ease; text-align: left; }
@media (hover: hover) and (pointer: fine) { .mini:hover { background: rgba(255,255,255,.08); } }
.mini .sec-t { margin-bottom: 9px; } .mini .go { width: 11px; height: 11px; color: var(--a-text3); }
.mini-m { display: flex; gap: 10px; align-items: center; position: relative; }
.mini-m b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.mini-play { position: absolute; left: 28px; top: 28px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; padding: 6px; box-shadow: 0 0 0 2px #1b1b1d; }
.mini-big { font-size: 22px; font-weight: 700; display: block; white-space: nowrap; } .mini-txt { font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; }
.mini small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mini-w { display: flex; align-items: center; gap: 10px; margin-top: auto; } .mini-w > div { flex: 1; }
.head-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.head-row h4 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; } .head-row h4 .ic { width: 18px; height: 18px; } .head-row .yt { color: #D98C8C; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vid { display: grid; gap: 4px; } .vid b { font-size: 13.5px; line-height: 1.3; }
.thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 13px; overflow: hidden; margin-bottom: 4px; }
.thumb em { position: absolute; right: 8px; bottom: 8px; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.7); }
.th-a { background: #2A2230; } .th-a::before { content: ""; position: absolute; left: 18%; top: 24%; width: 30%; height: 54%; background: #E9C27A; border-radius: 4px 4px 40% 40%; box-shadow: 0 0 40px 16px rgba(233,194,122,.35); } .th-a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: #4A3A30; }
.th-b { background: #162230; } .th-b::before { content: ""; position: absolute; inset: 18% 14%; border-radius: 6px; background: #0E141C; box-shadow: inset 0 0 0 2px #2D4459; } .th-b::after { content: ""; position: absolute; left: 22%; top: 32%; width: 40%; height: 36%; background: repeating-linear-gradient(180deg, #9EC3DE 0 3px, transparent 3px 9px); opacity: .8; }
.news-top { padding: 16px 18px; } .news-top h5 { font-size: 18px; font-weight: 700; line-height: 1.3; margin-top: 10px; }
.src { display: flex; align-items: center; gap: 8px; } .src b { font-weight: 700; color: var(--a-text2); }
.logo { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: #121212; font-weight: 800; font-size: 13px; flex: none; }
.day-l { font-size: 11px; letter-spacing: .08em; font-weight: 700; color: var(--a-text3); margin: 4px 4px -2px !important; }
.news { display: flex; gap: 12px; padding: 12px 14px; align-items: center; } .news > div { display: grid; gap: 3px; } .news b { font-size: 14px; line-height: 1.3; }

/* Musique */
.music-hero { padding: 18px; text-align: center; background: color-mix(in srgb, var(--acc) 14%, rgba(255,255,255,.04)); }
.mh-top { display: flex; justify-content: space-between; align-items: center; }
.src-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px; background: rgba(0,0,0,.25); } .src-pill b { letter-spacing: .12em; font-size: 12px; }
.mh-ic { display: flex; gap: 8px; } .mh-ic .rbtn { background: rgba(0,0,0,.25); }
.vinyl-wrap { position: relative; width: 196px; height: 196px; margin: 18px auto 22px; }
.vinyl-wrap .cover { position: relative; z-index: 1; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.vinyl { position: absolute; top: 8px; left: 38px; width: 180px; height: 180px; border-radius: 50%; background: repeating-radial-gradient(circle, #141414 0 2px, #0b0b0b 2px 4px); transition: transform .6s var(--ease-out); }
.vinyl::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--acc); }
.vinyl-wrap.spin .vinyl { transform: translateX(28px); animation: vinyl 3.2s linear infinite; }
@keyframes vinyl { from { transform: translateX(28px) rotate(0); } to { transform: translateX(28px) rotate(360deg); } }
.music-hero h3 { font-size: 26px; font-weight: 700; } .artist { font-size: 17px; font-weight: 600; color: var(--a-text2); margin-top: 4px !important; } .album { font-size: 14px; color: var(--a-text3); margin-top: 3px !important; }
.seek { margin: 18px 16px 4px; }
.seek-bar { display: block; position: relative; height: 4px; border-radius: 4px; background: rgba(255,255,255,.16); overflow: hidden; }
.seek-bar i { position: absolute; inset: 0 auto 0 0; background: #fff; border-radius: 4px; transition: width 1s linear; }
.seek-t { display: flex; justify-content: space-between; margin-top: 8px; } .seek-t small { font-weight: 700; color: var(--a-text2); }
.ctrls { display: flex; align-items: center; justify-content: space-between; margin: 12px 18px; }
.ctrls .rbtn { width: 46px; height: 46px; background: none; } .ctrls .rbtn svg { width: 26px; height: 26px; }
.ctrls .rbtn[data-act="none"] svg { width: 20px; height: 20px; color: var(--a-text2); }
.play-big { width: 76px; height: 76px; border-radius: 50%; background: #F2F0EC; color: #111; display: grid; place-items: center; transition: transform .14s var(--ease-out); }
.play-big svg { width: 30px; height: 30px; } .play-big.terra { background: #D99A8A; }
.vol { display: flex; align-items: center; gap: 12px; margin: 4px 28px 14px; color: var(--a-text2); } .vol .seek-bar { flex: 1; }
.mh-out { display: flex; gap: 8px; } .mh-out .pill { background: rgba(0,0,0,.22); height: 36px; }
.music-tabs { padding: 10px; } .sleep { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 10px 0; justify-content: center; } .music-tabs .seg { margin-bottom: 8px; }
.mt-body { display: grid; gap: 8px; } .mt-body .row { padding: 8px 10px; } .mt-body .row + .row { margin-top: 0; }
.q .cover { border-radius: 8px; }

/* Agenda */
.ag-head { display: grid; gap: 14px; } .ag-head h3 { font-size: 24px; font-weight: 700; }
.ag-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.ag-week span { display: grid; gap: 3px; padding: 7px 0; border-radius: 12px; justify-items: center; } .ag-week b { font-size: 16px; }
.ag-week span.on { background: rgba(212,181,140,.2); box-shadow: inset 0 0 0 1px rgba(212,181,140,.4); }
.ag-week i { width: 4px; height: 4px; border-radius: 50%; background: #D4B58C; }
.next-ev { background: color-mix(in srgb, var(--acc) 16%, rgba(255,255,255,.04)); } .next-ev h4 { font-size: 20px; font-weight: 700; margin: 6px 0 2px; } .next-ev p { color: var(--a-text2); }
.ne-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; } .count { font-size: 15px; font-weight: 700; color: var(--acc); }
.fr { position: relative; height: 470px; margin-left: 38px; }
.fr-h { position: absolute; left: -38px; right: 0; height: 1px; background: rgba(255,255,255,.06); } .fr-h small { position: absolute; left: 0; top: -8px; font-size: 11px; color: var(--a-text3); }
.fr-ev { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 6px 10px; background: color-mix(in srgb, var(--c) 26%, transparent); border-left: 3px solid var(--c); overflow: hidden; display: flex; align-items: baseline; gap: 8px; }
.fr-ev.half { right: 50%; } .fr-ev.half.l2 { left: 50%; right: 4px; } .fr-ev b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; } .fr-ev b { flex: none; max-width: 100%; } .fr-ev small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fr-now { position: absolute; left: -6px; right: 0; height: 2px; background: #D99A8A; } .fr-now::before { content: ""; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #D99A8A; }
.fr-now em { position: absolute; right: 0; top: -18px; font-style: normal; font-size: 11px; font-weight: 700; color: #D99A8A; }

/* Rappels et À faire */
.rem-head, .td-head { display: flex; align-items: center; gap: 16px; position: relative; } .rem-head h3, .td-head h3 { font-size: 21px; font-weight: 700; }
.rem { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; transition: opacity .2s ease, background-color .15s ease; }
.rem > div { flex: 1; display: grid; gap: 3px; min-width: 0; } .rem b { font-size: 14px; font-weight: 600; } .rem small { display: inline-flex; gap: 4px; align-items: center; } .rem small .ic { width: 11px; height: 11px; }
.rem.done { opacity: .5; } .rem.done b { text-decoration: line-through; }
.late { color: #E0928A !important; } .late-a { color: #D9B77E !important; }
.cb { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); flex: none; display: grid; place-items: center; color: #121212; padding: 3px; transition: background-color .18s ease, border-color .18s ease, transform .2s var(--ease-out); }
.done .cb, .cb:has(svg) { background: var(--c); border-color: var(--c); }
.rem:active .cb { transform: scale(.88); }
.list-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.td-n { position: absolute; left: 0; width: 70px; display: grid; justify-items: center; } .td-n b { font-size: 24px; font-weight: 700; line-height: 1; } .td-n small { font-size: 10.5px; }
.add { display: grid; gap: 10px; }

/* Traducteur */
.lang { display: flex; gap: 8px; align-items: center; } .tone { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.ta { padding: 14px; min-height: 92px; font-size: 15px; line-height: 1.45; } .ta.out { background: rgba(178,169,230,.1); border-color: rgba(178,169,230,.2); }
.ta-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; }
.engines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .eng { padding: 10px; display: grid; gap: 6px; } .eng b { font-size: 12.5px; } .eng.sel { background: rgba(178,169,230,.16); border-color: rgba(178,169,230,.35); }

/* Pomodoro */
.pomo { display: grid; gap: 16px; }
.dial { position: relative; width: 250px; height: 250px; margin: 4px auto; display: grid; place-items: center; }
.dial > .ring { position: absolute; inset: 0; }
.ticks { position: absolute; inset: 14px; } .ticks span { position: absolute; left: 50%; top: 0; width: 1.5px; height: 6px; margin-left: -.75px; background: rgba(255,255,255,.14); transform-origin: 50% 111px; } .ticks span.maj { height: 10px; background: rgba(255,255,255,.3); }
.dial-c { position: relative; text-align: center; display: grid; gap: 4px; } .dial-c b { font-size: 60px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.pomo .ctrls { justify-content: center; gap: 26px; margin: 0; } .pomo .ctrls .rbtn { background: rgba(255,255,255,.08); }
.segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 12px; } .segs i { height: 6px; border-radius: 4px; background: var(--a-track); } .segs i.on { background: #D99A8A; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .stats3 .item, .stats4 .item { padding: 12px; display: grid; gap: 3px; } .stats3 b, .stats4 b { font-size: 19px; font-weight: 700; }
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .stats4 b { font-size: 16px; } .stats4 .mini-bar { margin-top: 6px; } .stats4 .mini-bar i { background: #D6CFC4; }

/* Eau */
.eau { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; }
.bottle { position: relative; height: 250px; display: grid; justify-items: center; }
.cap { width: 46px; height: 20px; border-radius: 5px 5px 2px 2px; background: rgba(255,255,255,.16); }
.b-body { position: relative; width: 112px; height: 226px; margin-top: 4px; border-radius: 34px 34px 22px 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16); overflow: hidden; }
.b-level { position: absolute; inset: 0; transform-origin: bottom; background: linear-gradient(0deg, #D4B58C 0 26%, #9EC3DE 26% 72%, #9DBFA6 72%); opacity: .85; transition: transform .9s var(--ease-drawer); }
.b-wave { position: absolute; left: -10%; width: 120%; height: 10px; margin-bottom: -5px; border-radius: 50%; background: rgba(255,255,255,.25); transition: bottom .9s var(--ease-drawer); }
.lbl { font-size: 11px; letter-spacing: .08em; font-weight: 700; color: var(--a-text3) !important; }
.eau-big { display: flex; align-items: baseline; gap: 6px; } .eau-big b { font-size: 64px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; } .eau-big span { font-size: 24px; color: var(--a-text2); font-weight: 700; }
.kinds { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; font-size: 12px; color: var(--a-text2); } .kinds i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.rest { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 12px; } .rest .ic { color: #9EC3DE; width: 16px; height: 16px; } .rest > div { display: grid; gap: 1px; }
.drink { width: 100%; justify-content: center; height: 42px; font-size: 14px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .qk { display: grid; justify-items: center; gap: 4px; padding: 14px 6px; transition: transform .12s var(--ease-out), background-color .15s ease; } .qk .ic { width: 22px; height: 22px; color: #9EC3DE; } .qk b { font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .qk:hover { background: rgba(158,195,222,.14); } }

/* Étagère */
.last-dl { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; } .last-dl h4 { font-size: 18px; font-weight: 700; margin: 6px 0 2px; } .last-dl .chips { margin-top: 12px; }
.new { display: inline-block; padding: 1px 6px; border-radius: 5px; background: #ECE7DF; color: #111; margin-left: 4px; letter-spacing: .04em; }
.fthumb { position: relative; display: block; width: 100%; aspect-ratio: 16/11; border-radius: 10px; background: #F2EFEA; overflow: hidden; }
.fthumb em { position: absolute; left: 8px; bottom: 8px; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: var(--c); padding: 2px 6px; border-radius: 5px; }
.fthumb::before { content: ""; position: absolute; left: 16%; right: 16%; top: 16%; height: 40%; background: repeating-linear-gradient(180deg, #D3CEC6 0 3px, transparent 3px 8px); }
.fthumb.img::before { inset: 0; height: auto; background: color-mix(in srgb, var(--c) 60%, #2a2030); }
.fthumb.img::after { content: ""; position: absolute; left: 22%; top: 20%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #F7D27F; }
.fthumb.big { aspect-ratio: 1; }
.files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .file { padding: 10px; display: grid; gap: 4px; } .file b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 22px; background: none; border: 1.5px dashed rgba(255,255,255,.18); } .drop .big { width: 28px; height: 28px; color: var(--a-text2); margin-bottom: 4px; }
.clip b { font-weight: 500; }

/* Aujourd'hui */
.td-date { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; } .td-date h3 { font-size: 26px; font-weight: 700; } .td-date .chip { flex: none; height: 34px; }
.meteo { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; background: rgba(158,195,222,.08); }
.city { font-size: 20px; font-weight: 700; display: block; } .mt-now { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; } .mt-now b { font-size: 54px; font-weight: 700; } .cloud { width: 46px !important; height: 46px !important; color: #E6E3DE; }
.mt-b { display: grid; gap: 8px; align-content: center; } .mt-b p { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; } .mt-b b { font-weight: 700; }
.curve { grid-column: 1 / -1; width: 100%; height: auto; margin-top: 6px; overflow: visible; } .curve text { fill: #fff; font-size: 12px; font-weight: 700; } .curve text.h { fill: rgba(255,255,255,.5); font-weight: 500; font-size: 11px; }
.sun { height: 64px; position: relative; overflow: hidden; } .arc { position: absolute; left: 6%; right: 6%; top: 10px; height: 110px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.25); } .arc i { position: absolute; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #E2C793; box-shadow: 0 0 12px rgba(226,199,147,.8); }
.sr { display: flex; justify-content: space-between; } .sr p { display: grid; } .sr b { font-size: 18px; font-weight: 700; }
.moonr { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; } .moonr > div { display: grid; gap: 2px; } .moonr b { font-size: 15px; }
.moonp { width: 56px; height: 56px; border-radius: 50%; background: #121214; box-shadow: inset 12px 0 0 #ECE7DF; flex: none; } .moonp.sm { width: 22px; height: 22px; box-shadow: inset 5px 0 0 #ECE7DF; display: block; margin: 6px 0; }
.cd i { width: 4px; align-self: stretch; border-radius: 2px; } .cd .len small { font-size: 11px; }

/* Réglages */
.swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 12px 0; }
.sw { display: grid; justify-items: center; gap: 6px; text-align: center; } .sw i { width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: transform .15s var(--ease-out); } .sw small { font-size: 10.5px; line-height: 1.2; }
.sw.on i { box-shadow: 0 0 0 2px #0d0d0f, 0 0 0 4px #ECE7DF; } .sw:active i { transform: scale(.92); }
.tog { cursor: pointer; } .switch { width: 42px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.16); position: relative; flex: none; transition: background-color .2s ease; } .switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .22s var(--ease-out); } .switch.on { background: #9DBFA6; } .switch.on i { transform: translateX(16px); }

/* Panneau étroit (téléphone) : la mise en page se resserre au lieu de rétrécir */
.sb.narrow .two { grid-template-columns: 1fr; }
.sb.narrow .engines, .sb.narrow .stats4 { grid-template-columns: repeat(2, 1fr); }
.sb.narrow .swatches { grid-template-columns: repeat(4, 1fr); }
.sb.narrow .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sb.narrow .hello-chips { flex-wrap: wrap; } .sb.narrow .hello-chips .chip { flex: 1 1 40%; }
.sb.narrow .eau { grid-template-columns: 100px 1fr; gap: 14px; } .sb.narrow .b-body { width: 92px; } .sb.narrow .eau-big b { font-size: 50px; }
.sb.narrow .videos { grid-template-columns: 1fr; }
.sb.narrow .files { grid-template-columns: repeat(2, 1fr); }
.sb.narrow .last-dl { grid-template-columns: 90px 1fr; }
.sb.narrow .chips { flex-wrap: wrap; }
.sb.narrow .mh-out { flex-wrap: wrap; }
.sb.narrow .seg > * { font-size: 12px; gap: 4px; }
.sb.narrow .sb-head h2 { font-size: 19px; } .sb.narrow .sb-dt small { display: none; }

/* MARK: le notch */
.notch { position: relative; display: flex; justify-content: center; pointer-events: none; }
.n-shape { position: relative; background: #000; border-radius: 0 0 var(--r) var(--r); pointer-events: auto; transition: width .5s var(--ease-drawer), height .5s var(--ease-drawer), border-radius .5s var(--ease-drawer); }
.n-shape::before, .n-shape::after { content: ""; position: absolute; top: 0; width: var(--f); height: var(--f); transition: width .5s var(--ease-drawer), height .5s var(--ease-drawer); }
.n-shape::before { right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--f) - .5px), #000 var(--f)); }
.n-shape::after { left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--f) - .5px), #000 var(--f)); }
.notch[data-kind="open"] .n-shape { box-shadow: 0 8px 18px rgba(0,0,0,.45); }
.n-layer { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; transition: opacity .22s ease, transform .3s var(--ease-out); }
.n-layer.in { opacity: 0; transform: scale(.96); transform-origin: 50% 0; }
.n-layer.out { opacity: 0; transition-duration: .12s; pointer-events: none; }
.n-closed { height: 32px; display: flex; align-items: center; justify-content: space-between; }
.n-closed .n-cam { width: var(--cam); flex: none; } .n-wing { flex: 1; display: flex; justify-content: center; align-items: center; }
.n-time { font-size: 13px; font-weight: 600; } .n-time.terra { color: #D99A8A; }
.n-wing .ic { width: 15px; height: 15px; } .lvl { width: 74px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; } .lvl i { display: block; height: 100%; background: #fff; }
.abars { display: inline-flex; gap: 2.2px; align-items: center; height: 15px; }
.abars i { width: 2.6px; height: 14px; border-radius: 2px; background: var(--c); transform-origin: center; animation: abar .9s ease-in-out infinite alternate; }
.abars i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; } .abars i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.6s; } .abars i:nth-child(4) { animation-duration: .8s; animation-delay: -.15s; }
@keyframes abar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.n-peek { position: absolute; left: 18px; right: 18px; top: 32px; bottom: 0; display: flex; align-items: center; gap: 12px; }
.n-peek > div { flex: 1; display: grid; gap: 1px; min-width: 0; } .n-peek b { font-size: 15px; font-weight: 600; } .n-peek small { font-size: 13px; color: rgba(255,255,255,.55); }
.pk-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--t); background: color-mix(in srgb, var(--t) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t) 35%, transparent); padding: 10px; flex: none; }
.pk-v { font-size: 24px !important; font-weight: 500 !important; }
.n-open { position: absolute; inset: 0; display: flex; flex-direction: column; }
.n-band { height: 32px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; font-size: 13.5px; } .n-band > b { font-size: 15px; font-weight: 700; }
.n-dt { display: inline-flex; gap: 6px; align-items: center; } .n-dt small { font-size: 13.5px; } .n-dt b { font-weight: 600; } .n-dt .abars { transform: scale(.85); }
.n-mid { flex: 1; display: flex; align-items: center; gap: 6px; padding: 4px 12px 0; min-height: 0; }
.n-page { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; min-width: 0; }
.ab { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; color: rgba(255,255,255,.85); transition: background-color .15s ease; } .ab svg { width: 11px; height: 11px; }
@media (hover: hover) and (pointer: fine) { .ab:hover { background: rgba(255,255,255,.2); } }
.n-dots { display: flex; gap: 5px; justify-content: center; padding: 6px 0 12px; } .n-dots button { position: relative; width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); transition: width .25s var(--ease-out), background-color .2s ease; } .n-dots button.on { width: 14px; background: rgba(255,255,255,.95); } .n-dots button::after { content: ""; position: absolute; inset: -10px -3px; }
.np-music { display: grid; gap: 10px; width: 100%; padding: 0 14px; }
.npm-t { display: flex; align-items: center; gap: 14px; } .npm-t > div { flex: 1; display: grid; gap: 2px; min-width: 0; } .npm-t b { font-size: 17px; font-weight: 700; } .npm-t small { font-size: 13px; }
.npm-seek { display: flex; gap: 12px; align-items: center; } .npm-seek .seek-bar { flex: 1; height: 4px; } .npm-seek small { font-weight: 600; font-size: 12px; }
.npm-c { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; } .npm-c .ic { width: 18px; height: 18px; } .npm-c span { display: flex; gap: 22px; } .npm-c button { width: 24px; height: 24px; }
.np-list { display: grid; gap: 7px; width: 100%; padding: 0 10px; } .np-list.tight { gap: 5px; }
.np-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.07); width: 100%; } .np-row > div { flex: 1; display: grid; min-width: 0; } .np-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .np-row .h { font-size: 15px; flex: none; }
.np-row .evbar { width: 3px; height: 28px; border-radius: 2px; flex: none; } .np-row .cb { width: 18px; height: 18px; padding: 2px; } .np-row.done { opacity: .55; } .np-row.done b { text-decoration: line-through; }
.np-list.tight .np-row { padding: 6px 10px; }
.np-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(255,255,255,.1); font-weight: 600; white-space: nowrap; flex: none; } .np-pill svg { width: 13px; height: 13px; } .np-pill.on { background: #ECE7DF; color: #111; } .np-pill.on.w { background: #9EC3DE; }
.np-tr { display: grid; grid-template-columns: 1fr 20px 1fr; gap: 10px; align-items: center; width: 100%; padding: 0 8px; } .np-box { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; gap: 4px; min-height: 96px; align-content: start; } .np-box.on { background: rgba(178,169,230,.14); } .np-box p { font-size: 14px; line-height: 1.4; }
.np-pomo, .np-water, .np-todo { display: flex; gap: 24px; align-items: center; width: 100%; padding: 0 16px; }
.np-dial { position: relative; width: 78px; height: 78px; display: grid; place-items: center; flex: none; } .np-dial .ring { position: absolute; inset: 0; } .np-dial .ic { width: 26px; height: 26px; }
.np-big { font-size: 40px; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; display: block; } .np-big small { font-size: 15px; color: rgba(255,255,255,.55); font-weight: 600; }
.np-btns { display: flex; gap: 8px; margin-top: 10px; align-items: center; } .np-play { width: 38px; height: 38px; border-radius: 50%; background: #D99A8A; color: #111; display: grid; place-items: center; padding: 11px; }
.np-pomo > div { display: grid; justify-items: center; flex: 1; }
.np-hours { flex: 1; display: grid; grid-template-columns: repeat(13, 1fr); gap: 5px; height: 96px; align-items: end; position: relative; padding-bottom: 18px; }
.np-hours i { height: 100%; border-radius: 4px; background: rgba(255,255,255,.07); position: relative; overflow: hidden; } .np-hours i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: #9EC3DE; opacity: .75; }
.np-hours small { position: absolute; bottom: 0; font-size: 10.5px; } .np-hours small:nth-of-type(1) { left: 0; } .np-hours small:nth-of-type(2) { left: 22%; } .np-hours small:nth-of-type(3) { left: 45%; } .np-hours small:nth-of-type(4) { left: 68%; } .np-hours small:nth-of-type(5) { right: 0; }
.np-todo > div:first-child { flex: none; } .np-todo .np-list { flex: 1; padding: 0; }
.np-shelf { display: flex; gap: 12px; width: 100%; padding: 0 8px; align-items: center; }
.np-drop { flex: 1; display: flex; gap: 10px; padding: 12px; border-radius: 14px; border: 1.5px dashed rgba(255,255,255,.22); min-height: 140px; align-items: center; }
.np-file { width: 96px; display: grid; justify-items: center; gap: 6px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.07); } .np-file .fthumb { width: 46px; } .np-file b { font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.np-side { display: grid; gap: 8px; } .np-side i { width: 34px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.08); padding: 7px; color: rgba(255,255,255,.75); } .np-side i.on { background: rgba(255,255,255,.22); color: #fff; }
.np-today { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; padding: 0 4px; }
.np-tile { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.07); min-height: 140px; display: grid; align-content: start; gap: 4px; } .np-tile > small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.np-tile p { display: flex; justify-content: space-between; font-size: 13px; } .np-tile p b { font-size: 15px; } .np-tile > span { font-size: 12px; color: rgba(255,255,255,.6); }

@media (prefers-reduced-motion: reduce) {
  .n-shape, .n-shape::before, .n-shape::after { transition-duration: .01s; }
  .n-layer.in { transform: none; } .sb-view.enter { transform: none; }
  .abars i, .vinyl-wrap.spin .vinyl { animation: none; }
  .b-level, .b-wave { transition-duration: .2s; }
}
