/* ChatBase — 🥸 Decoy / Stealth landing (decoy.js). A believable "ScholarDesk" study portal. */
#decoyGate {
    position: fixed; inset: 0; z-index: 2147483600; background: #f4f6fb; color: #1f2733;
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; overflow-y: auto;
    transition: opacity .25s ease; -webkit-font-smoothing: antialiased;
}
.dk-top { display: flex; align-items: center; gap: 20px; padding: 0 24px; height: 60px; background: #fff; border-bottom: 1px solid #e4e8f0; position: sticky; top: 0; }
.dk-logo { font-size: 20px; font-weight: 800; color: #2b3a67; cursor: pointer; user-select: none; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.dk-logo-mark { color: #4f7cff; font-size: 16px; }
.dk-nav { display: flex; gap: 20px; flex: 1; }
.dk-nav a { font-size: 14px; color: #5a6578; text-decoration: none; cursor: pointer; }
.dk-nav a:hover { color: #2b3a67; }
.dk-acct { font-size: 14px; color: #5a6578; }
.dk-main { max-width: 980px; margin: 0 auto; padding: 28px 24px 60px; }
.dk-hero { background: linear-gradient(120deg, #4f7cff, #6a5cff); color: #fff; border-radius: 18px; padding: 28px 30px; margin-bottom: 28px; }
.dk-hero h1 { margin: 0 0 6px; font-size: 26px; }
.dk-hero p { margin: 0 0 18px; opacity: .9; font-size: 15px; }
.dk-search { display: flex; gap: 8px; max-width: 520px; }
.dk-search input { flex: 1; padding: 12px 16px; border-radius: 10px; border: none; font-size: 15px; outline: none; }
.dk-search button { padding: 12px 22px; border-radius: 10px; border: none; background: #1f2b50; color: #fff; font-weight: 700; cursor: pointer; }
.dk-h2 { font-size: 17px; margin: 24px 0 14px; color: #2b3a67; }
.dk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dk-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #e4e8f0; border-radius: 14px; padding: 16px; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.dk-card:hover { box-shadow: 0 8px 24px rgba(40,60,120,.1); transform: translateY(-2px); }
.dk-ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex: 0 0 auto; }
.dk-cbody { flex: 1; min-width: 0; }
.dk-cbody h3 { margin: 0 0 8px; font-size: 15px; color: #1f2733; }
.dk-bar { height: 7px; border-radius: 99px; background: #eef1f6; overflow: hidden; margin-bottom: 4px; }
.dk-bar span { display: block; height: 100%; border-radius: 99px; }
.dk-cbody small { color: #8a94a6; font-size: 12px; }
.dk-assign { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid #e4e8f0; border-radius: 14px; overflow: hidden; }
.dk-assign li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef1f6; font-size: 14.5px; }
.dk-assign li:last-child { border-bottom: none; }
.dk-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.dk-assign em { margin-left: auto; color: #8a94a6; font-style: normal; font-size: 13px; }
.dk-foot { text-align: center; color: #9aa3b2; font-size: 12.5px; padding: 24px; }
@media (max-width: 640px) { .dk-nav { display: none; } .dk-hero h1 { font-size: 22px; } }

/* ===== 🖥️ SerumOS skin ===== */
#decoyGate.dk-os { background: radial-gradient(1200px 800px at 70% -10%, #2a3f6b, #0d1322 60%); color: #e8edf7; }
.os-bar { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 16px; background: rgba(10,16,30,.55); backdrop-filter: blur(10px); font-size: 13px; }
.os-brand { font-weight: 800; cursor: pointer; user-select: none; }
.os-status { opacity: .9; }
.os-desk { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 32px); gap: 40px; padding: 20px; }
.os-welcome { text-align: center; }
.os-welcome h1 { font-size: 54px; margin: 0 0 6px; font-weight: 800; letter-spacing: -1px; }
.os-welcome p { margin: 0 0 24px; opacity: .8; font-size: 16px; }
.os-enter { padding: 14px 34px; border-radius: 12px; border: none; background: linear-gradient(120deg, #4f7cff, #7b5cff); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(80,120,255,.4); }
.os-enter:hover { filter: brightness(1.08); }
.os-dock { display: flex; gap: 14px; padding: 12px 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; backdrop-filter: blur(14px); flex-wrap: wrap; justify-content: center; }
.os-app { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 62px; cursor: pointer; transition: transform .12s; }
.os-app:hover { transform: translateY(-4px); }
.os-app span { font-size: 30px; }
.os-app small { font-size: 11px; opacity: .85; }
.os-hidden { display: none; position: fixed; bottom: -60px; opacity: 0; }

/* ===== 🎓 Classroom skin ===== */
#decoyGate.dk-cr { background: #fff; color: #3c4043; }
.cr-top { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 22px; border-bottom: 1px solid #e0e0e0; position: sticky; top: 0; background: #fff; }
.cr-logo { font-size: 20px; font-weight: 500; color: #3c4043; cursor: pointer; user-select: none; white-space: nowrap; }
.cr-search { flex: 1; max-width: 560px; }
.cr-search input { width: 100%; padding: 11px 16px; border-radius: 8px; border: none; background: #f1f3f4; font-size: 15px; outline: none; }
.cr-acct { font-size: 18px; letter-spacing: 8px; color: #5f6368; }
.cr-main { max-width: 1060px; margin: 0 auto; padding: 26px 22px 60px; }
.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cr-card { border: 1px solid #dadce0; border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .15s; }
.cr-card:hover { box-shadow: 0 2px 10px rgba(60,64,67,.18); }
.cr-banner { padding: 18px; color: #fff; min-height: 90px; }
.cr-banner h3 { margin: 0 0 4px; font-size: 20px; font-weight: 500; }
.cr-banner small { opacity: .95; font-size: 13px; }
.cr-body { padding: 18px; min-height: 70px; color: #5f6368; font-size: 14px; border-bottom: 1px solid #e0e0e0; }
.cr-foot { padding: 10px 18px; text-align: right; color: #5f6368; letter-spacing: 10px; }
@media (max-width: 640px) { .cr-search { display: none; } .os-welcome h1 { font-size: 40px; } }
