* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html, body {
  width: 680px; height: 460px; overflow: hidden; background: transparent;
  font-family: var(--font);
  -webkit-user-select: none; user-select: none; cursor: default; color: var(--label);
}
button { font: inherit; color: inherit; border: 0; cursor: pointer; background: none; padding: 0; }
button svg { flex: none; }
input { font: inherit; }
.sp { flex: 1; }

/* Orol: menyu satri tepasiga yopishgan qora shakl (Coucou: tinch / o'rta / ochiq) */
.island {
  position: absolute; top: var(--top, 0px); left: 50%; transform: translateX(-50%);
  width: var(--w); height: var(--h);
  background: #000; border-radius: 0 0 var(--r) var(--r);
  /* Dynamic Island kabi: ochilishda bouncy spring, yopilishda snappy */
  transition: top var(--t-bouncy) var(--spring-bouncy), width var(--t-bouncy) var(--spring-bouncy), height var(--t-bouncy) var(--spring-bouncy), border-radius .35s var(--ease-out), box-shadow .4s var(--ease-out);
}
.island.closing { transition: top .5s var(--spring-snappy),  width .5s var(--spring-snappy), height .5s var(--spring-snappy), border-radius .3s var(--ease-out); }
.island.open, .island.notice { box-shadow: 0 10px 30px rgba(0,0,0,.28); }
/* Suzuvchi (Dynamic Island): hamma burchak dumaloq, ingichka chegara va yumshoq soya */
.island.floating { border-radius: var(--r); box-shadow: 0 0 0 .5px rgba(255,255,255,.07), 0 6px 18px rgba(0,0,0,.28); }
.island.floating.open, .island.floating.notice { box-shadow: 0 0 0 .5px rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.42); }
.island.floating .ear { display: none !important; }
/* Notch'li Mac'da tepadagi «quloq»lar menyu satriga qo'shilib ketadi; notch'siz Mac'da ko'rinmaydi */
.ear { position: absolute; top: 0; width: 12px; height: 12px; pointer-events: none; display: none; }
.has-notch .island:not(.floating) .ear, .island.soft .ear { display: block; }
/* Yumshoq: orol menyu satriga qayrilib qo'shiladi (MacBook notch kabi) */
.island.soft .ear { width: 14px; height: 14px; }
.island.soft .ear.l { left: -14px; background: radial-gradient(circle at 0 100%, transparent 13.5px, var(--earL, #000) 14px); }
.island.soft .ear.r { right: -14px; background: radial-gradient(circle at 100% 100%, transparent 13.5px, var(--earR, #000) 14px); }
.ear.l { left: -12px; background: radial-gradient(circle at 0 100%, transparent 11.5px, var(--earL, #000) 12px); }
.ear.r { right: -12px; background: radial-gradient(circle at 100% 100%, transparent 11.5px, var(--earR, #000) 12px); }

.bot {
  position: absolute; left: var(--bx); top: var(--by); width: var(--bd); height: calc(var(--bd) + var(--bo));
  transform: translate(-50%, -50%); z-index: 3; opacity: var(--bop, 1);
  transition: left var(--t-bouncy) var(--spring-bouncy), top var(--t-bouncy) var(--spring-bouncy), width var(--t-bouncy) var(--spring-bouncy), height var(--t-bouncy) var(--spring-bouncy), opacity .2s;
  cursor: pointer;
}
.island.v-look .bot, .island.v-agents .bot, .island.v-answer .bot { opacity: 0; pointer-events: none; }

/* o'rta holat: o'ngda 2×2 kichik Momiq'lar */
.grid4 {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%) scale(var(--gs, 1));
  width: 28px; height: 28px; display: grid; grid-template-columns: 12px 12px; gap: 4px; align-content: center; justify-content: center;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.island.compact .grid4 { opacity: 1; }
.grid4 canvas { width: 12px; height: 12px; }
.grid4 b { width: 12px; height: 12px; font-size: 7px; font-weight: 700; display: flex; align-items: center; justify-content: center; color: var(--label); }

/* Diktovka tasmasi */
.dict {
  position: absolute; left: 0; right: 0; top: var(--mb); height: 44px; padding: 0 16px 0 14px;
  display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.island.dictate #dict, .island.drive #drv { opacity: 1; transition-delay: .14s; pointer-events: auto; }
.drv { padding-left: 46px; }
.drvdot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; box-shadow: 0 0 0 0 rgba(10,132,255,.6); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10,132,255,.55); } 70% { box-shadow: 0 0 0 8px rgba(10,132,255,0); } 100% { box-shadow: 0 0 0 0 rgba(10,132,255,0); } }
#drv .lb { height: 24px; font-size: 11.5px; }
.dwave { width: 34px; height: 28px; flex: none; }
.dtext { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; color: var(--label); white-space: nowrap; overflow: hidden; direction: rtl; text-align: left; }
.dtext.over { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px); mask-image: linear-gradient(90deg, transparent 0, #000 36px); }
.dtext > span { direction: ltr; unicode-bidi: isolate; }
.dtext .e { color: var(--label-2); font-weight: 500; }
.dhint { flex: none; font-size: 11px; font-weight: 600; color: var(--label-2); white-space: nowrap; }
.dhint.on { color: var(--green); }
.dhint.busy { color: var(--orange); }

/* ---------- Ochilgan panel ---------- */
/* Qora ochilish: avval qora shakl spring bilan kengayadi, kontent esa 80 ms kechikib blur+fade bilan chiqadi */
.panel {
  position: absolute; inset: 0; padding: 8px 0 10px; display: flex; flex-direction: column; opacity: 0; pointer-events: none;
  filter: blur(10px); transform: translateY(-8px) scale(.97); transform-origin: 50% 0;
  transition: opacity .12s var(--ease-in), filter .12s var(--ease-in), transform .12s var(--ease-in);
}
.island.open .panel, .island.notice .panel {
  opacity: 1; filter: none; transform: none; pointer-events: auto;
  transition: opacity .3s var(--ease-out) .08s, filter .36s var(--ease-out) .08s, transform var(--t-snappy) var(--spring-snappy) .06s;
}
.island.open .panel .hdr { animation: rise .42s var(--ease-out) .1s both; }
.island.open .panel .body > .view:not([hidden]), .island.notice .panel .body > .view:not([hidden]) { animation: rise .5s var(--ease-out) .16s both; }
@keyframes rise { from { opacity: 0; transform: translateY(-6px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.island.notice .hdr { display: none; }
.hdr { position: relative; height: 28px; flex: none; display: flex; align-items: center; padding: 0 18px; }
.tabs { display: flex; gap: 5px; }
.tab { width: 34px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--label-2); background: transparent; transition: background .15s, color .15s; }
.tab svg, .ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tab.on { background: var(--gray4); color: var(--label); }
.tab:hover, .ic:hover { color: var(--label); }
.acts { display: flex; gap: 14px; align-items: center; }
.ic { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; color: var(--label-2); }
.ic.on { color: var(--label); }
.body { flex: 1; min-height: 0; display: flex; padding: 0 10px; }
.view { flex: 1; min-width: 0; display: flex; }
.view.col { flex-direction: column; }
.view.scroll { overflow-y: auto; padding: 4px 6px 0; scrollbar-width: thin; }

/* Asosiy ko'rinish (Coucou overview: Mochi + karta + pill'lar) */
.home { gap: 10px; align-items: stretch; }
.avslot { width: 116px; flex: none; }
.hcard, .ncard {
  flex: 1; min-width: 0; background: var(--gray6); border-radius: 18px; border: 1px solid rgba(255,255,255,.04);
  padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; gap: 3px; position: relative;
}
.hcard .who, .ncard .who { font-size: 12px; }
.hcard .ttl { font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard .st { font-size: 12.5px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard .st i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.hcard .st i.busy { background: var(--blue); } .hcard .st i.hot { background: var(--orange); }
.hcard .go { font-size: 12.5px; font-weight: 600; color: var(--label); margin-top: 2px; display: inline-flex; align-self: flex-start; }
.hcard .go:hover { text-decoration: underline; }
.hcard .row2 { display: flex; gap: 6px; margin-top: 4px; }
.hcard .corner { position: absolute; top: 9px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--gray4); display: flex; align-items: center; justify-content: center; color: var(--label-2); }
.hcard .corner svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.hside {
  width: 256px; flex: none; background: var(--gray6); border-radius: 18px; border: 1px solid rgba(255,255,255,.04);
  padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: center;
}
.pill {
  height: 30px; border-radius: 15px; padding: 0 8px 0 3px; display: flex; align-items: center; gap: 5px; min-width: 0;
  background: var(--gray5); font-size: 11.5px; font-weight: 600; color: rgba(235,235,245,.86); transition: background .15s;
}
.pill:hover, .pill.on { background: var(--gray4); color: var(--label); }
.pill canvas { width: 24px; height: 24px; flex: none; }
.pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill small { margin-left: auto; font-size: 10.5px; color: var(--label-2); font-weight: 600; }
.pill.add { justify-content: center; color: var(--label-2); padding: 0 10px; }

.lb { height: 28px; min-width: 28px; border-radius: 14px; background: var(--gray4); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 0 10px; }
.lb:hover { background: var(--gray3); }
.lb.ok { background: rgba(48,209,88,.18); color: #7EE2A0; }
.lb:active, .btn:active, .chip:active, .pill:active { transform: scale(.96); }

/* Agentlar */
#v-agents { gap: 12px; padding: 0 4px; }
.sess { width: 176px; flex: none; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; scrollbar-width: none; }
.sess button { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; text-align: left; min-width: 0; }
.sess button.on { background: var(--gray5); }
.sess canvas { width: 32px; height: 32px; flex: none; }
.sess .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sess .st { font-size: 11px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sess .st.hot { color: var(--orange); }
.detail { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: thin; }
.detail > * { flex: none; }
.who { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--label-2); min-width: 0; }
.who b { color: var(--label); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.big { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.sub { color: var(--label-2); font-size: 12.5px; line-height: 1.4; }
.ncard .sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.island.ask .ncard .sub { -webkit-line-clamp: 4; }
/* Coucou'dagi kabi: natija rangida yumshoq nur */
.ncard.ok { background: linear-gradient(100deg, var(--gray6) 35%, rgba(48,209,88,.28) 100%); }
.ncard.err { background: linear-gradient(100deg, var(--gray6) 35%, rgba(255,69,58,.26) 100%); }
.ncard.warn { background: linear-gradient(100deg, var(--gray6) 35%, rgba(255,159,10,.26) 100%); }
/* bitta sarlavha: oldida rangli nuqta (manba rangi) — kichik takroriy yozuvsiz */
.dotted { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dotted > i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--green)); flex: none; }
.dotted > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dotted small { color: var(--label-2); font-size: 12px; font-weight: 600; margin-left: auto; padding-left: 8px; flex: none; }
.steps { display: flex; flex-direction: column; gap: 2px; }
.ln { height: 22px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--label-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--gray3); flex: none; }
.ln.done i { border-color: var(--green); background: radial-gradient(circle, var(--green) 45%, transparent 50%); }
.ln.cur { color: var(--label); font-weight: 500; }
.ln.cur i { border-color: var(--blue); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
code, .cmd { font-family: var(--font-mono); font-size: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.06); padding: 8px 10px; border-radius: 10px; color: rgba(235,235,245,.9); white-space: pre-wrap; word-break: break-all; max-height: 120px; overflow: auto; line-height: 1.4; }
.ans { font-size: 12.5px; line-height: 1.45; color: rgba(235,235,245,.86); white-space: pre-wrap; max-height: 150px; overflow-y: auto; background: rgba(255,255,255,.04); border-radius: 12px; padding: 8px 10px; }
.btns { display: flex; gap: 6px; flex-wrap: wrap; }
.btns.end { justify-content: flex-end; margin: 12px 0 6px; }
.btn { border-radius: 999px; padding: 6px 13px; background: rgba(255,255,255,.09); font-size: 12.5px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; transition: background .15s; }
.btn:hover { background: rgba(255,255,255,.15); }
.btn.primary { background: var(--label); color: #000; }
.btn.danger { color: #FF6961; }
.diff { display: flex; flex-direction: column; gap: 4px; }
.diff .fn { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(235,235,245,.72); }
.diff .fn b { color: var(--label); font-family: var(--font-mono); font-weight: 500; }
.diff .pl { color: var(--green); } .diff .mn { color: var(--red); }
.diff pre { margin: 0; font-family: var(--font-mono); font-size: 11px; line-height: 1.5; max-height: 110px; overflow: auto; background: #0B0B0C; border-radius: 10px; padding: 6px 8px; }
.diff pre .d { color: #FF6961; background: rgba(255,69,58,.12); display: block; }
.diff pre .a { color: #7EE2A0; background: rgba(48,209,88,.12); display: block; }
.empty { margin: auto; text-align: center; color: var(--label-2); font-size: 13px; line-height: 1.5; padding: 10px 20px; }
.empty b { display: block; color: var(--label); font-size: 14px; margin-bottom: 4px; }
.qopt { display: flex; flex-direction: column; gap: 4px; }
.qopt button { text-align: left; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 12.5px; }
.qopt button:hover, .qopt button.on { background: rgba(255,255,255,.16); }
.qopt small { display: block; color: var(--label-2); font-size: 11px; }

/* Sozlamalar */
.sec { margin-top: 12px; font-size: 11px; font-weight: 700; color: var(--label-2); text-transform: uppercase; letter-spacing: .4px; }
.sec:first-child { margin-top: 2px; }
.rows { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.row { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 10px; border-radius: 10px; background: var(--gray6); font-size: 12.5px; }
.row > span { flex: 1; }
.row canvas { width: 22px; height: 22px; }
.row small { color: var(--label-2); font-size: 11px; }
.row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); }
.row .lb { height: 24px; font-size: 11.5px; padding: 0 10px; }
.row.tall { padding: 5px 10px; align-items: flex-start; }
.row.tall > span { padding-top: 5px; flex: none; width: 70px; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; flex: 1; }
.chip { height: 24px; padding: 0 9px; border-radius: 12px; background: var(--gray5); font-size: 11.5px; font-weight: 600; color: rgba(235,235,245,.8); }
.chip.on { background: #fff; color: #000; }
.dstats { color: var(--label-2); font-size: 11.5px; }
.hint { font-size: 11px; color: var(--label-3); line-height: 1.5; padding: 10px 4px 0; }
.fld { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--label-2); }
.fld span { width: 86px; flex: none; }
.fld input { flex: 1; background: var(--gray5); border: 0; outline: 0; border-radius: 8px; padding: 6px 9px; color: #fff; font-size: 12.5px; }
.grid { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.outfits button { width: 40px; height: 40px; border-radius: 10px; background: var(--gray6); display: flex; align-items: center; justify-content: center; }
.outfits button.on { box-shadow: inset 0 0 0 2px #fff; }
.outfits canvas { width: 40px; height: 40px; }
.colors button { width: 24px; height: 24px; border-radius: 50%; }
.colors button.on { box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff; }
.colors button.orig { background: linear-gradient(135deg, var(--label), #C4C5CA); }
#emotes { justify-content: flex-start; margin-top: 6px; }

.food { position: fixed; width: 40px; height: 40px; object-fit: contain; border-radius: 6px; z-index: 50; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }

/* Ko'z javobi */
.ahead { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 0 4px; }
.big-ans { max-height: none; flex: 1; font-size: 13px; line-height: 1.5; }
.big-ans code { font-size: 12px; }
.ans code { display: inline; padding: 1px 5px; border-radius: 5px; max-height: none; white-space: pre-wrap; }
.ans pre { margin: 6px 0; }

/* ---------- Suhbat (notch ichida) ---------- */
.chat { gap: 10px; }
.cmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ctop { height: 26px; display: flex; align-items: center; gap: 6px; flex: none; }
.ctx { height: 24px; border-radius: 12px; background: var(--gray5); display: inline-flex; align-items: center; gap: 6px; padding: 0 4px 0 10px; font-size: 12px; font-weight: 600; color: rgba(235,235,245,.86); }
.ctx i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ctx button { width: 18px; height: 18px; border-radius: 50%; color: var(--label-2); font-size: 13px; line-height: 1; }
.ctx button:hover { background: var(--gray4); color: var(--label); }
.mini-lb { height: 22px; padding: 0 9px; border-radius: 11px; background: var(--gray5); color: var(--label-2); font-size: 11.5px; font-weight: 600; }
.mini-lb:hover { color: var(--label); background: var(--gray4); }
.clog { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 4px; scrollbar-width: none; }
.clog::-webkit-scrollbar { display: none; }
.clog .u { align-self: flex-end; max-width: 78%; background: var(--gray4); border-radius: 16px 16px 4px 16px; padding: 6px 12px; font-size: 13px; line-height: 1.35; white-space: pre-wrap; word-break: break-word; }
.clog .u small { display: block; color: var(--label-2); font-size: 11px; }
.clog .m .who { display: block; font-size: 10.5px; font-weight: 600; color: var(--label-2); margin-bottom: 1px; white-space: normal; }
.clog .m { align-self: flex-start; max-width: 92%; font-size: 13px; line-height: 1.45; color: var(--label); white-space: pre-wrap; word-break: break-word; }
.clog .m.err { color: #FF6961; }
.clog .m code { display: inline; padding: 1px 5px; border-radius: 5px; font-size: 12px; white-space: pre-wrap; }
.clog .m pre { margin: 4px 0; }
.clog .typing { align-self: flex-start; display: flex; gap: 4px; padding: 6px 2px; }
.clog .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--label-2); animation: blinkdot 1.2s infinite; }
.clog .typing i:nth-child(2) { animation-delay: .2s; } .clog .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blinkdot { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.clog .empty2 { margin: auto; color: var(--label-3); font-size: 12.5px; text-align: center; }
.cfoot { display: flex; flex: none; }
.mpill { height: 22px; border-radius: 11px; background: var(--gray5); display: inline-flex; align-items: center; gap: 6px; padding: 0 8px 0 10px; font-size: 11.5px; font-weight: 600; color: rgba(235,235,245,.72); }
.mpill i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.mpill svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.catt { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 2px 6px; flex: none; }
.catt .chip { display: flex; align-items: center; gap: 6px; max-width: 210px; height: 26px; padding: 0 4px 0 4px; background: var(--gray5); border-radius: 13px; color: rgba(235,235,245,.86); font-size: 12px; }
.catt .chip img { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; flex: none; }
.catt .chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catt .chip button { width: 18px; height: 18px; border: 0; border-radius: 9px; background: var(--gray4); color: var(--label-2); cursor: pointer; flex: none; font-size: 12px; line-height: 18px; padding: 0; }
.cin { height: 38px; flex: none; display: flex; align-items: center; gap: 6px; background: var(--gray5); border-radius: 19px; padding: 0 4px 0 14px; }
.cin input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--label); font-size: 13.5px; }
.cin input::placeholder { color: var(--label-3); }
.cic { width: 28px; height: 28px; border-radius: 50%; color: var(--label-2); display: flex; align-items: center; justify-content: center; }
.cic.on { color: var(--green); }
.cic svg, .csend svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.csend { width: 30px; height: 30px; border-radius: 50%; background: var(--label); color: #000; display: flex; align-items: center; justify-content: center; }
.csend:disabled { opacity: .35; }

/* ---------- Fayl qo'shish ---------- */
.drop { padding: 0 2px; }
.dz { flex: 1; display: flex; align-items: center; gap: 16px; border: 1.5px dashed var(--gray3); border-radius: 18px; padding: 0 18px 0 12px; transition: border-color .15s, background .15s; }
.dz.over { border-color: var(--label-2); background: rgba(255,255,255,.03); }
.avslot.sm { width: 96px; }
.dzt { display: flex; flex-direction: column; gap: 8px; }
.kinds { display: flex; gap: 6px; }
.kinds span { height: 24px; padding: 0 10px; border-radius: 12px; background: var(--gray5); font-size: 12px; font-weight: 600; color: rgba(235,235,245,.72); display: inline-flex; align-items: center; }

/* macOS boshqaruv markazidagi kabi suriladigan tugma: surayotganda raqam ko'rinib turadi */
.row.slide { gap: 10px; }
.row.slide > span { flex: none; min-width: 64px; }
.row.slide input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 22px; background: transparent; margin: 0; }
.row.slide input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--label) var(--p, 50%), var(--gray3) var(--p, 50%)); }
.row.slide input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 18px; margin-top: -6px; border-radius: 9px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); cursor: grab; }
.row.slide input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.06); }
.row.slide b { flex: none; min-width: 58px; text-align: right; font-size: 12px; font-weight: 600; color: var(--label); font-variant-numeric: tabular-nums; }

/* ---------- Apple: SF Symbols o'lchamlari ---------- */
.tab .sym, .ic .sym { width: 15px; height: 15px; }
.ic .sym { width: 16px; height: 16px; }
.cic .sym { width: 16px; height: 16px; }
.csend .sym { width: 14px; height: 14px; }
.mchev { display: inline-flex; }
.mchev .sym, .mchev svg { width: 10px; height: 10px; }
.tab { border-radius: var(--r-pill); }
.tab.on { background: var(--fill-3); }

/* ---------- Musiqa (Nusa kabi): muqova rangidagi fon, sinxron so'zlar ---------- */
.island { --mbg: #1E4FA8; }
.island.v-music { background: linear-gradient(180deg, #000 22%, color-mix(in srgb, var(--mbg) 55%, #000) 70%, var(--mbg) 100%); }
.island.v-music .nav .tabs { background: rgba(0,0,0,.22); }
.island.lyric { background: linear-gradient(180deg, #000 10%, color-mix(in srgb, var(--mbg) 70%, #000) 100%); }
.island.v-music .bot, .island.lyric .bot { opacity: 0; pointer-events: none; }

/* tinch holat: bitta qator so'z — orol kengligi har qatorga moslashadi */
.mlyr { position: absolute; left: 0; right: 0; top: var(--mpt, 0px); height: var(--mph, 30px); display: flex; align-items: center; gap: 9px; padding: 0 12px 0 10px; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-in); }
.island.lyric .mlyr { opacity: 1; transition: opacity .3s var(--ease-out) .12s; }
.mp-ico { position: relative; width: 18px; height: 18px; flex: none; }
.mp-art { position: absolute; inset: 0; width: 18px; height: 18px; border-radius: 5px; object-fit: cover; opacity: 0; transition: opacity .3s; }
.mp-art.on { opacity: 1; }
.mp-note { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--label); }
.mp-note svg, .mp-note .sym { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.mp-art.on + .mp-note { opacity: 0; }
.mp-line { position: relative; flex: 1; min-width: 0; height: 100%; overflow: hidden; }
.mp-line span {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 12.5px; font-weight: 600; letter-spacing: -.15px; color: var(--label); text-align: center;
  transition: transform .5s var(--spring-snappy), opacity .32s var(--ease-out), filter .32s var(--ease-out);
}
.mp-line span.in { transform: translateY(40%); opacity: 0; filter: blur(5px); }
.mp-line span.out { transform: translateY(-140%); opacity: 0; filter: blur(5px); }
.mp-line span.sub { color: var(--label-2); font-weight: 500; }
/* Nusa to'lqini: 5 tayoqcha, chetdagilari kichik, o'rtadagisi eng baland; to'lqin chapdan o'ngga yuguradi */
.mp-eq { display: flex; align-items: center; gap: 2px; height: 14px; flex: none; }
.mp-eq i { width: 2.5px; height: 100%; border-radius: 2px; background: #fff; transform-origin: 50% 50%; transform: scaleY(calc(var(--k) * .3));
  animation: eqw 1.05s ease-in-out infinite; animation-delay: var(--d); }
.mp-eq i:nth-child(1) { --k: .45; --d: 0s; }
.mp-eq i:nth-child(2) { --k: .72; --d: -.14s; }
.mp-eq i:nth-child(3) { --k: 1; --d: -.28s; }
.mp-eq i:nth-child(4) { --k: .72; --d: -.42s; }
.mp-eq i:nth-child(5) { --k: .45; --d: -.56s; }
.mlyr.paused .mp-eq i { animation-play-state: paused; }
@keyframes eqw { 0%, 100% { transform: scaleY(calc(var(--k) * .3)); } 50% { transform: scaleY(var(--k)); } }

/* ochiq panel: chapda pleyer, o'rtada ingichka chiziq, o'ngda so'zlar */
.music { position: relative; gap: 0; padding: 0 40px; }
.mcard { width: 268px; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding-right: 16px; }
.music.nolyr .mcard { width: auto; flex: 1; min-width: 0; padding-right: 8px; }
.mtop { display: flex; align-items: center; gap: 12px; min-width: 0; }
.m-art { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; flex: none; background: linear-gradient(135deg, var(--gray4), var(--gray5)); box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.m-art:not([src]), .m-art[src=""] { background: linear-gradient(135deg, var(--gray4), var(--gray5)); box-shadow: none; }
.mtt { flex: 1; min-width: 0; }
.m-title { font-size: 15px; font-weight: 600; letter-spacing: -.24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--label); }
.m-artist { font-size: 13px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.m-src { flex: none; height: 18px; padding: 0 7px; border-radius: 9px; font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; background: var(--fill-3); color: var(--label-2); }
.m-src:empty { display: none; }
.m-prog { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; color: var(--label-2); }
.m-prog span { min-width: 30px; }
.m-prog span:last-child { text-align: right; }
.m-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; cursor: pointer; transition: height .2s var(--ease-out); }
.m-bar:hover { height: 6px; }
.m-bar i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--label); }
.m-ctl { display: flex; align-items: center; gap: 18px; height: 26px; }
.m-ic { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; color: var(--label); border-radius: 50%; transition: background .15s, transform .12s var(--ease-out); }
.m-ic:hover { background: rgba(255,255,255,.08); }
.m-ic:active { transform: scale(.88); }
.m-ic .sym, .m-ic svg { width: 17px; height: 17px; }
.m-ic svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-ic.big .sym, .m-ic.big svg { width: 21px; height: 21px; }
#mLyr, #mFind { color: var(--label-2); }
#mLyr .sym, #mFind .sym { width: 15px; height: 15px; }
#mLyr.on { color: var(--label); }
.m-find { display: flex; align-items: center; gap: 6px; height: 30px; border-radius: 15px; background: rgba(255,255,255,.1); padding: 0 4px 0 12px; }
.m-find input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--label); font-size: 13px; }
.m-find input::placeholder { color: var(--label-3); }
.m-qsrc { height: 22px; padding: 0 9px; border-radius: 11px; background: rgba(255,255,255,.14); font-size: 11px; font-weight: 600; color: var(--label); }
.m-lyrics { position: relative; flex: 1; min-width: 0; overflow: hidden; border-left: .5px solid rgba(255,255,255,.14); padding-left: 18px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.music.nolyr .m-lyrics { display: none; }
.m-lines { position: absolute; left: 18px; right: 6px; top: 0; transition: transform .65s var(--spring-smooth); will-change: transform; }
.m-lines p {
  margin: 0; padding: 3px 0; font-size: 15px; font-weight: 700; letter-spacing: -.3px; line-height: 1.25; color: rgba(235,235,245,.32);
  cursor: pointer; transform-origin: 0 50%; transition: color .4s var(--ease-out), transform .5s var(--spring-snappy), filter .4s var(--ease-out);
  filter: blur(.4px);
}
.m-lines p.past { color: rgba(235,235,245,.42); }
.m-lines p.cur { color: #fff; filter: none; transform: scale(1.02); }
.m-lines p.next { color: color-mix(in srgb, var(--mbg) 40%, rgba(235,235,245,.55)); filter: none; }
.m-lines p:hover { color: rgba(235,235,245,.75); }
.m-lines p.gap { height: 10px; padding: 0; }
.m-empty { position: absolute; top: 0; bottom: 0; left: 18px; right: 0; display: flex; align-items: center; color: var(--label-3); font-size: 13px; font-weight: 500; padding-right: 10px; line-height: 1.4; }
.m-empty:empty { display: none; }
.m-empty { cursor: default; }
.mp-note { color: #fff; }
.mp-note .sym { background: #fff !important; }

/* ---------- Yopiq notch: Nusa kabi disk + soat + to'lqin ---------- */
.mp-disc, .mp-clock { display: none; }
.mlyr.disc .mp-ico, .mlyr.disc .mp-line { display: none; }
.mlyr.disc .mp-disc { display: block; position: relative; width: 20px; height: 20px; flex: none; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, #111 0 22%, #2b2b2e 23% 100%); box-shadow: 0 0 0 .5px rgba(255,255,255,.12); animation: spin 6s linear infinite; }
.mlyr.disc .mp-disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* plastinka markazi */
.mlyr.disc .mp-disc i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.mlyr.disc.paused .mp-disc { animation-play-state: paused; }
.mlyr.disc .mp-clock { display: block; flex: 1; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: -.2px; color: #fff; }
.has-notch .mlyr.disc .mp-clock { visibility: hidden; }
/* to'lqin Nusa'dagidek oq, ozgina muqova rangida */
.mlyr.disc .mp-eq { height: 12px; }

/* ---------- Status qatori va pastki ikon qatori (Nusa kabi) ---------- */
.ring { width: 15px; height: 15px; flex: none; color: var(--green); }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .rt { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 2.6; }
.ring .ra { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .6s var(--spring-smooth); }
.ring.low { color: var(--red); }
.ring.chg { color: var(--green); filter: drop-shadow(0 0 3px rgba(48,209,88,.55)); }
.hclock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font-size: 12.5px; }
.hclock span { color: rgba(235,235,245,.86); font-weight: 500; }
.hclock b { color: #fff; font-weight: 700; letter-spacing: -.2px; }
.has-notch .hclock { position: static; transform: none; margin-left: 8px; }
.hwave { height: 12px; }
.hwave[hidden] { display: none !important; }
.nav { margin-top: 8px; height: 38px; flex: none; display: flex; align-items: center; justify-content: center; padding-bottom: 2px; }
.island.notice .nav { display: none; }
.nav .tabs { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: rgba(255,255,255,.06); }
.nav .tab, .nav .ic { width: 34px; height: 26px; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; color: var(--label-2); transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .12s var(--ease-out); }
.nav .tab:hover, .nav .ic:hover { color: var(--label); background: rgba(255,255,255,.06); }
.nav .tab:active, .nav .ic:active { transform: scale(.9); }
.nav .tab.on { color: var(--tc, #fff); background: rgba(255,255,255,.12); }
.nav .tab .sym, .nav .ic .sym, .nav .tab svg, .nav .ic svg { width: 15px; height: 15px; }
.nav .ic.on { color: var(--label); }
.nsep { width: 1px; height: 16px; background: rgba(255,255,255,.14); margin: 0 5px; }

/* ---------- Ovoz: karnay ustiga borganda ingichka slayder chapga ochiladi (Nusa kabi) ---------- */
.m-vol { display: flex; align-items: center; gap: 6px; }
.m-vol input { -webkit-appearance: none; appearance: none; width: 0; height: 22px; margin: 0; background: transparent; opacity: 0; transition: width .45s var(--spring-snappy), opacity .25s var(--ease-out); cursor: pointer; }
.m-vol:hover input, .m-vol.on input { width: 84px; opacity: 1; }
.m-vol input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #fff var(--p, 50%), rgba(255,255,255,.2) var(--p, 50%)); }
.m-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .15s; }
.m-vol input:active::-webkit-slider-thumb { transform: scale(1.25); }
#mVolB { color: var(--label-2); }
#mVolB:hover, .m-vol:hover #mVolB { color: var(--label); }
#mVolB .sym { width: 17px; height: 15px; }
.m-ic.sm { width: 22px; height: 22px; color: var(--label-2); }
.m-ic.sm .sym, .m-ic.sm svg { width: 13px; height: 13px; }
.mcard.searching .m-prog, .mcard.searching .m-ctl { display: none; }
.m-ctl { position: relative; }
.m-tr { display: flex; align-items: center; gap: 16px; }
.m-vol:hover input, .m-vol.on input { width: 58px; }

/* ---------- Bo'lim almashuvi: morph-blur ---------- */
.panel .body { transition: opacity .28s var(--ease-out), filter .34s var(--ease-out), transform .5s var(--spring-snappy); }
.island.swapping .panel .body { opacity: 0; filter: blur(9px); transform: scale(.97); transition: opacity .12s var(--ease-in), filter .12s var(--ease-in), transform .12s var(--ease-in); }
.island.swapin .panel .body > .view:not([hidden]) { animation: rise .42s var(--ease-out) .06s both; }
.island.swapping .bot { opacity: 0 !important; transition: opacity .1s; }

/* ---------- Momiq «imzo nuri» (Nusa'dagi ko'k-binafsha nur o'rnida — Momiq'ning lavanda rangi) ---------- */
:root { --brand: #B79CF0; --brand-2: #8F7BFF; }
.island::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background:
    radial-gradient(72% 95% at 50% 104%, color-mix(in srgb, var(--brand) 90%, transparent), transparent 72%),
    radial-gradient(40% 70% at 28% 108%, color-mix(in srgb, var(--brand-2) 75%, transparent), transparent 72%);
  opacity: .9; transition: opacity .4s var(--ease-out);
}
.island.open::after, .island.notice::after { opacity: 1; background: radial-gradient(64% 42% at 50% 101%, color-mix(in srgb, var(--brand) 58%, transparent), transparent 78%), radial-gradient(34% 32% at 26% 103%, color-mix(in srgb, var(--brand-2) 46%, transparent), transparent 72%); }
/* eng kichik yopiq orol — toza qora, nursiz */
.island.rest::after { opacity: 0; }
/* musiqada fon albom rangida — nur kerak emas */
.island.v-music::after, .island.lyric::after { opacity: 0; }
.island > * { position: relative; z-index: 1; }
.island > .bot, .island > .grid4, .island > .mlyr, .island > .nban, .island > .dict, .island > .panel, .island > .ear { position: absolute; }

/* ---------- Bildirishnoma pill'i (Nusa 1.2): ikon · ilova · kimdan · matn · hozir */
.nban { left: 0; right: 0; top: var(--mpt, 0px); height: 64px; display: flex; align-items: center; gap: 11px; padding: 0 16px 0 10px; opacity: 0; pointer-events: none; transition: opacity .18s var(--ease-in); }
.island.banner .nban { opacity: 1; pointer-events: auto; transition: opacity .25s var(--ease-out) .08s; }
.nb-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; }
.nb-ico img { width: 46px; height: 46px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
.nb-fb { width: 38px; height: 38px; border-radius: 10px; background: var(--c, var(--blue)); display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.18); }
.nb-fb[hidden], .nb-ico img[hidden] { display: none; }
.island.banner .nb-ico { animation: nbIco .7s var(--spring-bouncy) .06s both; }
.island.banner .nb-txt > * { animation: nbUp .5s var(--spring-smooth) both; }
.island.banner .nb-txt > :nth-child(1) { animation-delay: .1s; }
.island.banner .nb-txt > :nth-child(2) { animation-delay: .14s; }
.island.banner .nb-txt > :nth-child(3) { animation-delay: .18s; }
.island.banner .nb-time { animation: nbUp .5s var(--spring-smooth) .12s both; }
@keyframes nbIco { from { transform: scale(.35) rotate(-8deg); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes nbUp { from { transform: translateY(6px); opacity: 0; filter: blur(3px); } to { transform: none; opacity: 1; filter: none; } }
.nb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.22; }
.nb-app { font-size: 11px; color: var(--label-2); letter-spacing: .1px; }
.nb-from { font-size: 14px; font-weight: 600; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-text { font-size: 13px; color: rgba(235,235,245,.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-time { align-self: flex-start; margin-top: 11px; font-size: 11px; color: var(--label-2); flex: none; }
.island.banner::after { opacity: .45; }

/* ---------- Bugun (Nusa Today): bildirishnomalar · hafta · bugungi natija */
.island.v-today .bot { opacity: 0; pointer-events: none; }
.today { gap: 8px; padding: 0 8px 4px; align-items: stretch; }
.td-card { background: var(--gray6); border-radius: 16px; border: 1px solid rgba(255,255,255,.04); padding: 8px 12px; min-width: 0; overflow: hidden; }
.td-list { flex: 1.45; display: flex; flex-direction: column; }
.td-side { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.td-h { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--label-2); letter-spacing: .1px; margin-bottom: 4px; line-height: 16px; }
.td-x { font-size: 11px; color: var(--blue); font-weight: 500; }
.td-x:hover { text-decoration: underline; }
.td-x[hidden] { display: none; }
.td-items { display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.td-it { display: flex; align-items: center; gap: 8px; height: 22px; animation: nbUp .45s var(--spring-smooth) both; }
.td-ico { width: 22px; height: 22px; flex: none; display: grid; place-items: center; }
.td-ico img { width: 22px; height: 22px; }
.td-ico img[hidden], .td-ico .nb-fb[hidden] { display: none; }
.td-ico .nb-fb { width: 18px; height: 18px; border-radius: 5px; font-size: 11px; }
.td-tx { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; overflow: hidden; }
.td-l1 { font-size: 12.5px; color: var(--label); flex: none; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.td-l1 b { font-weight: 600; }
.td-l2 { font-size: 12px; color: var(--label-2); overflow: hidden; text-overflow: ellipsis; }
.td-t { font-size: 11px; color: var(--label-3); flex: none; font-variant-numeric: tabular-nums; }
.td-empty { font-size: 12.5px; color: var(--label-3); margin: auto 0; text-align: center; }
.td-empty[hidden] { display: none; }
.td-week { flex: 1; display: flex; flex-direction: column; }
.td-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: auto; }
.td-d { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.td-d span { font-size: 10px; color: var(--label-3); font-weight: 500; }
.td-d.we span { color: rgba(255,69,58,.7); }
.td-d b { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 500; color: var(--label); font-variant-numeric: tabular-nums; }
.td-d.now b { background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 0 12px rgba(10,132,255,.45); animation: nbIco .6s var(--spring-bouncy) .15s both; }
.td-d i { width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.td-d.has i { background: var(--label-2); }
.td-d.now.has i { background: var(--blue); }
.td-sum { flex: none; display: flex; align-items: baseline; gap: 6px; padding: 5px 12px 6px; }
.td-sum b { font-size: 20px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.td-sum span { font-size: 12px; color: var(--label-2); }

/* ---------- Musiqa: chetdagi ‹ › (Nusa kabi) ---------- */
.m-edge { position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -15px; display: grid; place-items: center; color: #fff; border-radius: 50%; z-index: 2;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14);
  transition: background .2s var(--ease-out), transform .35s var(--spring-bouncy), box-shadow .2s; }
.m-edge.l { left: 9px; }
.m-edge.r { right: 9px; }
.m-edge:hover { background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.25), 0 0 12px color-mix(in srgb, var(--mbg) 60%, transparent); }
.m-edge.l:hover { transform: translateX(-2px) scale(1.08); }
.m-edge.r:hover { transform: translateX(2px) scale(1.08); }
.m-edge:active { transform: scale(.86) !important; transition-duration: .1s; }
.m-edge .sym, .m-edge svg { width: 11px; height: 13px; }
.m-edge svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* ---------- Musiqa qidiruvi: pleyer o'rnida, o'lcham o'zgarmaydi — blur bilan almashadi ---------- */
.m-search { position: absolute; inset: 0 14px; display: flex; flex-direction: column; gap: 5px; padding-top: 0; opacity: 0; filter: blur(8px); transform: scale(.98); pointer-events: none;
  transition: opacity .22s var(--ease-in), filter .22s var(--ease-in), transform .4s var(--spring-snappy); z-index: 3; }
.music > .mcard, .music > .m-lyrics, .music > .m-edge { transition: opacity .3s var(--ease-out), filter .3s var(--ease-out), transform .45s var(--spring-snappy); }
.music.find > .mcard, .music.find > .m-lyrics, .music.find > .m-edge { opacity: 0; filter: blur(8px); transform: scale(.98); pointer-events: none; transition: opacity .2s var(--ease-in), filter .2s var(--ease-in), transform .3s var(--ease-in); }
.music.find .m-search { opacity: 1; filter: none; transform: none; pointer-events: auto; transition: opacity .32s var(--ease-out) .06s, filter .32s var(--ease-out) .06s, transform .55s var(--spring-bouncy) .04s; }
.m-search .m-find { flex: none; padding-left: 4px; height: 28px; }
.m-sback { width: 22px; height: 22px; display: grid; place-items: center; color: var(--label-2); border-radius: 50%; }
.m-sback:hover { color: #fff; background: rgba(255,255,255,.1); }
.m-sback .sym, .m-sback svg { width: 11px; height: 13px; }
.m-sback svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m-res { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1px; overflow: hidden; }
.m-ri { display: flex; align-items: center; gap: 9px; height: 25px; padding: 0 8px 0 4px; border-radius: 8px; text-align: left; animation: nbUp .4s var(--spring-smooth) both; flex: none; }
.m-ri:hover, .m-ri.sel { background: rgba(255,255,255,.09); }
.m-ri:active { transform: scale(.985); }
.m-ri img { width: 30px; height: 20px; border-radius: 4px; object-fit: cover; flex: none; background: var(--gray5); }
.m-ri .t { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; overflow: hidden; }
.m-ri .t b { font-size: 12.5px; font-weight: 600; color: var(--label); overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.m-ri .t span { font-size: 11.5px; color: var(--label-2); overflow: hidden; text-overflow: ellipsis; flex: 1 1 0; min-width: 40px; }
.m-ri i { font-style: normal; font-size: 11px; color: var(--label-3); flex: none; font-variant-numeric: tabular-nums; }
.m-rmsg { font-size: 12.5px; color: var(--label-3); padding: 6px 6px; }

/* yopiq notch holati (So'zlar / Disk / O'chiq) — panelda bitta tugma */
.m-pmode { flex: none; height: 20px; padding: 0 7px; max-width: 78px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: 10px; font-size: 10.5px; font-weight: 600; background: rgba(255,255,255,.14); color: #fff; transition: background .15s, transform .12s var(--ease-out); }
.m-pmode::before { content: ""; display: inline-block; width: 9px; height: 5px; margin-right: 5px; border-radius: 0 0 3px 3px; background: currentColor; opacity: .7; vertical-align: 2px; }
.m-pmode:hover { background: rgba(255,255,255,.22); }
.m-pmode:active { transform: scale(.92); }
.m-pmode.off { color: var(--label-2); }

/* ---------- Vidjetlar (Nusa): Fokus · Namoz · Qurilmalar ---------- */
.htitle { display: none; align-items: baseline; gap: 6px; margin-right: 10px; white-space: nowrap; }
.htitle b { font-size: 13.5px; font-weight: 700; color: #fff; letter-spacing: -.2px; }
.htitle span { font-size: 12px; color: var(--label-2); }
.island.v-widgets .htitle { display: inline-flex; }
.island.v-widgets .bot { opacity: 0; pointer-events: none; }
.widgets { position: relative; padding: 0 40px; flex-direction: column; }
.w-pages { position: relative; flex: 1; min-height: 0; }
.w-page { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; pointer-events: none; transform: translateX(var(--wx, 24px)); filter: blur(6px);
  transition: opacity .22s var(--ease-in), transform .45s var(--spring-snappy), filter .22s var(--ease-in); }
.w-page.on { opacity: 1; pointer-events: auto; transform: none; filter: none; transition: opacity .32s var(--ease-out) .05s, transform .55s var(--spring-bouncy), filter .3s var(--ease-out) .05s; }
.w-dots { flex: none; height: 10px; display: flex; justify-content: center; align-items: center; gap: 4px; }
.w-dots i { width: 4px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28); transition: width .35s var(--spring-snappy), background .2s; }
.w-dots i.on { width: 12px; background: #fff; }

/* Fokus taymeri (Nusa Pomodoro) */
.w-focus { gap: 18px; justify-content: center; }
.f-dial { position: relative; width: 70px; height: 70px; flex: none; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #FF453A 0 56%, transparent 57%); box-shadow: 0 0 22px rgba(255,69,58,.35); }
.f-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.f-trk { fill: none; stroke: rgba(255,69,58,.28); stroke-width: 5; }
.f-arc { fill: none; stroke: #FF453A; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100 100; transition: stroke-dasharray .9s linear; }
.w-focus.brk .f-dial { background: radial-gradient(circle, #30D158 0 56%, transparent 57%); box-shadow: 0 0 22px rgba(48,209,88,.3); }
.w-focus.brk .f-trk { stroke: rgba(48,209,88,.28); }
.w-focus.brk .f-arc { stroke: #30D158; }
.f-ico { position: relative; width: 26px; height: 26px; color: #fff; display: grid; place-items: center; }
.f-ico .sym { width: 26px; height: 26px; }
.w-focus.run .f-ico { animation: fbeat 2s ease-in-out infinite; }
@keyframes fbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.f-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.f-time { display: flex; align-items: center; gap: 8px; }
.f-time b { font-size: 34px; font-weight: 700; letter-spacing: -.8px; color: #fff; line-height: 1; }
.f-reset { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--label-2); background: rgba(255,255,255,.1); }
.f-reset:hover { color: #fff; background: rgba(255,255,255,.18); }
.f-reset .sym, .f-reset svg { width: 12px; height: 12px; }
.f-reset svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.f-lbl { font-size: 11.5px; color: var(--label-2); margin-bottom: 5px; }
.f-btns { display: flex; align-items: center; gap: 8px; }
.f-chip { height: 24px; padding: 0 10px; border-radius: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.12); transition: background .15s, transform .12s var(--ease-out); }
.f-chip .sym { width: 12px; height: 12px; }
.f-chip:hover { background: rgba(255,255,255,.2); }
.f-chip.on { background: rgba(255,255,255,.26); }
.f-play { width: 44px; height: 24px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: #FF453A; box-shadow: 0 2px 10px rgba(255,69,58,.45); transition: transform .3s var(--spring-bouncy), background .2s; }
.w-focus.brk .f-play { background: #30D158; box-shadow: 0 2px 10px rgba(48,209,88,.4); }
.f-play .sym, .f-play svg { width: 13px; height: 13px; }
.f-chip:active, .f-play:active { transform: scale(.9); }

/* Namoz (Nusa Prayer): chapda keyingi namoz, o'ngda quyosh yoyi */
.w-prayer { gap: 14px; }
.p-left { width: 178px; flex: none; display: flex; flex-direction: column; }
.p-next { font-size: 11.5px; color: var(--label-2); }
.p-name { font-size: 26px; font-weight: 700; letter-spacing: -.6px; color: #fff; line-height: 1.1; }
.p-when { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; }
.p-when b { font-size: 15px; font-weight: 700; color: #fff; }
.p-when span { font-size: 12px; font-weight: 600; color: #4DA3FF; white-space: nowrap; }
.p-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); margin-top: 7px; overflow: hidden; }
.p-bar i { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, #0A84FF, #8F7BFF); transition: width .8s var(--spring-smooth); }
.p-sep { width: .5px; align-self: stretch; margin: 8px 0; background: rgba(255,255,255,.14); }
.p-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.p-arc { width: 100%; height: 50px; overflow: visible; }
.p-list { display: flex; justify-content: space-between; }
.p-list div { display: flex; flex-direction: column; align-items: center; font-size: 10.5px; color: var(--label-3); line-height: 1.25; }
.p-list div b { font-weight: 500; color: var(--label-3); font-variant-numeric: tabular-nums; }
.p-list div.nx { color: #fff; font-weight: 700; }
.p-list div.nx b { color: #fff; font-weight: 700; }
.p-list div.past { color: var(--label-2); }

/* Qurilmalar zaryadi */
.w-dev { justify-content: center; }
.d-list { display: flex; gap: 10px; justify-content: center; flex-wrap: nowrap; }
.d-card { width: 112px; height: 84px; border-radius: 16px; background: rgba(255,255,255,.07); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px; animation: nbUp .45s var(--spring-smooth) both; }
.d-ico { width: 26px; height: 26px; color: #fff; display: grid; place-items: center; }
.d-ico .sym { width: 26px; height: 22px; }
.d-name { font-size: 11px; color: var(--label-2); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-bat { display: flex; gap: 8px; }
.d-bat span { display: flex; flex-direction: column; align-items: center; font-size: 13px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.d-bat span small { font-size: 9.5px; font-weight: 500; color: var(--label-3); }
.d-bat span.low { color: #FF453A; }
.d-meter { width: 60px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.d-meter i { display: block; height: 100%; border-radius: 2px; background: #30D158; }
.d-meter i.low { background: #FF453A; }
.d-empty { font-size: 12.5px; color: var(--label-3); }
.d-empty[hidden] { display: none; }

/* Namoz eslatmasi (Nusa): keng pill, sariq oy, to'q ko'kdan binafshaga */
.island.banner.b-prayer { background: linear-gradient(90deg, #0B1A4A 0%, #1F2A86 55%, #4B2A9A 100%); }
.island.banner.b-prayer::after { opacity: 0; }
.island.b-prayer .nb-fb { background: transparent; box-shadow: none; color: #FFD60A; font-size: 28px; }
.island.b-prayer .nb-fb .sym { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(255,214,10,.55)); }
.island.b-prayer .nb-from { font-size: 17px; font-weight: 700; }
.island.b-prayer .nb-text { color: rgba(235,235,245,.72); }
.island.b-prayer .nb-time { align-self: center; margin-top: 0; font-size: 17px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.island.b-prayer .nb-app { display: none; }

.p-arc .pd { fill: rgba(255,255,255,.3); }
.p-arc .pd.past { fill: #fff; }
.htitle { cursor: default; }
.island.v-widgets .htitle b::after { content: ""; }

.f-chip .sym { order: -1; }

/* panel qaysi ekranda bo'lmasin kontent orol ichida qoladi */
.mcard { min-width: 0; }
.mtop > * { min-width: 0; }
.m-src, #mFind { flex: none; }
.island.open .panel { overflow: hidden; border-radius: inherit; }
.m-pmode { margin-left: 6px; }

/* boshqaruv qatori: chap · markazda ijro · o'ng — hech qachon ustma-ust tushmaydi */
.m-ctl { display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.m-left { display: flex; align-items: center; gap: 4px; min-width: 0; justify-self: start; }
.m-ctl .m-vol { justify-self: end; }
.m-pmode { min-width: 0; flex: 0 1 auto; }
.music:not(.nolyr) .m-tr { gap: 10px; }
/* Pomodoro — Nusa'dagidek: qalin pushti-qizil halqa, ichi to'q */
.f-dial { background: radial-gradient(circle, #2A0B10 0 63%, transparent 64%) !important; box-shadow: 0 0 20px rgba(255,77,94,.42) !important; }
.f-trk { stroke: rgba(255,77,94,.22) !important; stroke-width: 7 !important; }
.f-arc { stroke: #FF4D5E !important; stroke-width: 7 !important; }
.f-ico { color: #fff; }
.f-ico .sym { width: 28px !important; height: 28px !important; }
.f-play { background: #FF4D5E !important; box-shadow: 0 2px 12px rgba(255,77,94,.45) !important; }
.w-focus.brk .f-dial { background: radial-gradient(circle, #0B2A14 0 63%, transparent 64%) !important; box-shadow: 0 0 20px rgba(48,209,88,.38) !important; }
.w-focus.brk .f-trk { stroke: rgba(48,209,88,.22) !important; }
.w-focus.brk .f-arc { stroke: #30D158 !important; }
.w-focus.brk .f-play { background: #30D158 !important; }
/* Namoz: matn o'z ustunidan chiqmaydi */
.p-left { width: 196px !important; min-width: 0; overflow: hidden; }
.p-when { white-space: nowrap; overflow: hidden; }
.p-when span { overflow: hidden; text-overflow: ellipsis; }

/* ---------- Bluetooth qurilma ulandi (Nusa): chapda zaryad halqasi + Bluetooth, nomi, «Ulandi · 79%», o'ngda qurilma ikoni */
.nb-gauge, .nb-dev { display: none; }
.island.b-device .nb-ico, .island.b-device .nb-time, .island.b-device .nb-app { display: none; }
.island.b-device .nb-gauge { display: grid; place-items: center; position: relative; width: 40px; height: 40px; flex: none; margin-left: 4px; animation: nbIco .7s var(--spring-bouncy) .06s both; }
.nb-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.g-trk { fill: none; stroke: rgba(10,132,255,.22); stroke-width: 3.2; }
.g-arc { fill: none; stroke: #2E9BFF; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--spring-smooth) .25s; }
.nb-gauge.low .g-arc { stroke: #FF453A; } .nb-gauge.low .g-trk { stroke: rgba(255,69,58,.22); }
.nb-gauge i { position: relative; width: 16px; height: 16px; color: #2E9BFF; display: grid; place-items: center; }
.nb-gauge i svg { position: static; transform: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nb-gauge i .sym { width: 16px; height: 16px; }
.island.b-device .nb-dev { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.22); animation: nbIco .7s var(--spring-bouncy) .14s both; }
.nb-dev i { width: 20px; height: 20px; color: #fff; display: grid; place-items: center; }
.nb-dev i .sym { width: 20px; height: 20px; }
.island.b-device .nb-from { font-size: 15px; font-weight: 700; }
.island.b-device .nb-text { color: rgba(235,235,245,.6); font-size: 12.5px; }
.island.b-device .nban { gap: 12px; padding: 0 12px 0 12px; }

/* yopiq notch (Disk va soat): status halqasi — quloqchin yoki Mac zaryadi */
.mp-ring { display: none; }
.mlyr.disc .mp-ring:not([hidden]) { display: block; width: 14px; height: 14px; flex: none; }

.f-arc { transition: none !important; }
.island.banner.b-device::after { opacity: 0; }

/* Bosh sahifa: ikki chekkada teng havo, sheriklar o'z kartasidan chiqmaydi */
#v-home { padding: 0 12px; }
#v-home .avslot { width: 52px; }
.hside { width: 276px; padding: 5px; gap: 4px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; align-content: safe center; }
.hside::-webkit-scrollbar { display: none; }
.hside .pill { height: 26px; }
.hside .pill canvas { width: 22px; height: 22px; }
/* Musiqa: kontent < > tugmalardan uzoqroq; rejim chipi tor joyda faqat belgi */
.music { padding: 0 52px !important; }
.m-left { overflow: hidden; }
.music:not(.nolyr) .m-pmode { font-size: 0; padding: 0 6px; width: 24px; flex: none; text-align: center; }
.music:not(.nolyr) .m-pmode::before { margin-right: 0; vertical-align: 1px; }
/* Bugun: bildirishnomalar ro'yxati o'z ichida aylanadi */
.td-list { min-height: 0; }
.td-items { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; gap: 4px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8px, #000 calc(100% - 10px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 8px, #000 calc(100% - 10px), transparent 100%); padding: 4px 0 8px; scroll-behavior: smooth; overscroll-behavior: contain; }
.td-items::-webkit-scrollbar { display: none; }
.td-it { flex: none; }

/* ---------- Shelf + Clipboard (Nusa kabi yonma-yon) ---------- */
.drop { gap: 10px; }
.drop .dz { flex: 0 0 262px; gap: 8px; padding: 0 12px 0 4px; flex-wrap: nowrap; }
.drop .dz .dzt { gap: 6px; min-width: 0; }
.drop .dz #dzPick { display: none; }
.drop .dz { cursor: pointer; }
.drop .dz .big { font-size: 13.5px; line-height: 1.25; }
.drop .dz .kinds span { height: 22px; padding: 0 8px; font-size: 11px; }
.drop .dz .avslot.sm { width: 76px; flex: none; }
.cb-card { flex: 1; min-width: 0; background: var(--gray6); border-radius: 18px; border: 1px solid rgba(255,255,255,.04); padding: 8px 8px 0 12px; display: flex; flex-direction: column; overflow: hidden; }
.cb-card .td-h { padding-right: 4px; }
.cb-card .td-h span { display: inline-flex; align-items: center; gap: 5px; }
.cb-hi { width: 12px; height: 12px; display: inline-grid; color: var(--label-2); }
.cb-hi .sym { width: 12px; height: 12px; }
.cb-list { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; display: flex; flex-direction: column; gap: 3px; padding: 2px 0 8px; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6px, #000 calc(100% - 10px), transparent 100%); }
.cb-list::-webkit-scrollbar { display: none; }
.cb-it { flex: none; position: relative; height: 26px; border-radius: 9px; display: flex; align-items: center; gap: 7px; padding: 0 6px 0 8px; background: rgba(255,255,255,.055); cursor: default; transition: background .15s, transform .25s var(--spring-snappy); animation: nbUp .4s var(--spring-smooth) both; }
.cb-it:hover { background: rgba(255,255,255,.1); }
.cb-it:active { transform: scale(.97); }
.cb-it .cb-t { flex: 1; min-width: 0; font-size: 12px; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-it .cb-k { flex: none; font-size: 10.5px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.cb-it .cb-pin, .cb-it .cb-del { flex: none; width: 18px; height: 18px; border-radius: 50%; display: none; place-items: center; color: var(--label-2); }
.cb-it:hover .cb-pin, .cb-it:hover .cb-del, .cb-it.pinned .cb-pin { display: grid; }
.cb-it:hover .cb-k { display: none; }
.cb-it .cb-pin:hover, .cb-it .cb-del:hover { background: rgba(255,255,255,.14); color: #fff; }
.cb-it.pinned .cb-pin { color: var(--orange); }
.cb-it .sym, .cb-it svg { width: 11px; height: 11px; }
.cb-it svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.cb-it.copied { background: color-mix(in srgb, var(--green) 28%, transparent); }
.cb-it.copied .cb-t::after { content: attr(data-ok); position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 600; color: var(--green); }
.cb-it.copied .cb-k, .cb-it.copied .cb-pin, .cb-it.copied .cb-del { visibility: hidden; }
.cb-ty { flex: none; width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--label-2); font-size: 9px; font-weight: 700; }
.cb-ty.link { background: color-mix(in srgb, var(--blue) 30%, transparent); color: #9ECBFF; }
.cb-ty.code { background: rgba(191,90,242,.3); color: #D7B8FF; }
.cb-ty .sym { width: 10px; height: 10px; }
.cb-it { height: 24px; }
.cb-list { gap: 3px; }
.cb-list[hidden] { display: none; }
.cb-card .td-empty { margin: auto; padding: 0 12px 8px 0; }
/* ---------- To-do kalendar (Nusa kabi) ---------- */
.today { gap: 8px; }
.td-list { flex: 1.15 !important; }
.td-todo { flex: 1; display: flex; flex-direction: column; padding: 7px 10px 8px; gap: 4px; min-width: 0; }
.tdo-h { margin-bottom: 0 !important; gap: 6px; }
.tdo-mon { font-size: 12px; font-weight: 700; color: var(--label); display: inline-flex; align-items: center; gap: 3px; border-radius: 6px; padding: 1px 4px 1px 0; }
.tdo-mon::after { content: ""; width: 5px; height: 5px; border-right: 1.6px solid var(--label-2); border-bottom: 1.6px solid var(--label-2); transform: rotate(-45deg); margin-left: 2px; transition: transform .35s var(--spring-snappy); }
.tdo-mon.open::after { transform: rotate(45deg); margin-top: -3px; }
.tdo-mon:hover { color: #fff; }
.tdo-cnt { font-size: 11px; font-weight: 600; color: var(--label-2); font-variant-numeric: tabular-nums; padding: 0 6px; height: 16px; line-height: 16px; border-radius: 8px; background: rgba(255,255,255,.08); }
.tdo-cnt:empty { display: none; }
.tdo-cnt.full { color: var(--green); background: color-mix(in srgb, var(--green) 18%, transparent); }
.tdo-h .sp { flex: 1; }
.tdo-nav { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--label-2); transition: background .15s, transform .12s; }
.tdo-nav:hover { background: rgba(255,255,255,.12); color: #fff; }
.tdo-nav:active { transform: scale(.88); }
.tdo-nav .sym, .tdo-nav svg { width: 9px; height: 11px; }
.tdo-nav svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tdo-cal.pop { animation: tdoPop .45s var(--spring-smooth); }
@keyframes tdoPop { from { opacity: 0; transform: scale(.96) translateY(-3px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.td-todo .td-days { margin-top: 0; gap: 0; }
.td-todo .td-d { border-radius: 9px; padding: 1px 0 0; transition: background .15s; }
.td-todo .td-d:hover { background: rgba(255,255,255,.07); }
.td-todo .td-d b { width: 22px; height: 22px; font-size: 12px; }
.td-todo .td-d.sel:not(.now) b { background: rgba(255,255,255,.18); }
.td-todo .td-d.has i { background: var(--orange); }
.td-todo .td-d.alldone i { background: var(--green); }
.td-todo .td-d.now.has i { background: var(--blue); }
.td-todo .td-d.out b { color: var(--label-3); }
.tdo-month { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.tdo-list[hidden], .tdo-add[hidden], .tdo-month[hidden], .td-days[hidden] { display: none !important; }
.tdo-month .td-d b { width: 21px !important; height: 21px !important; font-size: 11.5px !important; }
.tdo-month .tdo-wd { font-size: 9.5px; color: var(--label-3); text-align: center; font-weight: 600; }
.tdo-month .td-d { display: flex; flex-direction: column; align-items: center; gap: 0; }
.tdo-month .td-d b { width: 19px; height: 19px; font-size: 11px; }
.tdo-month .td-d i { width: 3px; height: 3px; }
.tdo-list { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; display: flex; flex-direction: column; gap: 2px; padding: 2px 0; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4px, #000 calc(100% - 6px), transparent 100%); }
.tdo-list::-webkit-scrollbar { display: none; }
.tdo-empty { margin: auto; font-size: 11.5px; color: var(--label-3); }
.tdo-it { flex: none; height: 22px; display: flex; align-items: center; gap: 7px; padding: 0 2px 0 1px; border-radius: 7px; animation: nbUp .4s var(--spring-smooth) both; transition: opacity .2s, transform .25s var(--spring-snappy), background .15s; }
.tdo-it:hover { background: rgba(255,255,255,.06); }
.tdo-it.drag { opacity: .45; }
.tdo-it.gone { opacity: 0; transform: translateX(14px); }
.tdo-it.born { animation: tdoBorn .5s var(--spring-bouncy) both; }
@keyframes tdoBorn { from { opacity: 0; transform: translateY(6px) scale(.96); } }
.tdo-ck { flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(235,235,245,.42); display: grid; place-items: center; color: transparent; transition: background .25s, box-shadow .25s, transform .3s var(--spring-bouncy); }
.tdo-ck svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s var(--ease-out) .05s; }
.tdo-ck:hover { box-shadow: inset 0 0 0 1.5px var(--orange); }
.tdo-it.done .tdo-ck { background: var(--orange); box-shadow: none; color: #fff; transform: scale(1.06); }
.tdo-it.done .tdo-ck svg { stroke-dashoffset: 0; }
.tdo-tx { flex: 1; min-width: 0; font-size: 12px; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.tdo-it.done .tdo-tx { color: var(--label-3); text-decoration: line-through; text-decoration-color: rgba(235,235,245,.3); }
.tdo-tm { flex: none; font-size: 10.5px; font-weight: 600; color: var(--label-2); font-variant-numeric: tabular-nums; }
.tdo-it.late .tdo-tm { color: var(--orange); }
.tdo-it.done .tdo-tm { color: var(--label-3); }
.tdo-del { flex: none; width: 16px; height: 16px; border-radius: 50%; display: none; place-items: center; color: var(--label-2); }
.tdo-it:hover .tdo-del { display: grid; }
.tdo-it:hover .tdo-tm { display: none; }
.tdo-del:hover { background: rgba(255,255,255,.14); color: #fff; }
.tdo-del svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.tdo-add { flex: none; height: 24px; display: flex; align-items: center; gap: 6px; border-radius: 8px; padding: 0 4px 0 2px; background: rgba(255,255,255,.06); }
.tdo-add:focus-within { background: rgba(255,255,255,.1); }
.tdo-plus { width: 16px; height: 16px; flex: none; color: var(--orange); display: grid; place-items: center; }
.tdo-plus .sym { width: 15px; height: 15px; }
.tdo-add input { background: none; border: 0; outline: 0; color: var(--label); font: inherit; font-size: 12px; min-width: 0; }
.tdo-add #tdoIn { flex: 1; }
.tdo-add #tdoIn::placeholder { color: var(--label-3); }
.tdo-add #tdoTime { flex: none; width: 52px; font-size: 11px; color: var(--label-2); font-variant-numeric: tabular-nums; color-scheme: dark; }
.tdo-add #tdoTime::-webkit-calendar-picker-indicator { display: none; }
/* ---------- Frosted Glass (Nusa Pro kabi) ----------
   Orol ortida — shu ekranning ish stoli rasmi, kuchli xira + to'yingan + qoraytirilgan. Qatlam doim butun oyna
   bo'ylab joylashadi (left: 50% − 340px), shuning uchun orol o'lchami spring bilan o'zgarganda ham rasm joyida qoladi. */
.island.glass { background: #000; }
.gl { display: none; position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 0; pointer-events: none; }
.island.glass > .gl { display: block; }
.gl > i {
  position: absolute; left: calc(50% - 340px); top: calc(-1 * var(--top, 0px)); width: 680px; height: 460px;
  background-image: var(--gimg, linear-gradient(90deg, #0E6E9E, #2B3BB0 55%, #5B2BB0));
  background-size: var(--gdw, 1440px) var(--gdh, 900px);
  background-position: calc(-1 * var(--gox, 380px)) 0;
  background-repeat: no-repeat;
  filter: blur(30px) saturate(2.6) brightness(1.15) contrast(1.1);
  transform: scale(1.06); transform-origin: 50% 0;
}
.island.glass.rest { border-color: transparent; }
/* Nusa Glass: tepasi qora, pastga qarab ortidagi rasm ranglari (ko'k → binafsha) yonib chiqadi */
.island.glass::after { opacity: 1 !important; background: linear-gradient(to bottom, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 38%, rgba(0,0,0,.28) 78%, rgba(0,0,0,.06) 100%) !important; }
.island.glass .hcard, .island.glass .ncard, .island.glass .hside, .island.glass .td-card, .island.glass .cb-card, .island.glass .w-card { background-color: rgba(255,255,255,.07); border-color: rgba(255,255,255,.08); }
.island.glass .pill { background: rgba(255,255,255,.1); }
/* ---------- Status halqa ---------- */
#batRing { cursor: pointer; transition: transform .3s var(--spring-bouncy); }
#batRing:hover { transform: scale(1.15); }
#batRing:active { transform: scale(.9); }
.ring.k-focus { color: #FF4D5E; }
.ring.k-focus.k-brk { color: var(--green); }
.ring.k-todo { color: var(--orange); }
.ring.k-audio:not(.low) { color: var(--green); }
.ring.k-focus .ra { transition: stroke-dasharray 1s linear; }
.ring-lbl { position: absolute; left: 34px; top: 6px; height: 18px; line-height: 18px; padding: 0 8px; border-radius: 9px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(60,60,67,.85); white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-6px) scale(.94); transition: opacity .2s, transform .35s var(--spring-snappy); z-index: 5; }
.ring-lbl.show { opacity: 1; transform: none; }
/* rangli pill'larda «quloq»lar ham shu rangda — orol menyu satriga bitta bo'lib qo'shiladi */
.island.banner.b-prayer { --earL: #0B1A4A; --earR: #4B2A9A; }
.island .ear { transition: background .3s; }
/* ---------- Qadash (pin): panel yopilmaydi ---------- */
.hpin { width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; display: grid; place-items: center; color: var(--label-3); transition: color .2s, background .2s, transform .35s var(--spring-bouncy); }
.hpin .sym, .hpin svg { width: 12px; height: 12px; }
.hpin svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hpin:hover { color: var(--label); background: rgba(255,255,255,.1); }
.hpin.on { color: #fff; background: rgba(255,255,255,.18); transform: rotate(-35deg); }
.hpin:active { transform: scale(.85); }
/* ---------- Musiqa: takrorlash / aralashtirish ---------- */
.m-tog { position: relative; color: var(--label-3); transition: color .2s, background .2s, transform .12s; }
.m-tog svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-tog.on { color: #fff; }
.m-tog.on::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: currentColor; }
.m-tog:active { transform: scale(.86); }
.m-rep1 { display: none; position: absolute; right: -2px; top: -3px; min-width: 9px; height: 9px; border-radius: 5px; background: #fff; color: #000; font-size: 7px; font-weight: 800; line-height: 9px; text-align: center; }
.m-tog.one .m-rep1 { display: block; }
.m-tr .m-tog { width: 20px; height: 20px; }
.m-tr .m-tog .sym, .m-tr .m-tog svg { width: 13px; height: 13px; }
.music:not(.nolyr) .mcard { width: 296px; }
.music:not(.nolyr) .m-tr { gap: 8px; }
/* ---------- Ruxsat so'rovi (qalqon belgili) ---------- */
.ncard .pb { position: relative; width: 22px; height: 22px; flex: none; display: inline-grid; place-items: center; margin-right: 2px; }
.ncard .pb-app { width: 22px; height: 22px; border-radius: 5px; }
.ncard .pb-sh { position: absolute; right: -5px; bottom: -4px; width: 13px; height: 13px; color: #FF9F0A; display: grid; place-items: center; filter: drop-shadow(0 0 2px #000); }
.ncard .pb-app[hidden] + .pb-sh { position: static; width: 20px; height: 20px; }
.ncard .pb-sh .sym, .ncard .pb-sh svg { width: 100%; height: 100%; }
.island.perm .ncard { box-shadow: inset 0 0 0 1px rgba(255,159,10,.35); }
.island.perm .ncard .big { display: flex; align-items: center; gap: 8px; }
.ncode { font: 11.5px/1.35 ui-monospace, "SF Mono", Menlo, monospace; color: #FFD9A0; background: rgba(255,255,255,.06); border-radius: 7px; padding: 4px 8px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ncode[hidden] { display: none; }
/* ---------- Nusa kabi kichik vidjetlar ---------- */
.w-mini { gap: 10px; align-items: stretch; padding: 4px 0 2px; }
.wm { flex: 1 1 0; min-width: 0; background: var(--gray6); border-radius: 16px; border: 1px solid rgba(255,255,255,.04); padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; animation: nbUp .45s var(--spring-smooth) both; }
.wm + .wm { animation-delay: .05s; }
.wm-h { font-size: 11.5px; font-weight: 600; color: var(--label-2); display: flex; align-items: center; justify-content: space-between; line-height: 15px; }
.wm-sub { font-size: 11px; color: var(--label-3); font-weight: 500; }
.wm-empty { font-size: 12px; color: var(--label-3); margin: auto; }
/* hafta */
.wk-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.wk-d { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.wk-d span { font-size: 9.5px; color: var(--label-3); font-weight: 600; }
.wk-d b { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 500; position: relative; }
.wk-d.has b::after { content: ""; position: absolute; bottom: -2px; width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }
.wk-d.now b { background: var(--blue); color: #fff; font-weight: 700; }
.wk-sum { margin-top: auto; font-size: 12px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.wk-sum > i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.wk-sum small { width: 100%; padding-left: 12px; font-size: 10.5px; color: var(--label-3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* suv */
.wt-big { display: flex; align-items: baseline; gap: 5px; }
.wt-big b { font-size: 22px; font-weight: 700; color: #64D2FF; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wt-big span { font-size: 11.5px; color: var(--label-3); }
.wt-cups { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.wt-cups > i { height: 9px; border-radius: 3px; background: rgba(100,210,255,.16); transition: background .35s var(--ease-out); }
.wt-cups > i.half { background: linear-gradient(90deg, #64D2FF 50%, rgba(100,210,255,.16) 50%); }
.wt-cups > i.on { background: #64D2FF; box-shadow: 0 0 6px rgba(100,210,255,.4); }
.wt-btns { display: flex; gap: 6px; margin-top: auto; }
.wt-btns button { height: 22px; min-width: 28px; padding: 0 9px; border-radius: 11px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.1); transition: transform .12s, background .15s; }
.wt-btns button.pri { flex: 1; background: rgba(100,210,255,.22); color: #BFEFFF; }
.wt-btns button:hover { background: rgba(255,255,255,.18); }
.wt-btns button:active { transform: scale(.92); }
/* fokus */
.fc-row { flex: 1; display: flex; align-items: flex-end; gap: 10px; }
.fc-big { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fc-big b { font-size: 19px; font-weight: 700; color: #FF4D5E; letter-spacing: -.02em; }
.fc-big span { font-size: 10.5px; color: var(--label-3); }
.fc-bars { width: 90px; height: 48px; display: flex; align-items: flex-end; gap: 4px; }
.fc-bars > i { flex: 1; border-radius: 3px; background: rgba(255,77,94,.3); transition: height .5s var(--spring-smooth); }
.fc-bars > i.now { background: #FF4D5E; }
/* dunyo soati */
.wc-row { display: flex; align-items: center; gap: 8px; height: 30px; }
.wc-row > i { width: 16px; height: 16px; flex: none; display: grid; place-items: center; }
.wc-row > i.d { color: #FFD60A; } .wc-row > i.n { color: #A0A7FF; }
.wc-row > i .sym { width: 14px; height: 14px; }
.wc-c { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; display: flex; flex-direction: column; line-height: 1.15; }
.wc-c small { font-size: 10.5px; color: var(--label-3); font-weight: 500; }
.wc-row b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
/* batareya */
.bt-row { flex: 1; display: flex; align-items: center; justify-content: space-around; gap: 6px; }
.bt-it { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; color: var(--green); }
.bt-it.low { color: var(--red); }
.bt-r { position: relative; width: 38px; height: 38px; }
.bt-r svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bt-r .t { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3.4; }
.bt-r .a { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; transition: stroke-dasharray .6s var(--spring-smooth); }
.bt-r > i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.bt-r > i .sym { width: 15px; height: 15px; }
.bt-it b { font-size: 11.5px; color: var(--label); font-variant-numeric: tabular-nums; }
.bt-it span { font-size: 9.5px; color: var(--label-3); max-width: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* oy */
.mo-row { flex: 1; display: flex; align-items: center; gap: 12px; }
.mo-svg { width: 58px; height: 58px; flex: none; filter: drop-shadow(0 0 10px rgba(255,248,225,.18)); }
.mo-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mo-tx b { font-size: 15px; font-weight: 700; }
.mo-tx span { font-size: 11px; color: var(--label-3); }
/* sanoq */
.cd-row { display: flex; align-items: baseline; gap: 6px; }
.cd-row b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #FF9F0A, #FF375F); -webkit-background-clip: text; color: transparent; }
.cd-row span { font-size: 12px; color: var(--label-2); }
.cd-n { margin-top: auto; font-size: 12.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 6px; }
.cd-n small { font-size: 10.5px; color: var(--label-3); font-weight: 500; }
/* namoz */
.pr-big { display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.pr-big > i { color: #FFD60A; width: 18px; height: 18px; display: grid; place-items: center; }
.pr-big > i .sym { width: 16px; height: 16px; }
.pr-big b { font-size: 17px; font-weight: 700; }
.pr-big span { margin-left: auto; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-left { margin-top: auto; font-size: 11px; color: var(--label-3); }
/* ---------- Ekranni videoga olish ---------- */
.rec { gap: 10px; align-items: stretch; padding: 0 14px; }
.rc-modes { display: flex; gap: 8px; }
.rc-mode { width: 104px; border-radius: 16px; background: var(--gray6); border: 1px solid rgba(255,255,255,.04); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--label-2); transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.rc-mode > i { width: 30px; height: 30px; display: grid; place-items: center; }
.rc-mode > i .sym, .rc-mode > i svg { width: 28px; height: 28px; }
.rc-mode svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rc-mode span { font-size: 12px; font-weight: 600; }
.rc-mode:hover { color: #fff; background: rgba(255,255,255,.08); }
.rc-mode.on { color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.rc-mode:active { transform: scale(.96); }
.rc-opts { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; background: var(--gray6); border-radius: 16px; border: 1px solid rgba(255,255,255,.04); padding: 6px 8px; }
.rc-opt { height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 6px; border-radius: 9px; color: var(--label-2); font-size: 12.5px; font-weight: 600; transition: background .15s, color .15s; }
.rc-opt:hover { background: rgba(255,255,255,.06); }
.rc-opt > i { width: 18px; height: 18px; display: grid; place-items: center; }
.rc-opt > i .sym, .rc-opt > i svg { width: 16px; height: 16px; }
.rc-opt svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rc-opt span { flex: 1; text-align: left; }
.rc-opt > b { width: 32px; height: 19px; border-radius: 10px; background: rgba(120,120,128,.36); position: relative; transition: background .25s; }
.rc-opt > b::after { content: ""; position: absolute; left: 2px; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .3s var(--spring-snappy); }
.rc-opt.on { color: #fff; }
.rc-opt.on > b { background: var(--green); }
.rc-opt.on > b::after { transform: translateX(13px); }
.rc-go { width: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.rc-btn { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255,255,255,.9); display: grid; place-items: center; transition: transform .2s var(--spring-bouncy); }
.rc-btn > i { width: 42px; height: 42px; border-radius: 50%; background: #FF3B30; transition: width .35s var(--spring-snappy), height .35s var(--spring-snappy), border-radius .35s var(--spring-snappy); box-shadow: 0 0 16px rgba(255,59,48,.5); }
.rc-btn.stop > i { width: 22px; height: 22px; border-radius: 6px; }
.rc-btn:hover { transform: scale(1.05); }
.rc-btn:active { transform: scale(.92); }
#rcLbl { font-size: 12px; font-weight: 600; color: var(--label-2); font-variant-numeric: tabular-nums; }
.rec.live #rcLbl { color: #FF453A; }
.rec.live .rc-mode, .rec.live .rc-opt { opacity: .45; pointer-events: none; }
/* yopiq orol yozish paytida (iPhone Dynamic Island'dagi ekran yozish kabi): chapda qizil nuqta, o'ngda vaqt; bosilsa to'xtaydi */
.rec-ind { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 4; display: none; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; cursor: pointer; }
.island.recp .rec-ind { display: flex; animation: riIn .5s var(--spring-bouncy) both; }
.has-notch .island.recp:not(.floating) .rec-ind { justify-content: space-between; padding: 0 18px; }
@keyframes riIn { from { opacity: 0; transform: scale(.8); filter: blur(4px); } }
.ri-dot { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,59,48,.22); }
.ri-dot i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; box-shadow: 0 0 6px rgba(255,59,48,.9); animation: riPulse 1.6s ease-in-out infinite; }
@keyframes riPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .55; } }
.ri-r { display: flex; align-items: center; gap: 8px; }
.ri-t { font-family: var(--font-rounded, ui-rounded, "SF Pro Rounded", var(--font)); font-size: 14px; font-weight: 600; color: #FF453A; font-variant-numeric: tabular-nums; letter-spacing: .2px; }
.ri-stop { width: 0; height: 18px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.16); transition: width .35s var(--spring-snappy), opacity .2s; opacity: 0; }
.ri-stop i { width: 7px; height: 7px; border-radius: 1.5px; background: #fff; }
.island.recp:hover .ri-stop { width: 18px; opacity: 1; }
.island.recp .bot, .island.recp .grid4 { opacity: 0 !important; pointer-events: none; }
.island.recp::after { opacity: 0; }
.island.v-rec .bot { opacity: 0; pointer-events: none; }
/* ---------- AirPods tinglash rejimi ---------- */
.w-dev { gap: 12px; justify-content: center; }
#v-widgets.has-lm .d-list { flex: none; }
.d-lm { width: 236px; flex: none; display: flex; flex-direction: column; gap: 5px; padding: 7px 9px; border-radius: 16px; background: rgba(255,255,255,.07); animation: nbUp .45s var(--spring-smooth) .05s both; }
.lm-h { font-size: 11px; font-weight: 600; color: var(--label-3); }
.lm-seg { display: flex; gap: 4px; }
.lm-seg button { flex: 1; height: 44px; border-radius: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--label-2); background: rgba(255,255,255,.06); transition: background .2s, color .2s, transform .12s; }
.lm-seg button i { width: 20px; height: 20px; display: grid; place-items: center; }
.lm-seg button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lm-seg button span { font-size: 9.5px; font-weight: 600; line-height: 1.05; text-align: center; }
.lm-seg button:hover { background: rgba(255,255,255,.12); color: #fff; }
.lm-seg button.on { background: #0A84FF; color: #fff; box-shadow: 0 2px 10px rgba(10,132,255,.4); }
.lm-seg button:active { transform: scale(.94); }
.lm-set { text-align: left; font-size: 11px; color: var(--label-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-set b { color: var(--label-2); font-weight: 600; }
.lm-set:hover { color: #fff; }
.d-lm[hidden] { display: none; }
#v-widgets.has-lm .d-card:nth-child(n+3) { display: none; }
/* ---------- Suv eslatmasi (Nusa Water Reminder) ---------- */
.htitle.two #hTitleS { color: #0A84FF; font-weight: 700; margin-left: 4px; }
.w-water { gap: 18px; padding: 0 6px; }
.wa-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wa-top { display: flex; align-items: baseline; gap: 6px; }
.wa-top b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1; }
.wa-top b.bump { animation: waBump .45s var(--spring-bouncy); }
@keyframes waBump { 40% { transform: scale(1.14); color: #64D2FF; } }
.wa-top > span { font-size: 13px; color: var(--label-2); font-weight: 500; }
.wa-tog { align-self: center; margin-left: 10px; width: 40px; height: 22px; border-radius: 11px; background: rgba(120,120,128,.36); position: relative; transition: background .25s; }
.wa-tog i { position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #FF453A; box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: transform .35s var(--spring-snappy), color .25s; }
.wa-tog svg { width: 11px; height: 11px; fill: currentColor; }
.wa-tog.on { background: #0A84FF; }
.wa-tog.on i { transform: translateX(18px); color: #0A84FF; }
.wa-sub { font-size: 11.5px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-sub b { color: #64D2FF; font-weight: 600; }
.wa-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.wa-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #0A84FF, #64D2FF); transition: width .7s var(--spring-smooth); }
.wa-btns { display: flex; gap: 8px; margin-top: 3px; }
.wa-drink, .wa-set { height: 26px; border-radius: 13px; padding: 0 12px 0 9px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; transition: transform .15s var(--spring-snappy), filter .15s, background .15s; }
.wa-drink { background: rgba(10,132,255,.22); color: #64D2FF; }
.wa-drink svg { width: 13px; height: 13px; }
.wa-drink:hover { background: rgba(10,132,255,.32); }
.wa-set { color: var(--label); }
.wa-set svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wa-set:hover { background: rgba(255,255,255,.08); }
.wa-drink:active, .wa-set:active { transform: scale(.92); }
.wa-r { width: 190px; flex: none; position: relative; height: 92px; display: flex; align-items: center; justify-content: center; }
.wa-dots { position: absolute; right: 2px; top: -2px; display: flex; gap: 4px; z-index: 2; }
.wa-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s, transform .2s; }
.wa-dots i.on { background: #fff; }
.wa-chart { position: relative; width: 100%; height: 100%; display: grid; place-items: center; cursor: pointer; animation: nbUp .4s var(--spring-smooth) both; }
.wa-g { width: 86px; height: 86px; }
.wa-g circle { fill: none; stroke-width: 6.5; stroke-linecap: round; }
.wa-g .t { stroke: rgba(255,255,255,.14); }
.wa-g .a { stroke: url(#wag); transition: stroke-dasharray .9s var(--spring-smooth); }
.wa-g .k { fill: #fff; stroke: none; filter: drop-shadow(0 0 3px rgba(100,210,255,.8)); }
.wa-gc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wa-gc b { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.wa-gc span { display: flex; align-items: center; gap: 1px; font-size: 10px; color: var(--label-2); font-weight: 600; }
.wa-gc span svg { width: 10px; height: 10px; color: #0A84FF; }
.wa-bars { width: 100%; height: 72px; display: flex; gap: 6px; }
.wa-bb { flex: 1; display: flex; align-items: flex-end; gap: 3px; border-bottom: 1px solid rgba(255,255,255,.12); }
.wa-bb i { flex: 1; min-height: 0; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #64D2FF, #0A84FF); transition: height .6s var(--spring-smooth); }
.wa-bb i.now { box-shadow: 0 0 6px rgba(100,210,255,.6); }
.wa-ax { display: flex; flex-direction: column; justify-content: space-between; font-size: 9px; color: var(--label-3); text-align: right; font-variant-numeric: tabular-nums; }
.wa-xl { position: absolute; left: 0; right: 34px; bottom: -2px; height: 12px; }
.wa-xl span { position: absolute; transform: translateX(-50%); font-size: 9px; color: var(--label-3); font-variant-numeric: tabular-nums; }
/* eslatma o'chiq — Nusa'dagi kabi hammasi kulrang */
.w-water.off .wa-top b, .w-water.off .wa-sub b { color: var(--label-2); }
.w-water.off .wa-bar i, .w-water.off .wa-bb i { background: rgba(255,255,255,.4); }
.w-water.off .wa-drink { background: rgba(255,255,255,.1); color: var(--label-2); }
.w-water.off .wa-g .a { stroke: rgba(255,255,255,.45); }
