/* Şəxsi kabinet (/kabinet) — saytın tünd, gül-qızılı üslubunda */
.kb .x-head p { color: var(--mut); max-width: 440px; margin: 8px auto 0; }
.kb-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.kb-load { text-align: center; padding: 40px; color: var(--mut); font-size: 1.4rem; }
.kb-card { border: 1px solid rgba(255, 255, 255, .09); border-radius: 22px; padding: 20px; background: linear-gradient(155deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.kb-card h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--tx); }
.kb-card h3 i { color: var(--gold); }
.kb-auth { max-width: 420px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.kb-auth label { display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: .78rem; font-weight: 600; color: var(--mut); }
.kb-auth input { background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 14px; color: var(--tx); font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; }
.kb-auth input:focus { outline: 0; border-color: rgba(255, 130, 155, .6); box-shadow: 0 0 0 4px rgba(255, 130, 155, .12); }
.kb-auth .x-btn { width: 100%; }
.kb-auth p { margin: 0; color: var(--mut); line-height: 1.55; }
.kb-code { text-align: center; font-size: 1.6rem !important; letter-spacing: 10px; font-weight: 700; }
.kb-ic { width: 54px; height: 54px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: #1a0d11; background: linear-gradient(135deg, #ffd0da, var(--acc)); }
.kb-note { font-size: .82rem; }
.kb-link { background: none; border: 0; color: var(--acc2); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; padding: 6px; }
.kb-hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.kb-hello small { color: var(--mut); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; }
.kb-hello h2 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; margin: 2px 0 0; color: var(--tx); }
.kb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-st { border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 14px; background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 3px; }
.kb-st span { font-size: .7rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mut); }
.kb-st b { font-size: 1.35rem; color: var(--tx); }
.kb-st b small, .kb-st > small { font-size: .78rem; color: var(--mut); font-weight: 500; }
.kb-st.debt b { color: #ff9aa9; }
.kb-st.ok b { color: #7fe0a8; font-size: 1.05rem; }
.kb-mut { color: var(--mut) !important; font-size: 1.05rem !important; }
.kb-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.kb-acts .x-btn { flex: 1 1 200px; }
.kb-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.kb-row:first-of-type { border-top: 0; }
.kb-row > b { flex: 0 0 auto; min-width: 54px; color: var(--acc2); font-variant-numeric: tabular-nums; }
.kb-row div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.kb-row span { color: var(--tx); font-size: .92rem; }
.kb-row small { color: var(--mut); font-size: .78rem; }
.kb-pk { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.kb-pk:first-of-type { border-top: 0; }
.kb-pk-h { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; }
.kb-pk-h span { color: var(--acc2); font-weight: 600; white-space: nowrap; }
.kb-pk small { color: var(--mut); font-size: .76rem; }
.kb-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); margin: 8px 0 6px; overflow: hidden; }
.kb-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--acc)); }
.kb-lost { margin: 0 0 12px; font-size: 1rem; color: var(--tx); }
.kb-lost b { color: #7fe0a8; }
.kb-tbl { overflow-x: auto; }
.kb-tbl table { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.kb-tbl th { text-align: left; font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--mut); font-weight: 600; padding: 6px 8px; }
.kb-tbl td { padding: 8px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--tx); white-space: nowrap; }
.kb-ref p { color: var(--mut); line-height: 1.6; margin: 0 0 12px; }
.kb-ref p b { color: var(--tx); }
@media (max-width: 640px) {
  .kb-stats { grid-template-columns: 1fr 1fr; }
  .kb-stats .kb-st:last-child { grid-column: 1 / -1; }
  .kb-card { padding: 16px; border-radius: 20px; }
  .kb-hello h2 { font-size: 1.6rem; }
}

/* v2: qeydiyyat anketi, bölmələr, paket al, sorğularım */
.kb-newbox { max-width: 420px; margin: 14px auto 0; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; color: var(--mut); font-size: .9rem; }
.kb-err-btn { display: flex; width: 100%; margin-top: 10px; }
.kb-form { display: flex; flex-direction: column; gap: 14px; }
.kb-form label, .kb-fld { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--mut); text-align: left; }
.kb-form label small { font-weight: 400; opacity: .75; }
.kb-form input:not([type=checkbox]):not([type=radio]), .kb-form textarea { background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 13px 14px; color: var(--tx); font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; }
.kb-form textarea { resize: vertical; }
.kb-form input:focus, .kb-form textarea:focus { outline: 0; border-color: rgba(255, 130, 155, .6); box-shadow: 0 0 0 4px rgba(255, 130, 155, .12); }
.kb-form .x-btn { width: 100%; }
.kb-form-h { display: flex; gap: 14px; align-items: flex-start; }
.kb-form-h .kb-ic { margin: 0; flex: 0 0 54px; }
.kb-form-h h3 { margin: 2px 0 4px; font-size: 1.15rem; }
.kb-form-h p { margin: 0; color: var(--mut); font-size: .84rem; line-height: 1.5; }
.kb-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kb-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-seg { display: flex; gap: 8px; }
.kb-seg label { flex: 1; display: block; }
.kb-seg input { position: absolute; opacity: 0; pointer-events: none; }
.kb-seg span { display: block; text-align: center; padding: 13px 8px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .25); color: var(--tx); font-size: .9rem; font-weight: 600; cursor: pointer; }
.kb-seg input:checked + span { border-color: var(--acc); background: rgba(255, 107, 134, .14); color: #ffc2cf; }
.kb-chks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kb-chk { flex-direction: row !important; align-items: center; gap: 10px !important; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); color: var(--tx) !important; font-weight: 500 !important; font-size: .84rem !important; cursor: pointer; }
.kb-chk input { width: 18px; height: 18px; accent-color: var(--acc); flex: 0 0 18px; }
.kb-chk:has(input:checked) { border-color: rgba(255, 130, 155, .45); background: rgba(255, 107, 134, .08); }
.kb-consent { border: 0; background: none; padding: 4px 0; }
.kb-hint { font-weight: 400; color: var(--mut); font-size: .76rem; }
.kb-ic.ok { background: linear-gradient(135deg, #b9f3d0, #4cd98c); }
.kb-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.kb-tabs button { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 6px; border-radius: 14px; border: 0; background: none; color: var(--mut); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; }
.kb-tabs button.on { background: linear-gradient(135deg, #ffd0da, var(--acc)); color: #1a0d11; }
.kb-tabs em { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff5f80; color: #fff; font-weight: 800; box-shadow: 0 0 0 2px var(--bg, #121013); font-size: .68rem; display: grid; place-items: center; }
.kb-req div { flex: 1; }
.kb-st-tag { font-style: normal; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap; background: rgba(255, 255, 255, .06); color: var(--mut); }
.kb-st-tag.wait { background: rgba(217, 179, 92, .14); color: var(--gold); }
.kb-st-tag.ok { background: rgba(76, 217, 140, .14); color: #7fe0a8; }
.kb-st-tag.bad { background: rgba(255, 107, 107, .14); color: #ff9aa9; }
.kb-x { background: none; border: 0; color: var(--mut); width: 32px; height: 32px; border-radius: 10px; cursor: pointer; }
.kb-intro { color: var(--mut); font-size: .86rem; line-height: 1.55; margin: 0; }
.kb-intro i, .kb-note-box i { color: var(--gold); margin-right: 4px; }
.kb-note-box { padding: 12px 14px; border-radius: 14px; border: 1px dashed rgba(217, 179, 92, .45); color: var(--tx); font-size: .86rem; }
.kb-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.kb-item { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(155deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); }
.kb-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.kb-item-ic { height: 74px; display: grid; place-items: center; font-size: 1.6rem; color: var(--gold); background: radial-gradient(circle at 30% 20%, rgba(255, 107, 134, .18), transparent 70%); }
.kb-item-b { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.kb-item-b b { font-size: 1rem; color: var(--tx); }
.kb-item-b small { color: var(--acc2); font-weight: 600; font-size: .78rem; }
.kb-item-b p { color: var(--mut); font-size: .8rem; line-height: 1.5; margin: 4px 0 0; }
.kb-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: .64rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: rgba(232, 204, 133, .14); color: #e8cc85; border: 1px solid rgba(232, 204, 133, .45); }
.kb-item-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 16px; }
.kb-item-f b { font-size: 1.2rem; color: var(--tx); }
.kb-item-f .x-btn { min-height: 44px; padding: 0 18px; }
.kb-flash { padding: 12px 14px; border-radius: 14px; background: rgba(76, 217, 140, .1); border: 1px solid rgba(76, 217, 140, .35); color: #b9f3d0; font-size: .88rem; line-height: 1.5; margin-bottom: 14px; }
.kb-phone { color: var(--mut); font-size: .86rem; }
.kb-phone i { color: var(--gold); margin-right: 6px; }
.kb-wait { color: var(--gold); }
#kbTab { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 640px) {
  .kb-2 { grid-template-columns: 1fr; }
  .kb-chks { grid-template-columns: 1fr; }
  .kb-tabs button span { font-size: .8rem; }
  .kb-form-h .kb-ic { flex-basis: 46px; width: 46px; height: 46px; }
}
button.x-btn { font: inherit; cursor: pointer; border: 0; }
button.x-btn:not(.main) { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: var(--tx); }
.kb-item-f b { white-space: nowrap; }
.kb-item-f .x-btn { flex: 0 0 auto !important; }

/* v3: PIN, vaxt seçimi, pəhriz, profil, tətbiq rejimi */
.kb-pin { position: relative; display: flex; justify-content: center; gap: 14px; padding: 6px 0; cursor: text; }
.kb-pin i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); transition: background .15s, border-color .15s, transform .15s; }
.kb-pin i.on { background: linear-gradient(135deg, #ffd0da, var(--acc)); border-color: transparent; transform: scale(1.08); }
.kb-pin.focus i:not(.on) { border-color: rgba(255, 130, 155, .55); }
.kb-pin input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; border: 0; background: none; color: transparent; caret-color: transparent; }
.kb-pin.shake { animation: kbShake .4s; }
@keyframes kbShake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.kb-pin-l { font-size: .72rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mut); margin-top: 4px; }
.kb-lock { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: var(--mut); cursor: pointer; font-size: .95rem; }
.kb-tabs { overflow-x: auto; scrollbar-width: none; }
.kb-tabs::-webkit-scrollbar { display: none; }
.kb-tabs button { flex: 1 0 auto; min-width: 62px; flex-direction: column; gap: 4px; padding: 9px 6px; font-size: .74rem; }
.kb-tabs button i { font-size: 1rem; }
.kb-tabs em { position: absolute; top: 4px; right: 8px; }
.kb-h-gap { margin-top: 18px !important; }
.kb-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.kb-days::-webkit-scrollbar { display: none; }
.kb-days button { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); color: var(--tx); font: inherit; cursor: pointer; }
.kb-days small { font-size: .68rem; color: var(--mut); }
.kb-days b { font-size: 1.25rem; }
.kb-days em { font-style: normal; font-size: .64rem; color: var(--acc2); }
.kb-days button.on { background: linear-gradient(135deg, #ffd0da, var(--acc)); color: #1a0d11; border-color: transparent; }
.kb-days button.on small, .kb-days button.on em { color: #1a0d11; }
.kb-days button[disabled] { opacity: .35; cursor: default; }
.kb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.kb-slots button { padding: 12px 6px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); color: var(--tx); font: inherit; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.kb-slots button.on { border-color: var(--acc); background: rgba(255, 107, 134, .16); color: #ffc2cf; }
.kb-sel { padding: 12px 14px; border-radius: 14px; background: rgba(217, 179, 92, .08); border: 1px solid rgba(217, 179, 92, .3); color: var(--tx); font-size: .9rem; }
.kb-diet-peek { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; cursor: pointer; font: inherit; color: var(--tx); }
.kb-dp-h { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.kb-dp-h small { color: var(--mut); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; }
.kb-dp-h b { font-family: var(--serif); font-size: 1.3rem; }
.kb-dp-m { color: var(--mut); font-size: .82rem; }
.kb-diet-peek > i { color: var(--acc2); }
.kb-diet-h small { color: var(--gold); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; }
.kb-diet-h h3 { font-family: var(--serif); font-size: 1.7rem; margin: 4px 0 2px !important; display: block !important; }
.kb-diet-h p { color: var(--mut); font-size: .86rem; margin: 0 0 10px; line-height: 1.5; }
.kb-diet-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mut); font-size: .84rem; margin: 6px 0 2px; }
.kb-diet-meta b { color: var(--tx); }
.kb-daysw { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.kb-daysw button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 0; background: none; color: var(--mut); font: inherit; cursor: pointer; }
.kb-daysw b { font-size: .9rem; color: inherit; }
.kb-daysw small { font-size: .7rem; opacity: .8; }
.kb-daysw button.on { background: rgba(255, 255, 255, .08); color: var(--tx); box-shadow: inset 0 0 0 1px rgba(217, 179, 92, .4); }
.kb-menu { padding: 6px 20px; }
.kb-meal { position: relative; padding: 16px 0 16px 20px; border-top: 1px solid rgba(255, 255, 255, .06); }
.kb-meal:first-child { border-top: 0; }
.kb-meal::before { content: ""; position: absolute; left: 0; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 179, 92, .12); }
.kb-meal-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.kb-meal-h b { font-size: .78rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--acc2); }
.kb-meal-h small { color: var(--mut); font-size: .76rem; font-variant-numeric: tabular-nums; }
.kb-meal p { margin: 0; color: var(--tx); font-size: .95rem; line-height: 1.6; }
.kb-water { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.kb-water span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.kb-water i { width: 100%; max-width: 30px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #8fd3ff, #4a9fd8); opacity: .85; }
.kb-water small { font-size: .7rem; color: var(--tx); }
.kb-water em { font-style: normal; font-size: .64rem; color: var(--mut); }
.kb-rules summary { cursor: pointer; font-weight: 600; color: var(--tx); list-style: none; display: flex; gap: 10px; align-items: center; }
.kb-rules summary::-webkit-details-marker { display: none; }
.kb-rules summary i { color: var(--gold); }
.kb-rules p { color: var(--mut); line-height: 1.65; font-size: .88rem; margin: 12px 0 0; }
.kb-kv { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .88rem; }
.kb-card h3 + .kb-kv { border-top: 0; }
.kb-kv span { color: var(--mut); flex: 0 0 auto; }
.kb-kv b { color: var(--tx); font-weight: 600; text-align: right; }
.kb-lockinfo { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .12); color: var(--mut); font-size: .82rem; line-height: 1.55; }
.kb-lockinfo i { color: var(--gold); margin-right: 4px; }
.kb-lockinfo a { color: var(--acc2); font-weight: 600; }
.kb-sec-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.kb-sec-btns .x-btn { flex: 1 1 140px !important; min-height: 46px; }
.kb-out { margin-top: 0; }
.kb-danger { color: #ff9aa9 !important; border-color: rgba(255, 107, 107, .3) !important; }
.kb-devs { margin-top: 12px; }
.kb-app p { color: var(--mut); font-size: .86rem; line-height: 1.55; margin: 0 0 12px; }
.kb-app ol { color: var(--tx); font-size: .88rem; line-height: 1.7; margin: 0; padding-left: 20px; }
.kb-app .x-btn { width: 100%; }
/* Tətbiq kimi açılanda (ana ekrandan): saytın alt zolağı, footer və WhatsApp düyməsi gizlənir */
html.is-app body.kb-page .x-appbar, html.is-app body.kb-page .x-foot2, html.is-app body.kb-page .x-wa-float { display: none !important; }
html.is-app body.kb-page .kb { padding-top: 12px; }
@media (max-width: 640px) {
  .kb-menu { padding: 4px 16px; }
  .kb-diet-h h3 { font-size: 1.45rem; }
}
.kb-slots > p, .kb-slots > i { grid-column: 1 / -1; margin: 0; }
.kb-auth h3 { justify-content: center; text-align: center; }
.kb-tabs em { left: calc(50% + 4px); right: auto; top: 4px; }

/* v4: paket bölmələri, pəhriz seçimləri, tətbiq görünüşü */
.kb-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.kb-chips::-webkit-scrollbar { display: none; }
.kb-chips button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); color: var(--mut); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.kb-chips button i { font-size: .78rem; color: var(--gold); }
.kb-chips button.on { background: linear-gradient(135deg, #ffd0da, var(--acc)); color: #1a0d11; border-color: transparent; }
.kb-chips button.on i { color: #1a0d11; }
.kb-shop-sec { display: flex; flex-direction: column; gap: 10px; }
.kb-shop-sec h4 { display: flex; align-items: center; gap: 10px; margin: 6px 2px 0; font-size: .74rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--mut); font-weight: 700; }
.kb-shop-sec h4 i { color: var(--gold); font-size: .85rem; }
.kb-shop-sec h4 span { margin-left: auto; font-size: .7rem; letter-spacing: 0; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); }
.kb-badge-diet { background: rgba(127, 214, 164, .14) !important; color: #7fd6a4 !important; border-color: rgba(127, 214, 164, .45) !important; }
.kb-item-diet .kb-item-ic { color: #7fd6a4; background: radial-gradient(circle at 30% 20%, rgba(127, 214, 164, .18), transparent 70%); }
.kb-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.kb-opts button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .2); color: var(--tx); font: inherit; cursor: pointer; }
.kb-opts b { font-size: .8rem; }
.kb-opts small { font-size: .74rem; color: var(--acc2); font-weight: 700; }
.kb-opts button.on { border-color: var(--acc); background: rgba(255, 107, 134, .14); }
.kb-f-note { font-size: .74rem; line-height: 1.35; max-width: 55%; }
/* Telefonda daxil olandan sonra: tablar ekranın altında sabit zolaq (tətbiq kimi) */
@media (max-width: 820px) {
  body.kb-in .kb-tabs { position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 60; padding: 6px; border-radius: 22px; overflow: visible;
    background: rgba(18, 14, 17, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 130, 155, .22); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85); }
  body.kb-in .kb-tabs button { min-width: 0; flex: 1 1 0; min-height: 50px; justify-content: center; }
  body.kb-in .kb-tabs button.on { background: rgba(255, 107, 134, .16); color: #ffc2cf; }
  body.kb-in .kb { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  body.kb-in .x-wa-float, body.kb-in .x-appbar, body.kb-in .x-foot2, body.kb-in .x-cta-band { display: none !important; }
}
/* Ana ekrandan (tətbiq kimi) açılanda: saytın başlığı yoxdur, status zolağı üçün yer */
html.is-app body.kb-page .x-nav, html.is-app body.kb-page .x-drawer { display: none !important; }
html.is-app body.kb-page { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
html.is-app body.kb-page .kb { padding-top: calc(18px + env(safe-area-inset-top)) !important; }
html.is-app body.kb-page .kb-hello { position: sticky; top: 0; z-index: 40; margin: 0 -16px; padding: calc(10px + env(safe-area-inset-top)) 16px 12px; background: linear-gradient(180deg, #0b0a0b 70%, rgba(11, 10, 11, 0)); }
html.is-app body.kb-page.kb-in .kb { padding-top: 0 !important; }
html.is-app body.kb-page button, html.is-app body.kb-page a { -webkit-touch-callout: none; }
html.is-app body.kb-page .kb-card, html.is-app body.kb-page .kb-tabs { -webkit-user-select: none; user-select: none; }

/* Paket kartları: yığcam — ikon solda, düymə altda */
.kb-item:not(:has(> img)) { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 12px; padding: 14px 14px 0; }
.kb-item:not(:has(> img)) .kb-item-ic { width: 50px; height: 50px; border-radius: 15px; font-size: 1.15rem; background: rgba(217, 179, 92, .1); }
.kb-item:not(:has(> img)) .kb-item-b { padding: 0; }
.kb-item:not(:has(> img)) .kb-item-f { grid-column: 1 / -1; padding: 14px 0; }
.kb-item-diet:not(:has(> img)) .kb-item-ic { background: rgba(127, 214, 164, .1); }
.kb-item-f .x-btn { min-height: 42px; }
.kb-item-f .kb-f-note { font-size: .74rem !important; line-height: 1.35; }

/* v5: sənədlər, imza, anketin yeni sualları */
.kb-none { margin-top: 8px; border-style: dashed !important; }
.kb-zones { grid-template-columns: repeat(3, 1fr); }
.kb-sign-cta { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; color: var(--tx); cursor: pointer; border-color: rgba(217, 179, 92, .45) !important; background: linear-gradient(135deg, rgba(217, 179, 92, .12), rgba(255, 107, 134, .05)) !important; }
.kb-sign-cta > i:first-child { font-size: 1.4rem; color: var(--gold); }
.kb-sign-cta span { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.kb-sign-cta small { color: var(--mut); font-size: .8rem; }
.kb-doc { width: 100%; background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .06); font: inherit; color: inherit; text-align: left; cursor: pointer; gap: 10px; }
.kb-doc:first-child { border-top: 0; }
.kb-doc > div { flex: 1; }
.kb-docv { font-size: .88rem; }
.kb-doc-t { font-family: var(--serif); font-size: 1.3rem !important; display: block !important; margin: 0 0 10px !important; }
.kb-doc-h { margin: 16px 0 8px; font-size: .72rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.kb-doc-s { color: var(--tx); font-weight: 600; margin: 10px 0 6px; }
.kb-doc-p { color: var(--mut); line-height: 1.6; margin: 6px 0; }
.kb-doc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 6px 0; }
.kb-doc-c { display: flex; gap: 8px; align-items: flex-start; color: var(--mut); font-size: .82rem; line-height: 1.4; }
.kb-doc-c i { margin-top: 2px; color: rgba(255, 255, 255, .25); }
.kb-doc-c.on { color: var(--tx); font-weight: 600; }
.kb-doc-c.on i { color: var(--acc2); }
.kb-sig { position: relative; height: 190px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .2); touch-action: none; }
.kb-sig canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.kb-sig-ph { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #9b8f96; font-size: .9rem; pointer-events: none; }
.kb-sig-x { position: absolute; right: 8px; top: 8px; border: 0; border-radius: 10px; padding: 6px 10px; background: #f1ecef; color: #3a2a33; font: inherit; font-size: .76rem; font-weight: 600; cursor: pointer; }
.kb-sig::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 38px; border-bottom: 1px dashed #c9bfc4; pointer-events: none; }
@media (max-width: 640px) {
  .kb-doc-checks { grid-template-columns: 1fr; }
  .kb-zones { grid-template-columns: 1fr 1fr; }
}
.kb-more { background: none; border: 0; padding: 0; color: var(--acc); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
/* Çəki qrafiki, təqvim düyməsi, görünüş */
.kb-chart { margin: 10px 0 14px; color: var(--acc); }
.kb-chart svg { width: 100%; height: 110px; display: block; overflow: visible; }
.kb-chart circle { fill: var(--card, #1c171a); stroke: currentColor; stroke-width: 2; }
.kb-chart-l { display: flex; justify-content: space-between; font-size: .74rem; color: var(--mut); margin-top: 4px; }
.kb-chart-l b { color: var(--tx); }
.kb-ics { margin-left: auto; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--acc); display: grid; place-items: center; cursor: pointer; }
.kb-look .x-btn { margin-top: 10px; }
/* Qiymətləndirmə, bonus xalları, öncəsi/sonrası */
.kb-rate { border-color: rgba(232, 184, 74, .45); }
.kb-stars { display: flex; gap: 8px; margin: 10px 0; }
.kb-stars button { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: rgba(232, 184, 74, .35); font-size: 1.3rem; cursor: pointer; transition: transform .15s, color .15s; }
.kb-stars button.on { color: #e8b84a; border-color: rgba(232, 184, 74, .6); background: rgba(232, 184, 74, .1); }
.kb-stars button:active { transform: scale(.9); }
.kb-rate-c { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; padding: 10px 12px; margin-bottom: 10px; resize: vertical; }
.kb-rate-ok { color: var(--tx); line-height: 1.5; }
.kb-rate-ok i { color: var(--acc); margin-right: 6px; }
.kb-pts { display: flex; flex-direction: column; gap: 6px; }
.kb-pts-n { display: flex; align-items: center; gap: 12px; }
.kb-pts-n > i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(232, 184, 74, .14); color: #e8b84a; font-size: 1.2rem; }
.kb-pts-n small { display: block; color: var(--mut); font-size: .76rem; }
.kb-pts-n b { font-size: 1.6rem; line-height: 1.1; color: var(--tx); }
.kb-pts p { color: var(--mut); font-size: .84rem; line-height: 1.5; }
.kb-pts p b { color: var(--tx); }
.kb-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.kb-ph-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 8px; }
.kb-photos figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.kb-photos img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.kb-photos figcaption { padding: 6px 8px; font-size: .74rem; color: var(--mut); }
.kb-photos figcaption b { color: var(--tx); }
.kb-ph-lock { margin-top: 10px; font-size: .76rem; }

/* “Bu gün” kartı */
.kb-hero{position:relative;overflow:hidden;border-radius:26px;padding:20px 18px 16px;margin-bottom:14px;border:1px solid rgba(217,179,92,.28);background:radial-gradient(120% 90% at 100% 0,rgba(255,107,134,.22),transparent 55%),radial-gradient(90% 80% at 0 100%,rgba(217,179,92,.16),transparent 60%),linear-gradient(160deg,#1b141b,#120d12)}
.kb-hero-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.kb-hero-top small{font-size:.72rem;letter-spacing:1.4px;text-transform:uppercase;color:var(--mut)}
.kb-hero-top h2{font-family:var(--serif);font-size:1.55rem;line-height:1.15;margin:4px 0 0;color:var(--tx)}
.kb-ring{position:relative;width:64px;height:64px;flex-shrink:0}.kb-ring b{position:absolute;inset:0;display:grid;place-items:center;font-size:.8rem;color:var(--tx)}
.kb-tip{margin:12px 0 4px;padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.05);font-size:.88rem;color:var(--tx);line-height:1.45}
.kb-win{margin:8px 0 2px;font-size:.9rem;color:#f7e3a8}
.kb-today{display:grid;gap:10px;margin-top:12px}
.kb-tl{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.kb-tl-i{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;color:#1a0d11;background:linear-gradient(135deg,#f7e3a8,#d9b35c)}
.kb-tl.diet .kb-tl-i{background:linear-gradient(135deg,#c8f0d3,#6fcf97)}
.kb-tl small{display:block;font-size:.7rem;letter-spacing:1px;text-transform:uppercase;color:var(--mut);margin-bottom:2px}
.kb-tl>div>b{display:block;font-size:1.02rem;color:var(--tx)}.kb-tl>div>span{display:block;font-size:.82rem;color:var(--mut);line-height:1.45;margin-top:2px}
.kb-ml{display:flex!important;gap:6px;align-items:baseline;font-size:.84rem!important;color:var(--tx)!important;margin-top:4px!important}.kb-ml em{font-style:normal}.kb-ml b{font-weight:700}.kb-ml i{font-style:normal;color:var(--mut)}

/* ─── Bonus klubu + missiyalar ─── */
.kb-club { display: flex; flex-direction: column; gap: 10px; background: radial-gradient(120% 90% at 0% 0%, rgba(232, 184, 74, .16), transparent 60%), linear-gradient(155deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); }
.kb-club-top { display: flex; align-items: center; gap: 14px; }
.kb-club-top img { flex: 0 0 auto; filter: drop-shadow(0 6px 14px rgba(232, 184, 74, .35)); }
.kb-club-top small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.kb-club-top b { display: block; font-family: var(--serif, inherit); font-size: 2.1rem; line-height: 1.05; }
.kb-club-top b span { font-size: 1rem; font-weight: 600; opacity: .7; }
.kb-club-top em { font-style: normal; font-size: .86rem; opacity: .8; }
.kb-club-next { font-size: .84rem; }
.kb-club-next .kb-bar { margin: 6px 0 0; }
.kb-ms { margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 14px; }
.kb-ms-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.kb-ms-h h3 { margin: 0; font-size: 1rem; }
.kb-ms-h span { font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(232, 184, 74, .14); color: var(--gold); }
.kb-ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.kb-m { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 14px 10px 12px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.kb-m b { font-size: .86rem; line-height: 1.25; }
.kb-m small { font-size: .72rem; opacity: .72; line-height: 1.35; }
.kb-m .kb-bar { width: 100%; height: 6px; margin: 6px 0 2px; }
.kb-m .kb-m-pr { opacity: .9; font-weight: 600; }
.kb-m-st { position: relative; width: 74px; height: 74px; margin-bottom: 4px; }
.kb-m-st img { width: 100%; height: 100%; display: block; transition: transform .3s cubic-bezier(.2, .8, .2, 1.3), filter .3s; }
.kb-m:not(.done) .kb-m-st img { filter: grayscale(1) opacity(.45); }
.kb-m.done .kb-m-st img { transform: rotate(-6deg); }
.kb-m-st > i { position: absolute; right: -2px; bottom: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: #fff; background: #3cb371; border: 2px solid #fff; }
.kb-m-pt { margin-top: 4px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(60, 179, 113, .16); color: #5fd39a; }
.kb-m-pt.soon { background: rgba(232, 184, 74, .14); color: var(--gold); }
.kb-m.new { border-color: rgba(232, 184, 74, .6); box-shadow: 0 0 0 3px rgba(232, 184, 74, .15); animation: kbPop .6s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes kbPop { from { transform: scale(.9); } to { transform: none; } }
.kb-ms-toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 12px; width: min(92vw, 380px); padding: 12px 16px; border-radius: 18px; background: #1d1519; color: #fff; border: 1px solid rgba(232, 184, 74, .45); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); transform: translate(-50%, 30px); opacity: 0; transition: .35s cubic-bezier(.2, .8, .2, 1); }
.kb-ms-toast.on { transform: translate(-50%, 0); opacity: 1; }
.kb-ms-toast img { width: 52px; height: 52px; }
.kb-ms-toast b { display: block; }
.kb-ms-toast span { font-size: .84rem; opacity: .9; }
.kb-confetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
/* Dostunu gətir */
.kb-ref { display: flex; flex-direction: column; gap: 12px; }
.kb-ref-h { display: flex; gap: 14px; align-items: center; }
.kb-ref-h h3 { margin: 0 0 4px; }
.kb-ref-h p { margin: 0; font-size: .88rem; line-height: 1.5; }
.kb-ref-n { margin: 0; font-size: .86rem; }
.kb-ref-link { display: flex; gap: 8px; }
.kb-ref-link input { flex: 1; min-width: 0; font-size: .8rem; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .2); color: inherit; }
.kb-ref-link .x-btn { flex: 0 0 auto; }
.kb-refban { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 16px; background: rgba(232, 184, 74, .1); border: 1px dashed rgba(232, 184, 74, .5); }
.kb-refban b { display: block; }
.kb-refban span { font-size: .84rem; opacity: .85; }
html[data-theme="light"] .kb-m { background: #fff; border-color: rgba(120, 70, 88, .12); }
html[data-theme="light"] .kb-ms { border-top-color: rgba(120, 70, 88, .12); }
html[data-theme="light"] .kb-m-pt { color: #23824f; }
html[data-theme="light"] .kb-ref-link input { background: #fff; border-color: rgba(120, 70, 88, .18); }
@media (max-width: 380px) { .kb-ms-grid { grid-template-columns: 1fr 1fr; } .kb-m-st { width: 62px; height: 62px; } }

/* ─── Kabinet: canlı əsas səhifə ─── */
.kb-hello small { font-size: .7rem; letter-spacing: 2px; }
.kb-quick { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; }
.kb-q { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 4px 10px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .04); color: var(--tx); font: 600 .74rem/1.1 inherit; text-decoration: none; cursor: pointer; transition: transform .2s, border-color .2s; }
.kb-q i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 14px; background: rgba(232, 184, 74, .12); color: var(--gold); font-size: 1.05rem; }
.kb-q.kb-q-main i { background: linear-gradient(135deg, #ff8fa8, var(--acc)); color: #fff; box-shadow: 0 8px 20px -8px rgba(229, 83, 111, .7); }
.kb-q.wa i { background: rgba(37, 211, 102, .14); color: #25d366; }
.kb-q:active { transform: scale(.96); }
.kb-boost { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.kb-boost::-webkit-scrollbar { display: none; }
.kb-bo { flex: 0 0 min(82%, 300px); scroll-snap-align: start; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(155deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); }
.kb-bo img { width: 50px; height: 50px; flex: 0 0 auto; }
.kb-bo small { display: block; font-size: .66rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.kb-bo b { display: block; font-size: .98rem; margin: 2px 0; }
.kb-bo b em { font-style: normal; color: var(--acc); }
.kb-bo span { display: block; font-size: .8rem; opacity: .8; line-height: 1.4; }
.kb-bo.goal { background: radial-gradient(120% 100% at 0 0, rgba(229, 83, 111, .16), transparent 60%), rgba(255, 255, 255, .03); }
.kb-bo-ring { --p: 0; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--acc) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); position: relative; }
.kb-bo-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #1b1418; }
.kb-bo-ring b { position: relative; font-size: .82rem; margin: 0; }
/* Missiyalar: üfüqi karusel */
.kb-ms-h { gap: 8px; }
.kb-ms-h h3 { flex: 1; }
.kb-ms-all { border: 0; background: none; color: var(--acc); font: 700 .8rem inherit; cursor: pointer; padding: 4px 6px; }
.kb-ms-grid.kb-ms-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.kb-ms-grid.kb-ms-row::-webkit-scrollbar { display: none; }
.kb-ms-row .kb-m { flex: 0 0 136px; scroll-snap-align: start; }
/* Son seanslar — yığcam */
.kb-visits summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 700; }
.kb-visits summary::-webkit-details-marker { display: none; }
.kb-visits summary small { padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: .74rem; }
.kb-visits .kb-chev { margin-left: auto; transition: transform .2s; opacity: .6; }
.kb-visits[open] .kb-chev { transform: rotate(180deg); }
.kb-visits[open] summary { margin-bottom: 8px; }
/* Qiymətləndirmə — yığcam */
.kb-rate { padding: 14px 16px !important; }
.kb-rate h3 { font-size: .95rem; margin-bottom: 2px; }
.kb-rate .kb-stars button { width: 40px; height: 40px; }
html[data-theme="light"] .kb-q, html[data-theme="light"] .kb-bo { background: #fff; border-color: rgba(120, 70, 88, .12); }
html[data-theme="light"] .kb-bo-ring::before { background: #fff; }
/* Üst zolaq: “Şəxsi kabinet” nişanı + kilid — bir xətdə, eyni hündürlükdə */
.kb-hello { align-items: center !important; margin-bottom: 14px; }
.kb-hl { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(232, 184, 74, .28); background: rgba(232, 184, 74, .07); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.kb-hl i { font-size: .8rem; }
.kb-hello .kb-lock { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; margin: 0; }
html[data-theme="light"] .kb-hl { background: #fff; }
/* Dostunu gətir: WhatsApp — yuxarı küncdə kiçik ikon, link sətri yığcam */
.kb-ref { position: relative; }
.kb-ref-h { padding-right: 52px; }
.kb-ref-wa { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.25rem; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.kb-ref-wa:active { transform: scale(.94); }
.kb-ref-link .x-btn { min-height: 40px; padding: 0 14px; font-size: .8rem; background: rgba(255, 255, 255, .07); color: var(--tx); border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; }
html[data-theme="light"] .kb-ref-link .x-btn { background: #fff; border-color: rgba(120, 70, 88, .2); }
.kb-askprice { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 99px; background: rgba(37, 211, 102, .12); color: #4fe08d; font-size: .78rem; font-weight: 700; text-decoration: none; }
.kb-askprice i { font-size: 1rem; }
.kb-preview { display: flex; gap: 10px; align-items: center; padding: 10px 14px; margin-bottom: 12px; border-radius: 14px; background: rgba(106, 169, 255, .12); border: 1px solid rgba(106, 169, 255, .4); color: #b9d4ff; font-size: .82rem; line-height: 1.4; }
/* Pəhriz: kalori nişanları və intizam seriyası */
.kb-kcal { margin-left: auto; padding: 3px 9px; border-radius: 99px; background: rgba(255, 155, 92, .14); color: #ffb37a; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.kb-meal-h { display: flex; align-items: center; gap: 8px; }
.kb-kc-tot { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 10px; border-radius: 12px; background: rgba(255, 155, 92, .08); font-size: .86rem; }
.kb-kc-tot i { color: #ff9b5c; } .kb-kc-tot b { margin-left: auto; }
.kb-streak { background: radial-gradient(120% 100% at 0 0, rgba(255, 155, 92, .14), transparent 60%), rgba(255, 255, 255, .03) !important; }
.kb-st-top { display: flex; gap: 12px; align-items: center; }
.kb-st-badge { flex: 0 0 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: rgba(255, 255, 255, .06); }
.kb-st-top small { display: block; font-size: .68rem; letter-spacing: 1.3px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.kb-st-top b { display: block; font-size: 1.05rem; margin: 2px 0; }
.kb-st-top span { font-size: .8rem; opacity: .8; }
.kb-st-today { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.kb-st-dots { display: flex; gap: 6px; }
.kb-st-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.kb-st-dots i.on { background: linear-gradient(135deg, #ffb37a, var(--acc)); box-shadow: 0 0 10px rgba(255, 155, 92, .5); }
.kb-streak .kb-mut { margin: 10px 0 0; font-size: .82rem; }
/* Pəhriz proqnozu və menyu ikonları (emoji yerinə) */
.kb-fc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px !important; }
.kb-fc > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; }
.kb-fc i { grid-row: span 3; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(232, 184, 74, .12); color: var(--gold); }
.kb-fc span { font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; opacity: .7; }
.kb-fc b { font-size: .98rem; } .kb-fc small { font-size: .74rem; opacity: .7; }
.kb-ml em, .kb-meal-h > i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(232, 184, 74, .12); color: var(--gold); font-size: .72rem; margin-right: 6px; }
.kb-kcal i, .kb-fire { color: #ff9b5c; margin-right: 3px; }
.kb-st-badge img { width: 44px; height: 44px; }
.kb-win i { color: var(--gold); margin-right: 6px; }
@media (max-width: 380px) { .kb-fc { grid-template-columns: 1fr; } }
/* Rəqəmlər aydın şriftlə: dekorativ serifdə “1” böyük “I” kimi görünürdü */
.kb-club-top b, .kb-st b, .kb-bo b, .kb-fc b, .kb-ms-h span, .kb-kc-tot b { font-family: 'Montserrat', Arial, sans-serif !important; font-variant-numeric: tabular-nums lining-nums; }
.kb-club-top b { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }

/* ─── Ağ (mirvari) tema: əsas kart və yeni kartlar açıq fonda, mətn oxunaqlı ─── */
html[data-theme="light"] .kb-hero { background: radial-gradient(120% 90% at 100% 0, rgba(255, 107, 134, .14), transparent 60%), linear-gradient(160deg, #fff 0%, #fbf1f3 100%) !important; border-color: rgba(185, 135, 58, .3) !important; color: #2a1d22; box-shadow: 0 14px 34px -22px rgba(120, 70, 88, .45); }
html[data-theme="light"] .kb-hero::before, html[data-theme="light"] .kb-hero::after { opacity: .25; }
html[data-theme="light"] .kb-hero-top h2 { color: #2a1d22 !important; }
html[data-theme="light"] .kb-hero-top small { color: #8a6f78 !important; }
html[data-theme="light"] .kb-tip { background: #fff !important; color: #4a3a40 !important; border: 1px solid rgba(120, 70, 88, .12) !important; }
html[data-theme="light"] .kb-win { color: #2a1d22 !important; }
html[data-theme="light"] .kb-tl { background: #fff !important; border-color: rgba(120, 70, 88, .12) !important; color: #2a1d22 !important; }
html[data-theme="light"] .kb-tl small { color: #8a6f78 !important; }
html[data-theme="light"] .kb-tl > div > b, html[data-theme="light"] .kb-tl b { color: #2a1d22 !important; }
html[data-theme="light"] .kb-tl span, html[data-theme="light"] .kb-ml i { color: #5d4b52 !important; }
html[data-theme="light"] .kb-ring circle:first-child { stroke: rgba(120, 70, 88, .15); }
html[data-theme="light"] .kb-club, html[data-theme="light"] .kb-streak, html[data-theme="light"] .kb-fc, html[data-theme="light"] .kb-bo.goal { background: linear-gradient(160deg, #fff, #fbf3ee) !important; border-color: rgba(185, 135, 58, .25) !important; }
html[data-theme="light"] .kb-bo-ring::before { background: #fff; }
html[data-theme="light"] .kb-bo-ring { background: conic-gradient(var(--acc) calc(var(--p) * 1%), rgba(120, 70, 88, .12) 0); }
html[data-theme="light"] .kb-st-badge, html[data-theme="light"] .kb-visits summary small { background: rgba(120, 70, 88, .07); }
html[data-theme="light"] .kb-st-dots i { background: rgba(120, 70, 88, .15); }
html[data-theme="light"] .kb-st-today { border-top-color: rgba(120, 70, 88, .12); }
html[data-theme="light"] .kb-kcal { background: rgba(255, 140, 70, .14); color: #c2581a; }
html[data-theme="light"] .kb-kc-tot { background: rgba(255, 140, 70, .08); }
html[data-theme="light"] .kb-m-pt { background: rgba(35, 130, 79, .1); }
html[data-theme="light"] .kb-m-pt.soon { background: rgba(185, 135, 58, .12); color: #9a6d1e; }
html[data-theme="light"] .kb-askprice { color: #1c9b52; }
html[data-theme="light"] .kb-ref-link .x-btn { color: #2a1d22; }

/* Günün menyusu: yemək adı bir sətirdə, tərkib yanında rahat sarınsın */
.kb-ml { align-items: center !important; }
.kb-ml b { white-space: nowrap; flex: 0 0 auto; }
.kb-ml > i { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.kb-ml em { flex: 0 0 24px; margin-right: 2px !important; }

/* Günün xoş sözü — kabinetdə ilk kart */
.kb-bo.quote { flex-basis: min(92%, 360px); border-color: rgba(255, 107, 134, .35); background: linear-gradient(135deg, rgba(255, 107, 134, .16), rgba(201, 166, 90, .08)); }
.kb-bo.quote span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.05rem; opacity: 1; line-height: 1.3; }
html[data-theme="light"] .kb-bo.quote { background: linear-gradient(135deg, #fff, #fdeef2) !important; border-color: rgba(207, 70, 117, .3) !important; }
html[data-theme="light"] .kb-bo.quote span { color: #2a1d22; }

/* Proqram qrupları (pəhriz + cihaz) */
.kb-grps { margin-bottom: 18px; }
.kb-grp { position: relative; padding: 16px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .035); margin-bottom: 10px; }
.kb-grp.rec { border-color: rgba(255, 107, 134, .55); background: linear-gradient(135deg, rgba(255, 107, 134, .14), rgba(201, 166, 90, .06)); box-shadow: 0 14px 34px -22px rgba(255, 107, 134, .7); }
.kb-grp-rec { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px 4px 6px; border-radius: 99px; background: rgba(255, 107, 134, .18); color: #ffb3c2; font-size: .72rem; font-weight: 700; }
.kb-grp-rec img { width: 20px; height: 20px; }
.kb-grp-h { display: flex; align-items: center; gap: 12px; }
.kb-grp-h small { display: block; font-size: .66rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.kb-grp-h b { display: block; font-size: .98rem; line-height: 1.3; }
.kb-grp-t { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.kb-grp-t span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: .74rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.kb-grp-t i { color: var(--acc); font-size: .7rem; }
.kb-grp p { margin: 0 0 10px; font-size: .82rem; opacity: .82; line-height: 1.45; }
.kb-grp-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kb-grp-f small { font-size: .78rem; opacity: .75; font-family: Montserrat, Arial, sans-serif; font-variant-numeric: tabular-nums; }
html[data-theme="light"] .kb-grp { background: #fff !important; border-color: rgba(150, 96, 112, .2) !important; color: #2a1d22; }
html[data-theme="light"] .kb-grp.rec { background: linear-gradient(135deg, #fff, #fdeef2) !important; border-color: rgba(207, 70, 117, .45) !important; }
html[data-theme="light"] .kb-grp-rec { background: rgba(207, 70, 117, .1); color: #a3304f; }
html[data-theme="light"] .kb-grp-t span { background: #faf4f1; border-color: rgba(150, 96, 112, .18); color: #3d2a32; }
html[data-theme="light"] .kb-grp-h small { color: #8c6a24; }

/* Pəhriz: necə hazırlanır */
.kb-prep { margin-top: 8px; border-radius: 12px; background: rgba(232, 184, 74, .07); border: 1px solid rgba(232, 184, 74, .18); }
.kb-prep summary { cursor: pointer; list-style: none; padding: 8px 12px; font-size: .78rem; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 8px; }
.kb-prep summary::-webkit-details-marker { display: none; }
.kb-prep summary::after { content: '\f078'; font: 900 .6rem 'Font Awesome 6 Free'; margin-left: auto; transition: transform .2s; }
.kb-prep[open] summary::after { transform: rotate(180deg); }
.kb-prep p { margin: 0; padding: 0 12px 10px; font-size: .82rem; line-height: 1.5; opacity: .9; }
html[data-theme="light"] .kb-prep { background: #fbf4e6; border-color: rgba(184, 134, 44, .25); }
html[data-theme="light"] .kb-prep summary { color: #8c6a24; }
