.app-cache-page {
  padding: 20px 16px 100px;
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--ap-bg, #0b1a12);
  color: var(--ap-text, #e8eaed);
  font-family: 'DM Sans', sans-serif;
}

.app-cache-header {
  margin-bottom: 24px;
  padding-top: 8px;
}
.app-cache-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700;
  color: #e8eaed; margin: 0 0 6px;
}
.app-cache-sub {
  font-size: 12px; color: rgba(232,234,237,.45);
  margin: 0;
}

/* Barre de stockage */
.app-cache-storage {
  margin-bottom: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 14px 16px;
}
.app-cache-storage-bar {
  height: 6px; background: rgba(255,255,255,.1);
  border-radius: 6px; overflow: hidden; margin-bottom: 8px;
}
.app-cache-storage-fill {
  height: 100%; background: #8EB69B;
  border-radius: 6px;
  transition: width .5s ease;
}
.app-cache-storage-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(232,234,237,.45);
}

/* Actions */
.app-cache-actions {
  margin-bottom: 20px;
  display: flex; justify-content: flex-end;
}
.app-cache-btn-clear {
  display: flex; align-items: center; gap: 6px;
  background: rgba(220,80,80,.12);
  border: 1px solid rgba(220,80,80,.25);
  color: #e05c5c;
  border-radius: 20px; padding: 8px 16px;
  font-size: 12px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.app-cache-btn-clear:hover { background: rgba(220,80,80,.2); }

/* Items */
.app-cache-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  margin-bottom: 8px;
  transition: background .15s;
}
.app-cache-item:hover { background: rgba(255,255,255,.06); }

.app-cache-item-thumb {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(142,182,155,.1);
  border: 1px solid rgba(142,182,155,.15);
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.app-cache-item-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.app-cache-item-info { flex: 1; min-width: 0; }
.app-cache-item-title {
  font-size: 13px; font-weight: 500;
  color: #e8eaed;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.app-cache-item-meta {
  font-size: 11px; color: rgba(232,234,237,.4);
}
.app-cache-item-delete {
  background: rgba(220,80,80,.1);
  border: 1px solid rgba(220,80,80,.2);
  color: #e05c5c; border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background .15s;
}
.app-cache-item-delete:hover { background: rgba(220,80,80,.25); }

/* Vide */
.app-cache-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 20px; text-align: center; gap: 12px;
}
.app-cache-empty p {
  font-size: 16px; font-weight: 500;
  color: rgba(232,234,237,.6); margin: 0;
}
.app-cache-empty span {
  font-size: 13px; color: rgba(232,234,237,.35);
  line-height: 1.6;
}

/* Loading */
.app-cache-loading {
  display: flex; justify-content: center; padding: 40px;
}

.app-cache-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.app-cache-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: rgba(232,234,237,.5);
  transition: all .15s;
}

.app-cache-filter-btn:hover {
  background: rgba(255,255,255,.08);
  color: rgba(232,234,237,.8);
}

.app-cache-filter-btn.active {
  background: rgba(142,182,155,.15);
  border-color: rgba(142,182,155,.3);
  color: #fff;
}