/* ============================================================
   aCis — nginx fancyindex theme  (listing.css)
   Copper / dark, matching the aCis website.
   Referenced via:  fancyindex_css_href "/_index/listing.css";
   ============================================================ */
:root{
  --bg:#0b0a08; --gold:#cf9450; --gold-bright:#eab97a; --gold-dim:#8c5c2c;
  --copper:#b87a44; --text:#e9ddc8; --muted:#a08c72; --line:rgba(207,148,80,.30);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Georgia","Times New Roman",serif;color:var(--text);
  background:
    linear-gradient(180deg, rgba(11,10,8,.86), rgba(11,10,8,.93)),
    url("/_index/bg.jpg") center center / cover fixed no-repeat,
    #0b0a08;
  min-height:100vh;padding:0 0 60px;
}
a{color:var(--gold-bright);text-decoration:none}
a:hover{color:#fff}

/* ---- banner (injected by header.html) ---- */
.aidx-banner{
  text-align:center;padding:40px 20px 26px;border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,rgba(184,122,68,.10),transparent);
}
.aidx-banner img{width:210px;max-width:62%;height:auto;
  filter:drop-shadow(0 0 18px rgba(207,148,80,.35)) drop-shadow(0 4px 12px rgba(0,0,0,.7))}
.aidx-banner .sub{margin:12px 0 0;color:var(--gold);letter-spacing:.26em;
  text-transform:uppercase;font-size:12px}

/* ---- nginx fancyindex prints <h1>Index of …</h1> + <table id="list"> ---- */
h1{max-width:920px;margin:30px auto 14px;padding:0 26px;color:var(--gold-bright);
  font-size:22px;letter-spacing:.03em;font-weight:700}

#list,table{max-width:920px;width:calc(100% - 52px);margin:0 auto;border-collapse:collapse;
  background:linear-gradient(180deg,rgba(28,22,14,.92),rgba(17,13,8,.95));
  border:1px solid var(--line);border-radius:10px;overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.5)}

#list thead th,table thead th{
  text-align:left;padding:12px 16px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold);background:linear-gradient(180deg,rgba(184,122,68,.18),transparent);
  border-bottom:1px solid var(--line);font-weight:700}
#list thead th a,table thead th a{color:var(--gold)}
#list thead th a:hover{color:var(--gold-bright)}

#list td,table td{padding:10px 16px;border-bottom:1px solid rgba(207,148,80,.12);font-size:15px}
#list tbody tr:last-child td{border-bottom:0}
#list tbody tr:hover td,table tbody tr:hover td{background:rgba(207,148,80,.08)}

/* columns: 1 = name, 2 = size, 3 = date */
#list td:nth-child(2),table td:nth-child(2){color:var(--muted);
  font-family:"Consolas","Courier New",monospace;font-size:13px;white-space:nowrap}
#list td:nth-child(3),table td:nth-child(3){color:var(--muted);font-size:13px;white-space:nowrap}

/* file / folder markers (folders end with a slash) */
#list td:nth-child(1) a::before,table td:nth-child(1) a::before{content:"\1F4C4\00a0"}      /* 📄 */
#list td:nth-child(1) a[href$="/"]::before,table td:nth-child(1) a[href$="/"]::before{content:"\1F4C1\00a0"} /* 📁 */
#list td:nth-child(1) a[href$="/"],table td:nth-child(1) a[href$="/"]{color:var(--gold-bright);font-weight:700}

/* ---- footer (injected by footer.html) ---- */
.aidx-foot{max-width:920px;margin:26px auto 0;padding:20px 26px 0;text-align:center;
  color:var(--muted);font-size:12px;border-top:1px solid var(--line)}
.aidx-foot .sep{color:var(--gold-dim);margin:0 8px}

@media (max-width:600px){
  #list td:nth-child(3),table td:nth-child(3){display:none}   /* drop date column on phones */
}
