* { box-sizing: border-box; }

:root {
    --bg:    #151011;
    --bg2:   #1d1614;
    --shell: #241d18;
    --edge:  #3a2f27;
    --lbl:   #f0e6d2;
    --ink:   #2b2118;
    --mut:   #8a7a68;
    --mag:   #ff4d9d;
    --cyn:   #3fd4cf;
    --grn:   #59d98c;
    --red:   #ff5c5c;
    --amb:   #ffb84d;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--lbl);
    font: 13px/1.5 "Courier New", Courier, monospace;
}
a { color: inherit; }

#shell { width: 1000px; max-width: 97%; margin: 0 auto; padding: 30px 0 50px; }

/* ---- masthead ---- */
#mast { text-align: center; margin-bottom: 6px; }
.mh-title {
    font: 900 42px/1 Arial Black, Arial, sans-serif;
    letter-spacing: 3px;
    text-shadow: -2px 0 0 var(--mag), 2px 0 0 var(--cyn),
                 0 0 20px rgba(255,77,157,.3);
}
.mh-title span { color: var(--amb); text-shadow: none; }
.mh-sub {
    font-size: 11px; letter-spacing: 6px; color: var(--mut);
    margin: 8px 0 10px; text-transform: uppercase;
}
.mh-stat {
    font-size: 11px; letter-spacing: 1px; color: var(--mut);
    border-top: 1px solid var(--edge);
    border-bottom: 1px solid var(--edge);
    display: inline-block; padding: 6px 18px; margin-top: 4px;
}
.mh-stat b { color: var(--amb); margin: 0 4px; }
.mh-stat .g { color: var(--grn); font-style: normal; }
.curs { animation: blink 1.1s steps(1) infinite; color: var(--grn); }
@keyframes blink { 50% { opacity: 0; } }

/* ---- tabs ---- */
#crate-tabs { margin: 24px 0 4px; }
.ctab {
    display: inline-block; padding: 8px 16px 7px; margin-right: 4px;
    background: var(--bg2); border: 1px solid var(--edge);
    border-bottom: none; border-radius: 7px 7px 0 0;
    color: var(--mut); text-decoration: none;
    font: bold 11px "Courier New", monospace; letter-spacing: 2px;
    position: relative; top: 1px; transition: all .18s;
}
.ctab em { display: block; height: 4px; border-radius: 2px;
           margin-bottom: 6px; opacity: .85; }
.ctab:hover { color: var(--lbl); background: var(--shell); }
.ctab.ct-on { color: var(--lbl); background: var(--shell);
              box-shadow: 0 -4px 14px rgba(0,0,0,.4); }

/* ---- featured banners ---- */
#marquee { background: var(--bg2); border: 1px solid var(--edge);
           border-radius: 6px; padding: 12px; margin: 16px 0 6px;
           text-align: center; }
.mq-l { font: bold 10px "Courier New", monospace; letter-spacing: 3px;
        color: var(--amb); margin-bottom: 8px; }
.mq-l i { color: #57493d; font-style: normal; letter-spacing: 0;
          text-transform: none; }
.bn img { max-width: 100%; max-height: 90px; border-radius: 3px;
          border: 1px solid var(--edge); }
.bn .bn-t { margin-top: 5px; font-size: 11px; color: var(--mut); }
.bn .bn-t a { color: var(--mag); text-decoration: none; }

/* ---- deck + rail ---- */
#deck-row { display: flex; gap: 24px; align-items: flex-start; }
#deck { flex: 1; min-width: 0; }
#rail { width: 200px; min-width: 200px; padding-top: 26px; }

/* ---- category headers ---- */
.dvd { display: flex; align-items: center; gap: 12px; margin: 30px 0 12px; }
.dvd .tag {
    background: var(--sh, var(--mut)); color: #16100e;
    font: 900 13px Arial Black, Arial, sans-serif;
    letter-spacing: 2px; padding: 7px 16px;
    border-radius: 4px 4px 0 0; transform: skewX(-6deg);
}
.dvd::after { content: ''; flex: 1; height: 3px;
    background: linear-gradient(90deg, var(--sh, var(--mut)), transparent);
    opacity: .5; border-radius: 2px; }
.cnt2 { font-style: normal; font-size: 10px; color: var(--mut);
        letter-spacing: 1px; }

/* ---- link list ---- */
.list { display: flex; flex-direction: column; gap: 8px; }
.empty-l { text-align: center; color: #4d4038; padding: 20px;
           letter-spacing: 3px; font-size: 11px; }

/* ---- link row ---- */
.lk {
    background: var(--bg2);
    border: 1px solid var(--edge);
    border-left: 3px solid var(--sh, var(--mut));
    border-radius: 5px;
    animation: lkin .4s ease backwards;
    transition: transform .16s, box-shadow .16s;
}
@keyframes lkin { from { opacity: 0; transform: translateX(-10px); } }
.lk:hover { transform: translateX(4px);
    box-shadow: -4px 4px 0 rgba(0,0,0,.35),
                0 0 16px rgba(255,184,77,.08); }
.lk summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
}
.lk summary::-webkit-details-marker { display: none; }
.lk[open] summary { background: var(--shell); }

/* status led */
.led { width: 8px; height: 8px; min-width: 8px; border-radius: 50%;
       background: var(--red); opacity: .7; }
.lk.on .led { background: var(--grn); opacity: 1;
    animation: pulse 1.6s infinite; }
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(89,217,140,.6); }
    50%     { box-shadow: 0 0 0 5px rgba(89,217,140,0); }
}

/* name + desc */
.lk-main { flex: 1; min-width: 0; }
.lk-n {
    color: var(--lbl); font: bold 15px Arial, sans-serif;
    text-decoration: none; letter-spacing: .5px;
}
.lk-n:hover { color: var(--cyn);
    text-shadow: 0 0 10px rgba(63,212,207,.55); }
.nw { background: var(--mag); color: #1c0210;
    font: bold 8px/13px "Courier New", monospace; font-style: normal;
    padding: 1px 7px; margin-left: 8px; border-radius: 8px;
    vertical-align: 2px; animation: nwglow 2.5s 1s infinite; }
@keyframes nwglow { 0%,100% { box-shadow: 0 0 0 rgba(255,77,157,0); }
    50% { box-shadow: 0 0 9px rgba(255,77,157,.8); } }
.lk-d {
    display: block; font-size: 11px; color: var(--mut);
    margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* right meta */
.lk-meta { display: flex; align-items: center; gap: 12px;
           white-space: nowrap; }
.vt { font: bold 10px "Courier New", monospace; color: var(--cyn);
    border: 1px solid rgba(63,212,207,.4);
    background: rgba(63,212,207,.08); border-radius: 10px;
    padding: 2px 9px; }
.lk:hover .vt { box-shadow: 0 0 10px rgba(63,212,207,.3); }
.st { font-size: 10px; letter-spacing: 1px; }
.lk.on  .st { color: var(--grn); }
.lk.off .st { color: var(--red); }
.ar { font-size: 17px; color: var(--mut);
      transition: all .18s; }
.lk[open] .ar { color: var(--cyn); transform: rotate(90deg);
    text-shadow: 0 0 8px rgba(63,212,207,.5); }

/* expanded body */
.lx { border-top: 1px dashed var(--edge); background: var(--shell);
    padding: 12px 16px; animation: lxopen .28s ease both; }
@keyframes lxopen { from { opacity: 0; transform: translateY(-6px); } }
.lx-d { font-size: 12px; color: #b9a88f; margin-bottom: 12px; }
.lx-i { float: right; max-width: 110px; max-height: 56px;
    border: 1px solid var(--edge); border-radius: 3px;
    margin: 0 0 8px 14px; }
.lx-a { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pbt { text-decoration: none; font: bold 11px "Courier New", monospace;
    letter-spacing: 2px; color: #0f2416; background: var(--grn);
    border: 1px solid var(--grn); border-radius: 3px;
    padding: 6px 15px; transition: all .18s; }
.pbt:hover { background: #7bf0a8;
    box-shadow: 0 0 14px rgba(89,217,140,.5); }
.vbt { text-decoration: none; font: bold 11px "Courier New", monospace;
    letter-spacing: 1px; color: var(--cyn);
    border: 1px solid rgba(63,212,207,.45);
    background: rgba(63,212,207,.07); border-radius: 3px;
    padding: 6px 12px; margin-left: auto; }
.vbt b { margin-left: 4px; display: inline-block;
         transition: transform .25s; }
.vbt:hover { border-color: var(--cyn);
    box-shadow: 0 0 10px rgba(63,212,207,.35); }
.lx-id { font-size: 9px; color: #57493d; letter-spacing: 1px; }

/* ---- rail ---- */
.rail-t { font-size: 10px; letter-spacing: 2px; color: var(--mut);
    border-bottom: 1px solid var(--edge); padding-bottom: 6px; }
.pin { background: var(--lbl); color: var(--ink); border-radius: 3px;
    padding: 10px; margin: 12px 2px; font-size: 11px;
    box-shadow: 2px 4px 10px rgba(0,0,0,.55); position: relative;
    transform: rotate(-2deg); transition: transform .18s; }
.pin:nth-child(even) { transform: rotate(1.6deg); }
.pin:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.pin::before { content: ''; position: absolute; top: -6px; left: 50%;
    margin-left: -5px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--mag); }
.pin img { max-width: 100%; border-radius: 2px; display: block; }
.pin .bn-t { margin-top: 6px; text-align: center; }
.pin .bn-t a { color: #a3005c; text-decoration: none; font-weight: bold; }

.panel {
    margin-top: 22px;
    background: linear-gradient(180deg, #221b16, #1a1411);
    border: 1px solid var(--edge);
    border-left: 3px solid var(--amb);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 0 rgba(0,0,0,.4);
}
.ht-lbl {
    background: transparent;
    color: var(--amb);
    font: 900 10px "Courier New", monospace;
    letter-spacing: 3px;
    padding: 9px 12px 6px;
    border-bottom: 1px dashed var(--edge);
}
.ht-row {
    font-size: 11px; padding: 8px 12px;
    border-bottom: 1px dotted #2c241f;
    word-break: break-all;
    transition: all .15s;
}
.ht-row:last-child { border-bottom: 0; }
.ht-row a {
    color: var(--lbl); text-decoration: none;
    display: block; transition: all .15s;
}
.ht-row a::before { content: '\203A  '; color: var(--amb); }
.ht-row a:hover {
    color: var(--cyn);
    padding-left: 4px;
    text-shadow: 0 0 8px rgba(63,212,207,.55);
}
.ht-row span { display: block; font-size: 8px; letter-spacing: 2px;
    color: #57493d; margin-bottom: 2px; }
.ht-row a { color: var(--cyn); text-decoration: none; }
.ht-row a:hover { text-shadow: 0 0 8px rgba(63,212,207,.6); }

/* ---- footer ---- */
#floor { margin-top: 34px; border-top: 2px solid var(--edge);
    padding-top: 18px; text-align: center; }
.stick { display: inline-block; background: var(--lbl); color: var(--ink);
    font: bold 11px "Courier New", monospace; letter-spacing: 1px;
    text-decoration: none; padding: 6px 14px; border-radius: 2px;
    box-shadow: 2px 3px 8px rgba(0,0,0,.5); transform: rotate(-2deg);
    margin: 0 8px; transition: all .15s; }
.stick.s2 { transform: rotate(1.5deg); }
.stick:hover { transform: rotate(0) scale(1.06);
    box-shadow: 0 0 14px rgba(255,77,157,.4); }
.fl-note { display: block; margin-top: 16px; font-size: 10px;
    letter-spacing: 1px; color: #57493d; }

/* ============ legacy pages: admin/contact/canary/detail ============ */
#wrap { width: 900px; max-width: 96%; margin: 24px auto;
    background: var(--bg2); border: 1px solid var(--edge);
    border-radius: 6px; padding: 16px; }
.th1 { font-size: 11px; color: var(--lbl); }
#tabs { border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
    padding: 8px 0 10px; margin: 0 0 14px; text-align: center; }
.tab { display: inline-block; padding: 5px 15px; margin: 2px 3px;
    font: bold 11px "Courier New", monospace; letter-spacing: 2px;
    color: var(--lbl); text-decoration: none; background: transparent;
    border: 1px solid var(--edge); border-radius: 3px; cursor: pointer; }
.tab:hover { border-color: var(--mag);
    box-shadow: 0 0 12px rgba(255,77,157,.4); }
.tb-on { background: var(--lbl) !important; color: #16100e !important;
    border-color: var(--lbl) !important; }
.sect { margin: 20px 0; }
.sect-t { color: var(--amb); font: bold 15px "Courier New", monospace;
    letter-spacing: 2px; border-bottom: 1px solid var(--edge);
    padding-bottom: 5px; margin-bottom: 10px; }
.dbox { background: var(--shell); border: 1px solid var(--edge);
    border-left: 3px solid var(--cyn); border-radius: 4px;
    padding: 11px 15px; margin: 8px 0; overflow: auto; }
.onl { color: var(--grn); } .onf { color: var(--red); }
.on-line { font-size: 11px; font-weight: bold; letter-spacing: 1px; }
#cana { background: #0c0a09; border: 1px solid var(--edge);
    border-left: 3px solid var(--amb); padding: 13px;
    font: 11px "Courier New", monospace; color: #9dce85;
    overflow-x: auto; border-radius: 4px; }
#cform { margin: 10px 0; }
#cform label { color: var(--amb); font-size: 11px; display: block;
    margin: 10px 0 3px; letter-spacing: 1px; }
#cform input, #cform textarea, #cform select {
    width: 100%; background: #0f0c0a; border: 1px solid var(--edge);
    color: var(--lbl); font: 12px "Courier New", monospace;
    padding: 7px; border-radius: 3px; }
#cform input:focus, #cform textarea:focus { outline: none;
    border-color: var(--mag); }
#cform input[type=checkbox], #cform input[type=radio] { width: auto; }
#botnav { margin-top: 24px; border-top: 1px solid var(--edge);
    padding-top: 10px; text-align: center; font-size: 10px;
    color: #57493d; }
#botnav a { color: var(--mut); text-decoration: none; margin: 0 6px; }
#botnav a:hover { color: var(--mag); }
.adm { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.adm th { text-align: left; color: var(--amb);
    font: bold 12px "Courier New", monospace; letter-spacing: 2px;
    padding: 5px 7px; border-bottom: 1px solid var(--mag); }
.adm td { padding: 5px 7px; font-size: 12px;
    border-bottom: 1px solid #261f1b; vertical-align: middle; }
.mini { font: bold 9px "Courier New", monospace; letter-spacing: 1px;
    border-radius: 3px; padding: 2px 7px; cursor: pointer;
    margin-right: 3px; border: 1px solid; background: none; }
a.mini { text-decoration: none; display: inline-block; }
a.mini:hover { box-shadow: 0 0 8px rgba(255,184,77,.35); }
.m-live { color: var(--grn); border-color: var(--grn); }
.m-off  { color: var(--mut); border-color: var(--edge); }
.m-del  { color: var(--red); border-color: var(--red); }
.mini:hover { box-shadow: 0 0 8px rgba(255,77,157,.35); }
.m-edit { color: #ffb84d; border-color: #ffb84d; }
.m-edit:hover { box-shadow: 0 0 8px rgba(255,184,77,.4); }

/* ======== v7 features ======== */
/* search bar + random button */
#sform { margin-top: 12px; }
#sform input[type=text] {
    width: 260px; background: #0f0c0a;
    border: 1px solid var(--edge); color: var(--lbl);
    font: 12px "Courier New", monospace;
    padding: 7px 10px; border-radius: 3px;
}
#sform input[type=text]:focus { outline: none; border-color: var(--mag); }
#sform .ctab { margin-left: 4px; position: static; top: 0; }

/* featured listings (paid pins) */
.lk.feat { border-left: 3px solid var(--amb); }
.lk.feat:hover { box-shadow: -4px 4px 0 rgba(0,0,0,.35),
    0 0 18px rgba(255,184,77,.25); }
.ft-chip {
    background: var(--amb); color: #20180a;
    font: bold 8px/13px "Courier New", monospace; font-style: normal;
    padding: 1px 7px; margin-left: 8px; border-radius: 8px;
    vertical-align: 2px;
}

/* pgp fingerprint line on listings */
.pgp {
    font-size: 10px; color: #59d98c; margin-bottom: 10px;
    word-break: break-all;
}
.pgp code { color: #59d98c; }

/* verified mirrors line */
.mirs { font-size: 11px; color: #8a7a68; margin-bottom: 10px; }
.mirs a { color: var(--cyn); text-decoration: none; margin-right: 10px; }
.mirs a:hover { text-shadow: 0 0 8px rgba(63,212,207,.6); }

/* report link on expanded rows */
.rlink {
    margin-left: auto; font-size: 10px; color: #8a7a68;
    text-decoration: none;
}
.rlink:hover { color: var(--red);
    text-shadow: 0 0 8px rgba(255,92,92,.5); }

/* status page table niceties */
.adm td.onl, .adm td.onf {
    font: bold 11px "Courier New", monospace; letter-spacing: 1px;
}

/* === END OF STYLESHEET — v7 === */