/* Full Items Only button distinct style */
.full-items-btn {
  background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
  color: #fff;
  border: 2px solid #14b8a6;
  font-weight: 700;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(20,184,166,0.12);
  margin-left: 16px;
  padding: 10px 22px;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.full-items-btn.active {
  background: linear-gradient(90deg, #06b6d4 0%, #14b8a6 100%);
  color: #fff;
  border-color: #06b6d4;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&display=swap');

:root{
  --bg:#0b0f16; --fg:#e6edf3; --muted:#9aa4b2; --border:#1e2633;
  --thead:#121826; --row:#0f1520; --accent:#93c5fd;
}
*{box-sizing:border-box}
body{
  margin:24px; background:var(--bg); color:var(--fg);
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans";
}
.header{margin-bottom:12px}
.title{margin:0; font-weight:750}
.subtitle{color:var(--muted); font-size:12px}
.controls{display:flex; gap:12px; align-items:end; margin:16px 0 8px}
.control{display:flex; flex-direction:column; gap:6px}
.control label{font-size:12px; color:var(--muted)}
.control.grow{flex:1}
.control input, .control select{
  background:var(--row); color:var(--fg); border:1px solid var(--border);
  border-radius:10px; padding:8px 10px; outline:none;
}
.card{
  border:1px solid var(--border); background:var(--row);
  border-radius:12px; padding:12px 14px; overflow:auto;
}
.alert{
  border:1px solid #7c2d12; background:#1f130a; color:#fdba74;
  padding:8px 10px; border-radius:8px; margin-bottom:10px; font-size:13px;
}
table{border-collapse:collapse; width:100%}
th,td{border-bottom:1px solid var(--border); padding:10px 12px; font-size:14px; vertical-align:top}
thead th{position:sticky; top:0; background:var(--thead); cursor:pointer; user-select:none; position:relative; padding-right:24px}
thead th:hover{background:color-mix(in oklab, var(--thead), white 8%)}
thead th.sorted-asc::after{content:"▲"; position:absolute; right:8px; top:50%; transform:translateY(-50%); color:var(--accent); font-size:10px}
thead th.sorted-desc::after{content:"▼"; position:absolute; right:8px; top:50%; transform:translateY(-50%); color:var(--accent); font-size:10px}
tbody tr:nth-child(even){background:color-mix(in oklab, var(--row), black 4%)}
tbody tr:hover{background:color-mix(in oklab, var(--row), white 6%)}
.left{text-align:left}
.right{text-align:right; font-variant-numeric:tabular-nums}

/* Item name and icon styling */
.item-cell{display:flex; align-items:center; gap:12px}
.item-cell a{
  color:inherit; text-decoration:none; display:flex; align-items:center; gap:12px;
  transition:all 0.2s ease;
}
.item-cell a:hover{color:var(--accent)}
.item-cell a:hover .item-icon{border-color:var(--accent); transform:scale(1.05)}
.item-icon{
  width:52px; height:52px; border-radius:8px; 
  border:2px solid var(--border); 
  object-fit:cover; flex-shrink:0;
  transition:all 0.2s ease;
  background:linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}
.item-name{
  font-family:'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight:600; font-size:14px; letter-spacing:0.01em;
  line-height:1.3;
}

/* Stats cell styling */
.stats-list{display:flex; flex-direction:column; gap:4px; font-size:13px; line-height:1.3}
.stat-item{color:var(--fg); white-space:nowrap}
.stat-item:not(:last-child){margin-bottom:2px}

.footer{color:var(--muted); font-size:12px; margin-top:16px; display:grid; gap:4px}
.legal-links{margin-top:8px}
.legal-links a{color:var(--accent); text-decoration:none; transition:color 0.2s ease}
.legal-links a:hover{color:color-mix(in oklab, var(--accent), white 20%); text-decoration:underline}

/* Filter Buttons */
.filters{margin:12px 0; display:flex; flex-direction:column; gap:12px}
.filter-group{display:flex; flex-wrap:wrap; gap:8px; align-items:flex-start}
.filter-label{font-size:12px; color:var(--muted); min-width:80px; font-weight:500; display:flex; gap:8px; align-items:center; flex-shrink:0}
.stat-groups{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.stat-group{
  display:flex; flex-wrap:wrap; gap:6px; padding:4px 8px;
  border:1px solid var(--border); border-radius:8px;
  background:color-mix(in oklab, var(--row), transparent 50%);
}
.clear-btn{
  background:transparent; color:var(--accent); border:none;
  font-size:11px; cursor:pointer; padding:2px 6px; text-decoration:underline;
  transition:color 0.2s ease;
}
.clear-btn:hover{color:color-mix(in oklab, var(--accent), white 20%)}
.filter-btn{
  background:var(--row); color:var(--fg); border:1px solid var(--border);
  border-radius:8px; padding:6px 14px; font-size:13px; cursor:pointer;
  transition:all 0.2s ease; outline:none; font-weight:500;
}
.filter-btn:hover{background:color-mix(in oklab, var(--row), white 8%); border-color:var(--accent)}
.filter-btn.active{background:var(--accent); color:#0b0f16; border-color:var(--accent)}
.filter-btn.active:hover{background:color-mix(in oklab, var(--accent), white 12%)}

/* Privacy Policy Styles */
.privacy-content{max-width:800px; line-height:1.6}
.privacy-content h2{color:var(--accent); margin-top:0}
.privacy-content h3{color:var(--fg); margin-top:2em; margin-bottom:0.5em}
.privacy-content h4{color:var(--fg); margin-top:1.5em; margin-bottom:0.5em}
.privacy-content ul{margin:0.5em 0; padding-left:1.5em}
.privacy-content li{margin:0.25em 0}
.privacy-content a{color:var(--accent); text-decoration:underline}
.privacy-content a:hover{text-decoration:none}

/* Cookie Banner Styles */
.cookie-banner{
  position:fixed; bottom:0; left:0; right:0; background:var(--row);
  border-top:1px solid var(--border); padding:16px; z-index:1000;
  box-shadow:0 -2px 10px rgba(0,0,0,0.3);
}
.cookie-banner.hidden{display:none}
.cookie-content{max-width:1200px; margin:0 auto; display:flex; align-items:center; gap:16px; flex-wrap:wrap}
.cookie-text{flex:1; min-width:300px; font-size:14px; line-height:1.4}
.cookie-buttons{display:flex; gap:8px; flex-wrap:wrap}
.cookie-btn{
  background:var(--accent); color:var(--bg); border:none; border-radius:6px;
  padding:8px 16px; cursor:pointer; font-size:13px; font-weight:500;
}
.cookie-btn.secondary{background:var(--border); color:var(--fg)}
.cookie-btn:hover{opacity:0.9}
.cookie-link{color:var(--accent); text-decoration:underline; font-size:13px}
.cookie-link:hover{text-decoration:none}

/* Accessibility */
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

/* SEO and Semantic Improvements */
main{display:block}
[role="columnheader"]:focus{outline:2px solid var(--accent); outline-offset:2px}
