/**
 * HarclikGo — premium shell UI
 * Ekran izleme stillerine dokunmaz (.screen-watch-*, .child-watch-*, .watch-*).
 */

:root {
  --bg: #eef5f1;
  --bg-deep: #e2eee7;
  --surface: #ffffff;
  --ink: #102820;
  --ink-soft: #4d6659;
  --muted: #7d9488;
  --line: rgba(16, 40, 32, 0.08);
  --brand: #0c9b6c;
  --brand-dark: #067a53;
  --brand-soft: #d9f7ea;
  --accent: #ff6a3d;
  --gold: #f0b429;
  --danger: #e5484d;
  --ok: #0c9b6c;
  --shadow: 0 18px 40px rgba(16, 40, 32, 0.08);
  --shadow-sm: 0 8px 20px rgba(16, 40, 32, 0.06);
  --radius: 24px;
  --radius-sm: 16px;
  --nav-h: 76px;
  --max: 460px;
  --glass: rgba(255, 255, 255, 0.78);
  --ring: 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

html {
  background:
    radial-gradient(1200px 600px at 10% -10%, #c8f5df 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffe8c8 0%, transparent 45%),
    #d7e4dc;
}

body.app-shell {
  max-width: var(--max);
  background:
    radial-gradient(ellipse 140% 55% at 50% -8%, rgba(45, 212, 168, 0.22), transparent 58%),
    radial-gradient(ellipse 90% 40% at 100% 18%, rgba(255, 196, 90, 0.16), transparent 50%),
    linear-gradient(180deg, #f7fbf8 0%, #eef5f1 42%, #e8f2ec 100%);
  box-shadow:
    0 0 0 1px rgba(16, 40, 32, 0.05),
    0 30px 80px rgba(16, 40, 32, 0.12);
}

@media (min-width: 900px) {
  :root { --max: 520px; }
  body.app-shell {
    margin-top: 18px;
    margin-bottom: 18px;
    min-height: calc(100dvh - 36px);
    border-radius: 28px;
    overflow: clip;
  }
}

/* —— Top bar —— */
.app-top {
  padding: calc(14px + var(--safe-t)) 18px 14px;
  background: rgba(247, 251, 248, 0.72);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid rgba(16, 40, 32, 0.05);
}

.app-top h1 {
  font-size: 1.42rem;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #102820 20%, #0c9b6c 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.app-top .sub {
  color: var(--ink-soft);
  font-weight: 700;
  opacity: 0.9;
}

.hk-meta-bar {
  background: linear-gradient(90deg, rgba(220, 252, 231, 0.95), rgba(254, 249, 195, 0.55));
  border-bottom: 1px solid rgba(12, 155, 108, 0.12);
}

.app-content {
  padding: 10px 16px calc(var(--nav-h) + var(--safe-b) + 22px);
}

/* —— Bottom nav —— */
.app-nav {
  height: calc(var(--nav-h) + var(--safe-b));
  padding: 10px 12px calc(10px + var(--safe-b));
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  border-top: 1px solid rgba(16, 40, 32, 0.06);
  box-shadow: 0 -10px 30px rgba(16, 40, 32, 0.06);
  gap: 6px;
}

.app-nav a {
  gap: 4px;
  border-radius: 18px;
  color: #6f857a;
  font-weight: 800;
}

.app-nav a .ico {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.app-nav a.active {
  color: #067a53;
  background: linear-gradient(180deg, #f2fff8, #d8f8e8);
  box-shadow:
    var(--ring),
    0 8px 18px rgba(12, 155, 108, 0.16);
}

.app-nav a.active .ico {
  transform: translateY(-2px) scale(1.05);
}

/* —— Buttons —— */
.btn {
  --btn-depth: 4px;
  border-radius: 18px;
  letter-spacing: -0.015em;
  box-shadow:
    0 var(--btn-depth) 0 var(--btn-edge),
    0 14px 28px rgba(16, 40, 32, 0.16);
}

.btn-sm {
  border-radius: 14px;
  font-weight: 800;
}

.btn-mint {
  --btn-face: #34d3a4;
  --btn-edge: #0e9f78;
}

.btn-icon {
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f1f7f3);
  box-shadow:
    0 3px 0 #c9d9cf,
    0 8px 16px rgba(16, 40, 32, 0.08);
}

/* —— Cards —— */
.card {
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.96));
  border: 1px solid rgba(16, 40, 32, 0.06);
  box-shadow:
    var(--ring),
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 34px rgba(16, 40, 32, 0.07);
}

.card h2 {
  letter-spacing: -0.02em;
}

/* —— Balance / hero —— */
.balance-hero {
  border-radius: 30px;
  padding: 24px 22px 22px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 214, 102, 0.42), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(145deg, #1ad18f 0%, #0c9b6c 48%, #056845 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 0 #055c3c,
    0 22px 40px rgba(12, 155, 108, 0.32);
}

.balance-hero .amount {
  letter-spacing: -0.04em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.balance-hero .chip {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

/* —— Stats / period chips —— */
.stat-row {
  gap: 10px;
  margin-bottom: 16px;
}

.stat-chip {
  border-radius: 20px;
  padding: 14px 10px;
  background: linear-gradient(180deg, #ffffff, #f3faf6);
  border: 1px solid rgba(16, 40, 32, 0.05);
  box-shadow:
    0 1px 0 #fff inset,
    0 8px 18px rgba(16, 40, 32, 0.06);
}

.stat-chip strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.allowance-period-tabs {
  margin-bottom: 14px !important;
}

.allowance-period-stats {
  margin-bottom: 16px;
}

.allowance-period-stats .stat-chip {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.allowance-period-stats .plus {
  color: #067a53 !important;
}

.allowance-period-stats .minus {
  color: #c62828 !important;
}

.stat-row:has(.stat-chip:only-child),
.stat-row.single {
  grid-template-columns: 1fr;
}

.stat-chip:only-child {
  max-width: 160px;
}

.filters,
.filters-wrap .filters {
  gap: 8px;
}

.filter-chip {
  border-radius: 999px !important;
  padding: 10px 16px !important;
  font-weight: 800 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(16, 40, 32, 0.06) !important;
  box-shadow: 0 6px 14px rgba(16, 40, 32, 0.05) !important;
}

.filter-chip.active {
  background: linear-gradient(180deg, #19c484, #0c9b6c) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 16px rgba(12, 155, 108, 0.28) !important;
}

/* Allowance period panel — soft tiles */
.allowance-period-panel,
.period-panel,
.allow-summary {
  background: transparent;
}

.allowance-period-panel .stat-chip,
.period-panel .stat-chip,
.allow-summary .stat-chip {
  border-radius: 18px;
}

/* —— Quick actions —— */
.quick-actions {
  gap: 10px;
  margin-bottom: 18px;
}

.quick-action {
  border-radius: 22px;
  padding: 16px 10px 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  border: 1px solid rgba(16, 40, 32, 0.05);
  box-shadow:
    0 1px 0 #fff inset,
    0 10px 22px rgba(16, 40, 32, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quick-action:active {
  transform: translateY(2px);
}

.quick-action .ico,
.quick-action svg {
  width: 28px !important;
  height: 28px !important;
  filter: drop-shadow(0 3px 4px rgba(16, 40, 32, 0.15));
}

.quick-action:nth-child(1) { color: #067a53; }
.quick-action:nth-child(2) { color: #1d4ed8; }
.quick-action:nth-child(3) { color: #be185d; }
.quick-action:nth-child(4) { color: #0c9b6c; }
.quick-action:nth-child(5) { color: #0369a1; }
.quick-action:nth-child(6) { color: #b45309; }

.quick-actions.child-quick-bar {
  max-width: none;
}

/* —— Kid cards —— */
.kid-card {
  gap: 14px;
  padding: 16px;
  border-radius: 26px;
  background:
    linear-gradient(165deg, #ffffff 0%, #f6fbf8 100%);
  border: 1px solid rgba(16, 40, 32, 0.06);
  box-shadow:
    0 1px 0 #fff inset,
    0 14px 28px rgba(16, 40, 32, 0.07);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.kid-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #34d3a4, #0c9b6c);
  opacity: 0.85;
}

.kid-avatar {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  background: linear-gradient(160deg, #fff4ec, #ffe0d0);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px rgba(12, 155, 108, 0.18),
    0 10px 18px rgba(16, 40, 32, 0.12);
}

.kid-info h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.kid-info p {
  font-size: 0.84rem;
  margin-top: 2px;
}

.kid-actions .btn-sm {
  min-height: 40px;
  border-radius: 14px;
  font-size: 0.86rem;
}

.kid-actions select {
  min-height: 40px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(16, 40, 32, 0.08);
  background: #fff;
  padding: 6px 10px !important;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(16, 40, 32, 0.05);
}

.rate-chip {
  background: linear-gradient(180deg, #eafff4, #d6f7e8);
  border: 1px solid rgba(12, 155, 108, 0.14);
  box-shadow: 0 4px 10px rgba(12, 155, 108, 0.08);
}

/* —— Bakiye ↔ ekran eşdeğeri —— */
.screen-eq-card {
  margin: 0 0 14px;
  padding: 16px 16px 14px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 90% at 0% 0%, rgba(255, 214, 102, 0.35), transparent 55%),
    linear-gradient(145deg, #14c98a 0%, #0c9b6c 55%, #067a53 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 0 #055c3c,
    0 18px 32px rgba(12, 155, 108, 0.28);
  position: relative;
  overflow: hidden;
}
.screen-eq-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.screen-eq-card.is-compact {
  margin: 8px 0 4px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 6px 0 #055c3c,
    0 12px 22px rgba(12, 155, 108, 0.22);
}
.screen-eq-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.screen-eq-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 4px;
}
.screen-eq-mins strong,
.screen-eq-bal strong {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}
.screen-eq-card.is-compact .screen-eq-mins strong,
.screen-eq-card.is-compact .screen-eq-bal strong {
  font-size: 1.2rem;
}
.screen-eq-mins strong small,
.screen-eq-bal strong small {
  font-size: 0.55em;
  font-weight: 700;
  opacity: 0.9;
}
.screen-eq-bal {
  text-align: right;
}
.screen-eq-swap {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.screen-eq-card.is-compact .screen-eq-swap {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.screen-eq-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}
.screen-eq-card.is-compact .screen-eq-meta {
  margin-top: 8px;
  padding-top: 8px;
  font-size: 0.74rem;
}
.balance-hero .screen-eq-card {
  margin: 12px 0 4px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 214, 102, 0.28), transparent 55%),
    rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.balance-hero .screen-eq-card::after { display: none; }

.stat-chip.has-eq {
  min-height: 92px;
}
.stat-chip.has-eq em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: #067a53;
  background: rgba(12, 155, 108, 0.1);
  border-radius: 999px;
  padding: 3px 8px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.screen-eq-kid-row {
  align-items: center;
}
.screen-eq-kid-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-weight: 800;
}
.eq-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #067a53;
  background: #e8f8f1;
  border-radius: 999px;
  padding: 2px 8px;
}

.kid-card .kid-actions {
  width: 100%;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 4px;
}
.kid-card {
  flex-wrap: wrap;
}
.kid-card .kid-info {
  flex: 1 1 160px;
}

.play-req-banner {
  border: 1px solid rgba(12, 155, 108, 0.25) !important;
  background: linear-gradient(180deg, #f3fff8, #e7fbf1) !important;
  box-shadow: 0 12px 28px rgba(12, 155, 108, 0.12) !important;
  border-radius: 24px !important;
}

/* —— Forms —— */
.field label {
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.field input,
.field select,
.field textarea,
.form-stack input,
.form-stack select,
.form-stack textarea {
  border-radius: 16px !important;
  border: 1px solid rgba(16, 40, 32, 0.08) !important;
  background: linear-gradient(180deg, #fff, #f7fbf9) !important;
  box-shadow: 0 4px 12px rgba(16, 40, 32, 0.04);
  min-height: 50px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: rgba(12, 155, 108, 0.45) !important;
  box-shadow:
    0 0 0 4px rgba(12, 155, 108, 0.12),
    0 8px 18px rgba(12, 155, 108, 0.08);
}

.amount-chip {
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #eef7f2);
  border: 1px solid rgba(16, 40, 32, 0.05);
  box-shadow: 0 6px 14px rgba(16, 40, 32, 0.06);
}

/* —— Tasks / lists —— */
.task-item,
.tx-item {
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f6faf7);
  border: 1px solid rgba(16, 40, 32, 0.05);
  box-shadow: 0 8px 18px rgba(16, 40, 32, 0.05);
}

.section-head h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.section-head a {
  font-weight: 800;
  color: var(--brand-dark);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 155, 108, 0.1);
}

/* —— Alerts / toast —— */
.alert-3d {
  border-radius: 20px;
  border: 1px solid rgba(16, 40, 32, 0.05);
  box-shadow: 0 10px 24px rgba(16, 40, 32, 0.08);
}

.toast {
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(16, 40, 32, 0.18);
}

/* —— FAB —— */
.fab {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffd24d, #f0b429);
  color: #5a4200;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 0 #d49a00,
    0 18px 32px rgba(212, 154, 0, 0.35);
}

/* —— Empty / install —— */
.empty {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.install-banner {
  border-radius: 18px;
  background: linear-gradient(90deg, #ecfdf5, #fff7db);
  border: 1px solid rgba(12, 155, 108, 0.12);
}

/* —— Welcome —— */
.welcome {
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(52, 211, 164, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 15%, rgba(255, 196, 90, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 40% 100%, rgba(12, 155, 108, 0.18) 0%, transparent 55%),
    linear-gradient(165deg, #f8fcfa 0%, #e7f6ee 100%);
}

.welcome-logo {
  border-radius: 28px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 0 #067a53,
    0 20px 36px rgba(12, 155, 108, 0.35);
}

/* —— Login / auth cards —— */
.auth-card,
.login-card {
  border-radius: 28px;
  box-shadow:
    0 1px 0 #fff inset,
    0 24px 50px rgba(16, 40, 32, 0.1);
}

/* —— Desktop shell comfort —— */
@media (min-width: 700px) {
  .app-content {
    padding-left: 22px;
    padding-right: 22px;
  }
  .kid-card {
    padding: 18px 18px 18px 20px;
  }
}

/* Windows / tarayıcı masaüstü — Android dar kalır */
body.app-shell.is-desktop {
  --max: 1180px;
  max-width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
  box-shadow: none;
  min-height: 100dvh;
}
@media (min-width: 900px) {
  body.app-shell.is-desktop {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 100dvh;
    border-radius: 0;
    overflow: visible;
  }
}

/* —— Çocuk ayar sekmeleri —— */
.child-settings-shell {
  margin-top: 4px;
}
.settings-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  margin: 0 -4px 8px;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  z-index: 8;
  background: linear-gradient(180deg, rgba(247, 251, 248, 0.96) 40%, rgba(247, 251, 248, 0.72));
}
.settings-tabs::-webkit-scrollbar { display: none; }
.settings-tab {
  flex: 0 0 auto;
  min-width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 10px 8px 8px;
  box-shadow: 0 6px 14px rgba(16, 40, 32, 0.06);
  cursor: pointer;
  font: inherit;
}
.settings-tab.is-active {
  background: linear-gradient(180deg, #12b37c, #067a53);
  color: #fff;
  box-shadow: 0 7px 0 #045c3e, 0 12px 20px rgba(6, 122, 83, 0.28);
}
.settings-tab-ico { font-size: 1.35rem; line-height: 1; }
.settings-tab-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.settings-tab-text strong {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.settings-tab-text small { display: none; }
.settings-panel { display: none; }
.settings-panel.is-active { display: block; }
.settings-panel-title {
  font-family: var(--display);
  font-size: 1.12rem;
  margin: 0 0 10px;
  color: var(--ink);
}
.app-preset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.app-preset-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  background: #f6fbf8;
  font-size: 0.86rem;
  font-weight: 700;
}
.app-preset-item small {
  width: 100%;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.7rem;
}
.installed-apps-list {
  max-height: 280px;
  overflow: auto;
  display: grid;
  gap: 6px;
}
.installed-apps-icons {
  max-height: min(52vh, 420px);
  grid-template-columns: 1fr;
  gap: 8px;
}
.app-icon-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 8px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d7e5dc;
  cursor: pointer;
  position: relative;
}
.app-icon-item.hg-app-toggle {
  user-select: none;
  -webkit-user-select: none;
}
.app-icon-tag.app-icon-ok {
  color: #0d9f6e;
}
.app-icon-item.is-allowed {
  background: #e7f8ef;
  border-color: #0d9f6e;
}
.app-icon-item.is-blocked {
  opacity: 0.72;
}
.app-icon-item.is-pending {
  background: #fff8e8;
  border-color: #e6b84d;
}
.pending-apps-block .pending-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  grid-column: 2;
}
.app-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: #0d9f6e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  grid-row: 1 / span 2;
}
.app-icon-badge img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  display: block;
}
.app-icon-letter {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}
.app-icon-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-icon-meta strong {
  font-size: 0.92rem;
  color: #12261d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-icon-meta small {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-icon-tag {
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  color: #b42318;
}
/* İsim/paket altında görünür tik seçici */
.app-icon-pick {
  grid-column: 2;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 4px 0;
  width: fit-content;
  max-width: 100%;
}
.app-icon-pick input.hg-allow-cb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.app-icon-tick {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid #9bb5a8;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}
.app-icon-pick-lab {
  font-size: 0.78rem;
  font-weight: 800;
  font-style: normal;
  color: #5a7266;
}
.app-icon-item.is-allowed .app-icon-tick {
  border-color: #0d9f6e;
  background: #0d9f6e;
}
.app-icon-item.is-allowed .app-icon-tick::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.app-icon-item.is-allowed .app-icon-pick-lab {
  color: #0d9f6e;
}
.settings-advanced {
  margin-top: 4px;
  border-radius: 12px;
  background: #f3f7f5;
  padding: 8px 12px;
}
.settings-advanced summary {
  cursor: pointer;
  font-weight: 700;
  color: #3d5248;
}

.device-list,
.window-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.device-list li,
.window-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.proof-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

body.is-desktop .child-settings-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
body.is-desktop .settings-tabs {
  flex-direction: column;
  overflow: visible;
  position: sticky;
  top: 12px;
  margin: 0;
  padding: 0;
  background: transparent;
}
body.is-desktop .settings-tab {
  flex-direction: row;
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  padding: 12px 14px;
  text-align: left;
}
body.is-desktop .settings-tab-text {
  align-items: flex-start;
}
body.is-desktop .settings-tab-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  opacity: 0.72;
}
body.is-desktop .app-preset-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.is-desktop .quick-actions.child-quick-bar {
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
}

body.is-desktop .app-nav.nav-6 a {
  font-size: 0.7rem;
  padding: 8px 4px;
}
body.is-desktop .app-nav.nav-6 a .ico svg {
  width: 24px;
  height: 24px;
}
