/* Kurenai dashboard — crimson theme */
:root {
--bg: #0b0708;
--bg-2: #0e0809;
--panel: rgba(18,10,11,.74);
--panel-2: rgba(23,12,14,.8);
--line: #2a1416;
--line-strong: #4a1a1f;
--red: #e11d2e;
--red-deep: #c8102e;
--red-soft: #ff6b74;
--red-text: #ff8a91;
--text: #f3e9e6;
--text-2: #d9c9c6;
--muted: #b8a5a3;
--green: #7ee2a8;
--amber: #f5b971;
--radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
a { color: var(--red-soft); text-decoration: none; }
a:hover { color: #ffa3a8; }
h1, h2, h3 { margin: 0; }
.display { font-family: 'Oswald', sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.kanji { font-family: 'Zen Antique', serif; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
/* ---------- layout ---------- */
.app { min-height: 100vh; position: relative; overflow: hidden; }
.watermark {
position: fixed; right: -40px; top: 60px; font-size: 520px; line-height: 1;
color: #1a0c0e; pointer-events: none; user-select: none; z-index: 0;
}
.header {
position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center;
justify-content: space-between; gap: 16px; padding: 14px 28px;
border-bottom: 1px solid var(--line); background: rgba(14,8,9,.72); backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo {
width: 44px; height: 44px; border-radius: 8px; background: var(--red-deep);
display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff5f2;
box-shadow: 0 0 24px #c8102e66;
}
.brand-name { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 3px; display: block; }
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 1px; display: block; }
.userchip {
display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 999px;
border: 1px solid var(--line); background: #140b0c;
}
.avatar { width: 32px; height: 32px; border-radius: 999px; background: #3a1418; object-fit: cover; }
.role-tag { font-size: 11px; color: var(--red-soft); font-weight: 700; letter-spacing: 1px; display: block; }
.shell { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 24px; padding: 24px 28px 48px; }
.sidebar { flex: 1 1 250px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.section-label { font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 2px; color: var(--muted); }
/* ---------- bot cards ---------- */
.botcard {
display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 12px;
border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text);
}
.botcard:hover { border-color: #5a1f24; color: var(--text); }
.botcard.active { background: #22100f; border-color: var(--red); box-shadow: 0 0 18px #e11d2e33; }
.bot-glyph {
width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: #2a1114;
display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--red-soft); overflow: hidden;
}
.bot-glyph img { width: 100%; height: 100%; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; }
.on { color: var(--green); } .on .dot, .dot.on { background: var(--green); }
.off { color: var(--amber); } .off .dot, .dot.off { background: var(--amber); }
/* ---------- nav ---------- */
.nav { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: #110a0b; }
.navlink {
display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 8px;
color: var(--text-2); font-size: 14px; border-left: 3px solid transparent;
}
.navlink:hover { background: #1f1213; color: var(--text); }
.navlink.active { background: #2a1114; color: #fff5f2; font-weight: 600; border-left-color: var(--red); }
/* ---------- cards / panels ---------- */
.card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); padding: 20px; }
.card-title { font-size: 16px; font-weight: 600; }
.hero {
position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line-strong);
background: #150a0c; padding: 32px;
}
.hero-slash { position: absolute; right: 0; top: 0; width: 60%; height: 100%; pointer-events: none; }
.hero-body { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.hero h1 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 44px; line-height: 1.05; text-transform: uppercase; letter-spacing: 1px; }
.pill {
display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px;
border-radius: 999px; background: #2a1114; font-size: 12px; font-weight: 600; letter-spacing: 1px;
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { border-top: 2px solid var(--red-deep); display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-family: 'Oswald', sans-serif; font-size: 34px; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > * { min-width: 0; }
.chart { display: flex; align-items: flex-end; gap: 12px; height: 190px; border-bottom: 1px solid var(--line); padding-top: 8px; }
.chart-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.bar { width: 100%; max-width: 44px; border-radius: 6px 6px 0 0; background: #8e1424; min-height: 2px; }
.bar.peak { background: #ff4d5a; box-shadow: 0 0 18px #ff4d5a66; }
.chart-labels { display: flex; gap: 12px; }
.chart-labels span { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.activity-item { display: flex; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #1f1213; }
.initials {
width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: #2a1114; color: #ffc9cc;
font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.input, .select, .textarea {
width: 100%; min-height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid #3a1a1d;
background: #0e0809; color: var(--text); font-size: 14px; font-family: inherit;
}
.textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.input:disabled, .select:disabled, .textarea:disabled { opacity: .6; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } .hero h1 { font-size: 32px; } }
.hint { font-size: 12px; color: var(--muted); }
.checkbox { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--red); }
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit;
border: 1px solid #5a1f24; background: #140b0c; color: var(--text);
}
.btn:hover { border-color: var(--red); color: var(--text); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 24px #e11d2e55; }
.btn-primary:hover { background: #f02a3b; color: #fff; }
.btn-danger { background: transparent; border-color: #3a1a1d; color: var(--red-text); }
.btn-dashed { border-style: dashed; background: transparent; color: var(--red-soft); width: 100%; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 10px; cursor: pointer; border: 2px solid var(--line); }
.swatch[aria-pressed="true"] { border: 3px solid #fff; }
.toggle { position: relative; width: 48px; height: 28px; flex-shrink: 0; border-radius: 999px; border: none; cursor: pointer; background: #3a2224; }
.toggle[aria-pressed="true"] { background: var(--red); }
.toggle::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 999px; background: #fff; transition: left .15s; }
.toggle[aria-pressed="true"]::after { left: 24px; }
.toggle:disabled { opacity: .5; cursor: not-allowed; }
.cmd-row { display: flex; align-items: center; gap: 10px; padding: 4px 12px; border-radius: 10px; border: 1px solid transparent; }
.cmd-row.active { background: #22100f; border-color: var(--red); }
.cmd-pick {
flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: transparent;
border: none; color: var(--text); cursor: pointer; text-align: left; min-height: 48px; padding: 6px 0; font-family: inherit;
}
.cmd-name { font-family: 'Oswald', sans-serif; font-size: 16px; letter-spacing: 1px; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 4px 8px; border-radius: 6px; background: #241315; color: var(--text-2); }
.badge.owner { background: var(--red); color: #fff; }
.badge.editor { background: #3a1418; color: #ffc9cc; }
.badge.admin { background: #5a1520; color: #ffd9dc; border: 1px solid var(--red); }
.badge.viewer { background: #1a1416; color: var(--text-2); }
.alert { padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.alert.error { background: #2a0e11; border: 1px solid #6a1d25; color: #ffc9cc; }
.alert.ok { background: #0f2219; border: 1px solid #1f5a3c; color: #bff0d3; }
/* ---------- discord preview ---------- */
.dc { border-radius: var(--radius); background: #1e1f24; border: 1px solid #2b2d33; padding: 18px; display: flex; flex-direction: column; gap: 14px; font-family: 'Inter', sans-serif; }
.dc-msg { display: flex; gap: 12px; }
.dc-av { width: 40px; height: 40px; border-radius: 999px; background: #3a3c43; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.dc-av img { width: 100%; height: 100%; object-fit: cover; }
.dc-name { font-size: 14px; color: #f2f3f5; font-weight: 600; }
.dc-time { color: #a3a6ad; font-size: 12px; font-weight: 400; margin-left: 6px; }
.dc-app { font-size: 10px; background: #5865f2; color: #fff; padding: 1px 5px; border-radius: 4px; font-weight: 600; margin-left: 4px; }
.dc-text { font-size: 14px; color: #dcdde1; white-space: pre-wrap; word-break: break-word; }
.dc-embed { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-radius: 4px; background: #2b2d31; border-left: 4px solid var(--red); max-width: 520px; }
.dc-embed-title { font-size: 16px; font-weight: 600; color: #f2f3f5; }
.dc-embed img { max-width: 100%; border-radius: 4px; }
.dc-footer { font-size: 12px; color: #a3a6ad; }
.dc-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.dc-button { font-size: 14px; color: #fff; background: #4e5058; padding: 8px 14px; border-radius: 4px; }
/* ---------- login ---------- */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden; }
.login-card { position: relative; z-index: 1; width: 100%; max-width: 460px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.btn-discord { background: #5865f2; border-color: #5865f2; color: #fff; min-height: 52px; font-size: 16px; padding: 0 28px; }
.btn-discord:hover { background: #4752c4; color: #fff; }
.empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden]{display:none!important}
.stack{display:flex;flex-direction:column;gap:16px}
a.cmd-pick{color:var(--text)} a.cmd-pick:hover{color:var(--text)}
.glyph-pick{display:flex;align-items:center;justify-content:center;background:#2a1114;color:var(--red-soft);font-size:20px;position:relative}
.glyph-pick input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.glyph-pick:has(input:checked){border:3px solid #fff}
.glyph-pick:has(input:focus-visible){outline:2px solid var(--red);outline-offset:2px}
.btn-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px}
.person{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px;border-radius:10px;background:var(--panel-2)}
.server-card{display:flex;align-items:center;gap:14px;color:var(--text)} .server-card:hover{border-color:#5a1f24;color:var(--text)}
.server-icon{width:52px;height:52px;flex-shrink:0;border-radius:14px;background:#2a1114;color:#ffc9cc;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden}
.server-icon img{width:100%;height:100%;object-fit:cover}
.badge.on-badge{background:#0f2219;color:#7ee2a8}
.savebar{position:sticky;bottom:0;padding:14px 0;background:linear-gradient(transparent,var(--bg) 40%);z-index:3}
.dc-event{font-size:13px;color:#a3a6ad;padding-left:4px}
.dc-embed-main{display:flex;gap:12px;align-items:flex-start}
.dc-embed-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.dc-thumb{width:72px;height:72px;border-radius:4px;object-fit:cover;flex-shrink:0}
.dc-image{max-width:100%;border-radius:4px}
.dc-embed-title.is-link{color:#00a8fc}

/* ===================== Aura Community theme (overrides) ===================== */
body{background:#060203}
.bg-art{position:fixed;inset:0;z-index:0;background:url("bg.svg") 70% center/cover no-repeat;pointer-events:none}
.bg-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,2,3,.94) 0%,rgba(6,2,3,.84) 40%,rgba(6,2,3,.62) 100%)}
.bg-art-login::after{background:linear-gradient(90deg,rgba(6,2,3,.86) 0%,rgba(6,2,3,.55) 42%,rgba(6,2,3,.05) 75%)}
.app{position:relative;z-index:1;overflow:visible}
.watermark{display:none}

/* glass panels */
.header{background:rgba(10,4,6,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,77,90,.18);position:sticky;top:0;z-index:5}
.card,.nav,.botcard,.dc{background:rgba(18,8,10,.74);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-color:rgba(255,77,90,.16)}
.hero{background:linear-gradient(120deg,rgba(40,8,14,.85),rgba(18,6,9,.7));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-color:rgba(255,77,90,.32);box-shadow:0 20px 60px rgba(200,16,46,.15)}
a.card,.botcard,.server-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
a.card:hover,.botcard:hover,.server-card:hover{transform:translateY(-3px);border-color:rgba(255,77,90,.55);box-shadow:0 12px 34px rgba(200,16,46,.25)}
.botcard.active{background:rgba(48,12,16,.82)}
.stat{border-top:2px solid var(--red)}
.input,.select,.textarea{background:rgba(8,3,5,.78);border-color:rgba(255,77,90,.22)}

/* brand */
.brand-name{background:linear-gradient(90deg,#ffffff 0%,#ffc2c6 45%,#ff4d5a 100%);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:2px;font-size:20px}
.logo{background:linear-gradient(135deg,#ff4d5a,#8e0f1f);box-shadow:0 0 28px rgba(225,29,46,.6),inset 0 0 0 1px rgba(255,255,255,.15)}
.hero h1,.display{text-shadow:0 0 24px rgba(225,29,46,.35)}
.credit{margin:4px 0 0;font-size:12px;color:var(--muted);text-align:center}
.credit b{color:var(--red-soft)}

/* login */
.login{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:40px 8vw;position:relative;z-index:1;overflow:visible}
.login-card{max-width:460px;width:100%;text-align:left;align-items:flex-start;gap:20px;padding:36px;border-radius:20px;background:rgba(14,5,8,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,77,90,.3);box-shadow:0 30px 80px rgba(0,0,0,.5),0 0 60px rgba(200,16,46,.18)}
.login-logo{width:68px;height:68px;font-size:38px;border-radius:16px}
.eyebrow{margin:0 0 6px;font-size:12px;letter-spacing:4px;color:var(--red-soft);font-weight:700}
.login-title{margin:0;font-family:'Oswald',sans-serif;font-weight:700;font-size:52px;line-height:1;letter-spacing:2px;background:linear-gradient(90deg,#ffffff 0%,#ffc2c6 40%,#ff4d5a 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 18px rgba(225,29,46,.45))}
.login-sub{margin:6px 0 0;font-family:'Oswald',sans-serif;letter-spacing:10px;font-size:18px;color:var(--text-2)}
.login-text{margin:0;color:var(--text-2);font-size:16px;line-height:1.6}
.btn-discord{width:100%;min-height:54px;font-size:16px;border-radius:12px;box-shadow:0 10px 30px rgba(88,101,242,.35)}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{font-size:12px;font-weight:600;padding:6px 12px;border-radius:999px;background:rgba(225,29,46,.12);border:1px solid rgba(255,77,90,.3);color:#ffc9cc}
.login-footer{margin-top:28px;font-size:13px;color:var(--muted);letter-spacing:.5px}
.login-footer b{color:#fff;background:linear-gradient(90deg,#ff8a91,#ff4d5a);-webkit-background-clip:text;background-clip:text;color:transparent}
@media (max-width:760px){
  .login{align-items:center;padding:24px 18px}
  .login-card{padding:26px;text-align:center;align-items:center}
  .login-title{font-size:40px}
  .chips{justify-content:center}
  .bg-art-login::after{background:linear-gradient(180deg,rgba(6,2,3,.35) 0%,rgba(6,2,3,.8) 60%,rgba(6,2,3,.92) 100%)}
}

/* floating embers */
.embers{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.embers span{position:absolute;bottom:-12px;width:4px;height:4px;border-radius:50%;background:#ff8a3d;box-shadow:0 0 10px 2px rgba(255,77,90,.7);opacity:0;animation:ember-rise 11s linear infinite}
.embers span:nth-child(1){left:6%;animation-delay:0s}
.embers span:nth-child(2){left:14%;animation-delay:3s;animation-duration:13s}
.embers span:nth-child(3){left:22%;animation-delay:6s}
.embers span:nth-child(4){left:31%;animation-delay:1.5s;animation-duration:9s}
.embers span:nth-child(5){left:39%;animation-delay:8s}
.embers span:nth-child(6){left:47%;animation-delay:4.5s;animation-duration:14s}
.embers span:nth-child(7){left:55%;animation-delay:2s}
.embers span:nth-child(8){left:63%;animation-delay:7s;animation-duration:10s}
.embers span:nth-child(9){left:70%;animation-delay:5s}
.embers span:nth-child(10){left:77%;animation-delay:.8s;animation-duration:12s}
.embers span:nth-child(11){left:84%;animation-delay:9s}
.embers span:nth-child(12){left:90%;animation-delay:3.6s;animation-duration:15s}
.embers span:nth-child(13){left:95%;animation-delay:6.6s}
.embers span:nth-child(14){left:3%;animation-delay:10s;animation-duration:12s}
@keyframes ember-rise{0%{transform:translate(0,0) scale(1);opacity:0}10%{opacity:.9}100%{transform:translate(60px,-105vh) scale(.4);opacity:0}}
@media (prefers-reduced-motion:reduce){.embers{display:none}a.card:hover,.botcard:hover,.server-card:hover{transform:none}}

/* server access */
.access-card{border-color:rgba(255,77,90,.35)}
.lock{width:44px;height:44px;border-radius:12px;background:rgba(225,29,46,.15);color:var(--red-soft);display:flex;align-items:center;justify-content:center}
.server-card{position:relative;align-items:flex-start}
.server-card.pending{border-style:dashed;border-color:rgba(245,185,113,.45)}
.server-link{display:flex;align-items:center;gap:14px;color:var(--text);flex:1;min-width:0}
.server-link:hover{color:var(--text)}
.more{position:relative}
.more summary{list-style:none;cursor:pointer;width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--text-2);font-size:20px}
.more summary::-webkit-details-marker{display:none}
.more summary:hover{background:rgba(255,77,90,.12)}
.more-menu{position:absolute;right:0;top:48px;z-index:4;display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:12px;background:#140709;border:1px solid rgba(255,77,90,.3);box-shadow:0 12px 30px rgba(0,0,0,.5);min-width:180px}
.more-menu .btn{width:100%}

/* bot-specific option pages */
.opt-head{display:flex;align-items:center;gap:12px}
.opt-icon{width:44px;height:44px;border-radius:12px;background:rgba(225,29,46,.14);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,77,90,.14);min-height:56px;cursor:pointer}
.switch-text{display:flex;flex-direction:column;gap:2px;font-size:14px}
.switch{appearance:none;-webkit-appearance:none;position:relative;width:52px;height:30px;flex-shrink:0;border-radius:999px;background:#3a2224;cursor:pointer;transition:background .15s;margin:0}
.switch::after{content:"";position:absolute;top:4px;left:4px;width:22px;height:22px;border-radius:999px;background:#fff;transition:left .15s}
.switch:checked{background:var(--red);box-shadow:0 0 14px rgba(225,29,46,.45)}
.switch:checked::after{left:26px}
.switch:focus-visible{outline:2px solid #fff;outline-offset:2px}
.switch:disabled{opacity:.5;cursor:not-allowed}
.color-input{width:64px;height:44px;border:1px solid rgba(255,77,90,.22);border-radius:8px;background:transparent;padding:2px;cursor:pointer}
.chip-checks{display:flex;flex-wrap:wrap;gap:10px}
.chip-check{position:relative;cursor:pointer}
.chip-check input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.chip-check span{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,77,90,.3);color:var(--text-2);font-weight:600;font-size:14px}
.chip-check input:checked+span{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 0 16px rgba(225,29,46,.4)}
.chip-check input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
.sec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.sec-card{gap:14px;transition:border-color .2s,box-shadow .2s}
.sec-card.is-on{border-color:rgba(255,77,90,.45);box-shadow:0 0 24px rgba(200,16,46,.12)}
.num-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.role-list{display:flex;flex-direction:column;max-height:320px;overflow:auto;padding-right:6px}
.cmd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.cmd-chip{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,77,90,.14)}
.cmd-chip b{font-family:'Oswald',sans-serif;letter-spacing:.5px;color:#ffc9cc}
.img-status{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:8px;border:1px solid rgba(255,77,90,.22);background:rgba(8,3,5,.78);font-size:14px}
.status-preview{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:10px;background:#1a0d0f;border:1px solid rgba(225,29,46,.25)}
.status-preview b{font-weight:600;word-break:break-word}
textarea.input{resize:vertical;min-height:72px;font-family:inherit}

.crew{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;width:100%}
.crew li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;border-radius:10px;background:#1a0d0f;border:1px solid rgba(225,29,46,.25);letter-spacing:.06em}
.crew-role{font-size:12px;color:var(--text-2)}
.crew li b{font-family:'Oswald',sans-serif;font-size:17px;letter-spacing:.12em}
.perf{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.perf-card{display:flex;flex-direction:column;gap:8px}
.perf-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.perf-now{font-family:'Oswald',sans-serif;font-size:28px;font-weight:600}
.perf-svg{width:100%;height:110px;display:block}
.perf-svg .area{fill:rgba(225,29,46,.18)}
.perf-svg .line{fill:none;stroke:#ff4d5a;stroke-width:2;stroke-linejoin:round}
.perf-svg .grid{stroke:rgba(255,255,255,.08);stroke-width:1}
.perf-days{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}
.perf-meta{display:flex;gap:14px;font-size:12px;color:var(--text-2);flex-wrap:wrap}

/* ---- background video (red + black) ---- */
.bg-art.has-video{background:#060203 url("bg/poster.jpg") center/cover no-repeat}
.bg-art.has-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.9}
.bg-art.has-video::after{background:
  radial-gradient(ellipse at 50% 40%,rgba(6,2,3,0) 0%,rgba(6,2,3,.55) 100%),
  linear-gradient(90deg,rgba(6,2,3,.78) 0%,rgba(6,2,3,.52) 55%,rgba(6,2,3,.4) 100%)}
.bg-art-login.has-video::after{background:
  radial-gradient(ellipse at 60% 45%,rgba(6,2,3,0) 0%,rgba(6,2,3,.5) 100%),
  linear-gradient(90deg,rgba(6,2,3,.72) 0%,rgba(6,2,3,.4) 45%,rgba(6,2,3,.12) 100%)}
@media (max-width:760px){
  .bg-art.has-video::after,.bg-art-login.has-video::after{background:
    linear-gradient(180deg,rgba(6,2,3,.45) 0%,rgba(6,2,3,.72) 55%,rgba(6,2,3,.88) 100%)}
}
@media (prefers-reduced-motion:reduce){.bg-art.has-video video{display:none}}

.card,.hero,.userchip,.crew li{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
/* lighter overlay so the video is clearly visible */
.bg-art.has-video video{opacity:1}
.bg-art.has-video::after{background:
  radial-gradient(ellipse at 55% 40%,rgba(6,2,3,0) 0%,rgba(6,2,3,.42) 100%),
  linear-gradient(90deg,rgba(6,2,3,.6) 0%,rgba(6,2,3,.32) 55%,rgba(6,2,3,.2) 100%)}
.bg-art-login.has-video::after{background:
  radial-gradient(ellipse at 60% 45%,rgba(6,2,3,0) 0%,rgba(6,2,3,.4) 100%),
  linear-gradient(90deg,rgba(6,2,3,.5) 0%,rgba(6,2,3,.22) 45%,rgba(6,2,3,0) 100%)}
.login-card{background:rgba(14,5,8,.5)}
@media (max-width:760px){
  .bg-art.has-video::after,.bg-art-login.has-video::after{background:
    linear-gradient(180deg,rgba(6,2,3,.2) 0%,rgba(6,2,3,.5) 55%,rgba(6,2,3,.72) 100%)}
}

/* background sound button */
.bg-sound{position:fixed;right:14px;bottom:14px;z-index:60;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:rgba(18,10,11,.8);color:var(--red-text);border:1px solid var(--line-strong);cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.bg-sound:hover{border-color:var(--red);color:#fff}
.bg-sound:focus-visible{outline:2px solid var(--red-soft);outline-offset:2px}
.bg-sound[hidden]{display:none}
.bg-sound .i-on{display:none}.bg-sound.on .i-on{display:block}.bg-sound.on .i-off{display:none}
.bg-sound.on{background:var(--red-deep);color:#fff;border-color:var(--red)}

/* playlist background: two clips crossfade, only one is visible */
.bg-art.has-video.bg-playlist video{opacity:0;transition:opacity .6s linear}
.bg-art.has-video.bg-playlist video.on{opacity:1}
@media (prefers-reduced-motion:reduce){.bg-art.has-video.bg-playlist video{display:none}}

/* ---------- touch + pointer feedback ---------- */
a,button,.btn,.navlink{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.btn,.navlink,.lg-discord,a.card,.botcard,.server-card{position:relative}
.btn,.navlink,.lg-discord,.bg-sound,a.card,.botcard,.server-card{transition:transform .14s cubic-bezier(.2,.8,.3,1),background-color .18s,border-color .18s,box-shadow .22s,color .18s}
.btn:active,.navlink:active,.lg-discord:active,.bg-sound:active,a.card:active,.botcard:active,.server-card:active{transform:scale(.97)}
.rp{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none}
.rp-dot{position:absolute;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.34) 0%,rgba(255,138,145,.22) 45%,rgba(255,138,145,0) 70%);transform:scale(0);opacity:1;animation:rp-out .65s cubic-bezier(.2,.7,.3,1) forwards}
@keyframes rp-out{to{transform:scale(1);opacity:0}}
a.card::before,.botcard::before,.server-card::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .25s;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(225,29,46,.16),rgba(225,29,46,0) 65%)}
@media (hover:hover){a.card:hover::before,.botcard:hover::before,.server-card:hover::before{opacity:1}}
:focus-visible{outline:2px solid var(--red-soft);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.btn,.navlink,.lg-discord,.bg-sound,a.card,.botcard,.server-card{transition:none}.btn:active,.navlink:active,.lg-discord:active,.bg-sound:active,a.card:active,.botcard:active,.server-card:active{transform:none}.rp{display:none}}



/* ---------- login ---------- */
.bg-art-login.has-video::after{background:
  radial-gradient(ellipse at 50% 32%,rgba(6,2,3,.12) 0%,rgba(6,2,3,.62) 70%),
  linear-gradient(180deg,rgba(6,2,3,.25) 0%,rgba(6,2,3,.55) 55%,rgba(6,2,3,.9) 100%)}
.lp{position:relative;z-index:1;box-sizing:border-box;width:100%;max-width:980px;margin:0 auto;padding:0 clamp(18px,5vw,40px) 26px;text-align:left}
.lp-hero{min-height:88vh;min-height:88svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;padding:48px 0 36px}
.lg-seal{position:relative;width:58px;height:58px;display:grid;place-items:center;border-radius:13px;background:#c8102e;color:#fff;
  font-family:'Zen Antique','Oswald',serif;font-size:32px;line-height:1;box-shadow:0 10px 34px rgba(200,16,46,.45),inset 0 0 0 2px rgba(255,255,255,.14);
  transform:rotate(-4deg);animation:seal-stamp .55s cubic-bezier(.2,.9,.25,1) both}
.lg-seal::after{content:"";position:absolute;inset:-2px;border-radius:15px;border:2px solid #ff4d5a;opacity:0;animation:seal-ring .9s .35s ease-out}
@keyframes seal-stamp{0%{opacity:0;transform:rotate(-12deg) scale(1.55)}70%{opacity:1;transform:rotate(-3deg) scale(.96)}100%{opacity:1;transform:rotate(-4deg) scale(1)}}
@keyframes seal-ring{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(1.9)}}
.lp-title{margin:6px 0 0;font-family:'Oswald',sans-serif;font-weight:700;font-size:clamp(44px,10.5vw,124px);line-height:.98;letter-spacing:.04em;color:#fff;text-shadow:0 6px 50px rgba(0,0,0,.6)}
.lp-lead{margin:0;max-width:34ch;font-size:clamp(16px,2vw,20px);line-height:1.55;color:#e8d8d5;text-shadow:0 2px 18px rgba(0,0,0,.65)}
.lp-hero .alert{margin:0;max-width:420px;width:100%;box-sizing:border-box}
.lg-discord{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;min-width:min(320px,100%);box-sizing:border-box;padding:0 30px;margin-top:10px;border-radius:14px;background:#c8102e;color:#fff;
  font-size:17px;font-weight:600;text-decoration:none;box-shadow:0 10px 34px rgba(200,16,46,.45),inset 0 0 0 1px rgba(255,255,255,.12)}
.lg-discord:hover{background:#e11d2e;color:#fff}
.lp-hint{margin:0;font-size:14px;color:#cdb8b4;text-shadow:0 2px 14px rgba(0,0,0,.7)}
.lp-more{margin-top:26px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#cdb8b4;border:1px solid rgba(255,77,90,.28);background:rgba(12,5,7,.5)}
.lp-more:hover{color:#fff;border-color:#e11d2e}
.lp-sheet{border-radius:20px;background:rgba(12,5,7,.74);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,77,90,.22);box-shadow:0 30px 80px rgba(0,0,0,.5);padding:0 clamp(20px,4vw,40px)}
.lp-sec{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:12px 40px;padding:32px 0;border-top:1px solid rgba(255,77,90,.18)}
.lp-sec:first-child{border-top:0}
.lp-sec h2{margin:0;font-family:'Oswald',sans-serif;font-weight:600;font-size:24px;letter-spacing:.03em;color:#fff}
.lp-sec dl{margin:0;display:grid;gap:18px}
.lp-sec dt{font-size:16px;font-weight:600;color:#fff}
.lp-sec dd{margin:3px 0 0;font-size:15px;line-height:1.55;color:#d3c1be}
.lp-steps{margin:0;padding:0;list-style:none;display:grid;gap:16px;counter-reset:step}
.lp-steps li{position:relative;padding-left:44px;font-size:15px;line-height:1.55;color:#d3c1be;counter-increment:step}
.lp-steps li::before{content:counter(step);position:absolute;left:0;top:-1px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#3a0f15;border:1px solid #e11d2e;color:#ffd9dc;font-weight:600;font-size:14px}
.lp-steps b{color:#fff;font-weight:600}
.lp-crew{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:16px 40px}
.lp-crew li{display:flex;flex-direction:column;gap:3px;padding-left:14px;border-left:2px solid #e11d2e}
.lp-crew span{font-size:13px;color:#cdb8b4}
.lp-crew b{font-family:'Oswald',sans-serif;font-weight:600;font-size:22px;letter-spacing:.14em;color:#fff}
.lp-foot{margin-top:30px;text-align:center;font-size:13px;color:#b9a29e;letter-spacing:.04em}
.lp-foot b{color:#fff;font-weight:600;letter-spacing:.16em}
@media (max-width:720px){
  .lp-hero{min-height:84vh;min-height:84svh;padding-top:36px}
  .lp-sec{grid-template-columns:minmax(0,1fr);gap:16px;padding:26px 0}
  .lp-sec h2{font-size:22px}
  .lg-discord{width:100%}
}
@media (prefers-reduced-motion:reduce){.lg-seal,.lg-seal::after{animation:none}.lg-seal::after{display:none}}
.lp-title,.lp-lead,.lp-hint{text-wrap:balance}

/* login: one screen; about page: the details */
.lp{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.lp-hero{flex:1;min-height:0}
.lp-foot{margin-top:auto;padding-top:30px}
.lp-about{display:inline-flex;align-items:center;min-height:46px;padding:0 22px;margin-top:6px;border-radius:12px;border:1px solid rgba(255,77,90,.32);background:rgba(12,5,7,.55);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f3e9e6;font-size:15px;font-weight:600;text-decoration:none}
.lp-about:hover{border-color:#e11d2e;color:#fff}
.lp-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 0 8px}
.lp-brandlink{display:flex;align-items:center;gap:12px;color:#fff;font-family:'Oswald',sans-serif;font-weight:600;font-size:19px;letter-spacing:.08em;text-decoration:none}
.lg-seal-sm{width:38px;height:38px;border-radius:10px;font-size:22px;animation:none}
.lg-seal-sm::after{display:none}
.lp-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px 0 10px;border-radius:12px;border:1px solid rgba(255,77,90,.28);background:rgba(12,5,7,.55);color:#f3e9e6;font-size:15px;font-weight:600;text-decoration:none}
.lp-back:hover{border-color:#e11d2e;color:#fff}
.lp-intro{padding:clamp(36px,8vw,72px) 0 clamp(24px,4vw,36px);display:flex;flex-direction:column;gap:12px}
.lp-intro h1{margin:0;font-family:'Oswald',sans-serif;font-weight:700;font-size:clamp(38px,7vw,68px);line-height:1;letter-spacing:.03em;color:#fff;text-shadow:0 4px 40px rgba(0,0,0,.6);text-wrap:balance}
.lp-intro p{margin:0;max-width:52ch;font-size:clamp(16px,1.8vw,19px);line-height:1.55;color:#e4d3d0;text-shadow:0 2px 18px rgba(0,0,0,.65)}
.lp-cta{display:flex;flex-direction:column;align-items:center;gap:14px;padding:44px 0 6px;text-align:center}
.lp-cta p{margin:0;font-size:16px;color:#e4d3d0;text-shadow:0 2px 14px rgba(0,0,0,.7)}
@media (max-width:720px){.lp-hero{padding:36px 0 24px}}

.badge.none { background: #2a1114; color: #ff9aa2; }
