:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: "Segoe UI", sans-serif; color: #e8eef8;
  background: radial-gradient(900px 500px at 70% 20%, rgba(0,140,160,.35), transparent 60%), #070b16; }
.nav { display: flex; justify-content: center; align-items: center; gap: 28px; padding: 22px 16px; background: #07111f; }
.nav a { color: #d5deea; text-decoration: none; font-size: 13px; letter-spacing: .08em; }
.nav a.active { color: #22d3ee; }
.login-btn { background: #22d3ee; color: #04222a !important; font-weight: 700; border-radius: 8px; padding: 8px 16px; }
.hero { display: flex; justify-content: center; padding: 8vh 16px 40px; }
.card { width: min(520px, 100%); background: #101826; border: 1px solid #1c2838; border-radius: 16px; padding: 36px 32px 28px; }
h1 { text-align: center; letter-spacing: .04em; margin: 0 0 8px; }
.sub, .hint { text-align: center; color: #9aa8bd; }
.notice { border: 1px solid #22d3ee; color: #67e8f9; border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; }
label { display: block; color: #c5d0e0; margin-bottom: 8px; }
input { width: 100%; background: #0c1320; border: 1px solid #243246; color: #e8eef8; border-radius: 8px; padding: 14px 12px; margin-bottom: 16px; }
button { width: 100%; border: 0; border-radius: 8px; background: #22d3ee; color: #04222a; font-weight: 800; padding: 14px; }
.dash { width: min(1100px, 100%); }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.welcome { font-size: 28px; margin: 0; }
.balance { border: 1px solid #1f8f78; color: #3ee0b0; border-radius: 8px; padding: 8px 14px; }
.grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 18px; }
.panel { background: #121826; border: 1px solid #243246; border-radius: 12px; padding: 18px; }
.panel h2 { color: #22d3ee; font-size: 16px; margin: 0 0 12px; }
.rowbtns { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 12px; }
.rowbtns button, .purple { width: auto; background: #7c3aed; color: white; padding: 8px 12px; }
.cyan { background: #22d3ee; color: #04222a; }
.logout-btn { border: 1px solid #fb7185; color: #fb7185 !important; background: transparent; border-radius: 8px; padding: 8px 14px; }
.empty { text-align: center; color: #9aa8bd; padding: 28px 0; }
select { width: 100%; background: #0c1320; color: #e8eef8; border: 1px solid #243246; border-radius: 8px; padding: 12px; margin-bottom: 16px; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } }
.headrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.avatar { display: flex; gap: 10px; align-items: center; }
.face { width: 28px; height: 28px; border-radius: 50%; background: #1b2436; display: inline-flex; align-items: center; justify-content: center; }
.aname { color: #22d3ee; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.pill.off { color: #fb7185; background: #2a1218; }
.pill.on { color: #3ee0b0; background: #10261f; }
.pill:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.headrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.avatar { display: flex; gap: 10px; align-items: center; }
.face { width: 28px; height: 28px; border-radius: 50%; background: #1b2436; display: inline-flex; align-items: center; justify-content: center; }
.aname { color: #22d3ee; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.pill.off { color: #fb7185; background: #2a1218; }
.pill.on { color: #3ee0b0; background: #10261f; }
.pill:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tabs { display: flex; gap: 16px; border-bottom: 1px solid #243246; margin-bottom: 18px; padding-bottom: 8px; flex-wrap: wrap; }
.tab { color: #9aa8bd; } .tab.on { color: #22d3ee; border: 1px solid #22d3ee; border-radius: 8px; padding: 6px 10px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.face.big { width: 48px; height: 48px; margin: 12px auto; }
.switch { display: flex; gap: 8px; align-items: center; }
.ontext { color: #3ee0b0; } .offtext { color: #fb7185; }
.danger { background: #e11d48; color: white; width: auto; padding: 8px 14px; }
.danger.wide { width: 100%; }
.dangerzone { border: 1px solid #e11d48; border-radius: 12px; padding: 16px; margin-top: 16px; }
.linden { color: #3ee0b0; font-size: 28px; }
.aname a { color: #22d3ee; text-decoration: none; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.move { max-width: 760px; margin: 0 auto; }
.pad { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fly { display: flex; gap: 10px; }
.dpad { display: grid; grid-template-columns: 70px 70px 70px; gap: 8px; justify-items: center; }
.dpad button:nth-child(1) { grid-column: 2; }
.tab { text-decoration: none; }
.outfitgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ocard { background: #f4f7fb; color: #111; border-radius: 10px; padding: 12px; text-align: center; }
.odress { font-size: 42px; margin: 18px 0; }
.oname { min-height: 36px; color: #667; margin-bottom: 8px; }
@media (max-width: 900px) { .outfitgrid { grid-template-columns: 1fr 1fr; } }
.alist { max-height: 360px; overflow: auto; }
.arow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #243246; }
.arow form { display: flex; gap: 6px; }
.go { background: #16a34a; color: white; width: auto; padding: 6px 10px; }
.cal { width: 100%; border-collapse: collapse; }
.cal td, .cal th { border: 1px solid #334155; height: 64px; text-align: right; padding: 6px; vertical-align: top; }
.cal .today { background: #3f3a22; }
