*{box-sizing:border-box}body{margin:0;background:#08110e;color:#eee4c9;font:16px/1.6 system-ui,sans-serif}header{padding:20px clamp(20px,5vw,72px);border-bottom:1px solid #35493c;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:12px;color:#eee4c9;font-weight:800;text-decoration:none}a{color:#a5d7bb}main{max-width:1100px;padding:48px 24px;margin:auto}h1{font-size:clamp(32px,5vw,56px);line-height:1.08;max-width:650px;margin:12px 0 24px}h2{line-height:1.25;margin:8px 0 20px}.eyebrow{font-size:12px;letter-spacing:2px;color:#b7c997}.intro{display:grid;grid-template-columns:1.7fr 1fr;gap:50px;align-items:center;margin-bottom:48px}.intro p{max-width:630px}.sample{background:linear-gradient(140deg,#1b3025,#101e18);border:1px solid #52725a;padding:26px;box-shadow:8px 8px 0 #040907}.sample img{filter:brightness(0) invert(.85)}.sample h2{font-size:21px;margin-top:20px}.hint,small,footer{color:#b1bdad;font-size:14px}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.button,button{display:inline-block;border:1px solid #799076;background:#192c21;color:#eee4c9;text-decoration:none;padding:11px 18px;border-radius:4px;font:inherit;cursor:pointer}.primary{background:#c3d391;color:#132016;border-color:#c3d391;font-weight:700}button:disabled{opacity:.5;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e4c76a;outline-offset:3px}[hidden]{display:none!important}#dashboard,.commands{border-top:1px solid #35493c;padding-top:28px;margin-top:32px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.servers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px}.server{padding:16px;border:1px solid #35493c;background:#102017;overflow-wrap:anywhere}.server strong{display:block}.server .button,.server button{margin-top:12px;font-size:14px}form{margin-top:28px;border:1px solid #648365;padding:24px;background:#112019}fieldset{border:0;border-top:1px solid #35493c;padding:22px 0;margin:20px 0}legend{padding-right:16px;font-weight:700}label{display:block;margin:12px 0 8px}.check{display:flex;gap:10px;align-items:center}input[type=checkbox]{width:18px;height:18px;accent-color:#b1ce90}select{width:100%;max-width:500px;padding:10px;background:#08130e;color:#eee4c9;border:1px solid #62765a;font:inherit}#status:not(:empty),#save-status:not(:empty){color:#e4ce91}dl{display:grid;grid-template-columns:auto 1fr;gap:14px 24px}dt{font-family:monospace;color:#b7d8a5}dd{margin:0;color:#bcc8b7}footer{margin-top:42px;border-top:1px solid #35493c;padding-top:24px}@media(max-width:650px){.intro{grid-template-columns:1fr;gap:24px}main{padding:28px 18px}header{padding:16px}dl{grid-template-columns:1fr;gap:5px}dd{margin-bottom:16px}form{padding:16px}.brand{font-size:15px}}

.intro{grid-template-columns:1fr 1fr;gap:36px;align-items:start}.bot-preview{min-width:0;background:#1a1a1e;color:#dbdee1;padding:18px 14px;font:14px/1.4 Arial,sans-serif;border-radius:4px;overflow:visible}.preview-message-header{display:flex;gap:7px;align-items:center;margin-bottom:8px;font-size:13px}.preview-message-header>img{border-radius:50%;margin-right:5px}.app-badge{font-size:10px;background:#5865f2;color:white;border-radius:3px;padding:1px 4px}#bot-preview-embeds{margin-left:43px;display:grid;gap:6px}.preview-embed{background:#252529;border:1px solid #343438;border-left:4px solid var(--embed-color,#59cfa6);padding:12px;border-radius:3px;overflow-wrap:anywhere}.preview-author{display:flex;align-items:center;gap:7px;font-weight:bold;font-size:12px;margin-bottom:8px}.preview-author img{width:24px;height:24px;border-radius:50%}.preview-title{color:#4da4ff;font-weight:bold;text-decoration:none;font-size:14px}.preview-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;margin-top:10px;font-size:12px}.preview-field strong{display:block;color:#f2f3f5;margin-bottom:3px}.preview-field.wide{grid-column:1/-1}.preview-embed p{font-size:12px;margin:9px 0;white-space:pre-wrap}.preview-field div{white-space:pre-wrap}.preview-image{width:100%;height:auto;max-height:210px;object-fit:contain;border-radius:3px;margin-top:10px}.preview-thumbnail{width:54px;max-height:86px;object-fit:cover;border-radius:3px;float:right;margin:0 0 8px 12px}.preview-footer{display:block;font-size:10px;color:#d2d2d8;margin-top:10px;clear:both}#preview-status{display:block;font-size:11px;color:#a5a5ad;margin:12px 0 0 43px}@media(max-width:760px){.intro{grid-template-columns:1fr}.bot-preview{max-height:none}.preview-message-header{font-size:12px}#bot-preview-embeds{margin-left:0}#preview-status{margin-left:0}.preview-fields{font-size:11px}.preview-embed{padding:10px}}

.preview-title+.preview-author{margin-top:9px;margin-bottom:8px}

/* Keep the introduction and commands alongside the message preview. */
main{max-width:1200px;padding-top:32px;padding-bottom:32px}
.intro{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:32px;margin-bottom:24px}
.intro-content{min-width:0}
h1{font-size:clamp(28px,3.1vw,38px);margin:12px 0 18px;letter-spacing:-.8px}
.commands{margin-top:28px;padding-top:22px}
.commands h2{font-size:21px;margin-bottom:18px}
.commands dl{grid-template-columns:1fr;gap:3px;margin-bottom:0;font-size:14px}
.commands dd{margin-bottom:12px}
.commands dt{overflow-wrap:anywhere}
#status:empty{display:none}
footer{margin-top:24px;padding-top:20px}
@media(min-width:761px){h1{white-space:nowrap}}
@media(max-width:760px){.intro{grid-template-columns:1fr;gap:26px}h1{font-size:clamp(28px,5.6vw,38px)}main{padding-top:24px}.commands{margin-top:24px}}
/* Signed-in server workspace. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dashboard-active main{max-width:1600px;padding:28px 28px 24px}
.dashboard-active .intro{display:none}
#dashboard{border:1px solid #49453d;border-radius:2px;margin:0;padding:0;display:grid;grid-template-columns:260px minmax(0,1fr);overflow:clip;background:#17191a;min-height:720px}
.dashboard-sidebar{background:#202223;border-right:1px solid #49453d;padding:22px 14px;display:flex;flex-direction:column;gap:12px;min-width:0}
.sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:0 8px}.sidebar-heading .eyebrow{margin:0}.icon-button{padding:2px 10px;font-size:23px;background:transparent;border-color:transparent}.sidebar-hint{font-size:12px;color:#b9b2a2;margin:0 8px 8px}
.servers{display:flex;flex-direction:column;gap:6px;max-height:65vh;overflow:auto;scrollbar-width:thin;scrollbar-color:#676154 transparent}
.server{display:flex;gap:12px;align-items:center;border:1px solid transparent;border-radius:2px;padding:12px 10px;text-align:left;background:transparent;text-decoration:none;min-width:0;width:100%;font:inherit;color:#eee4c9;transition:background .15s,border-color .15s}
.server:hover{background:#30312f;border-color:#726953}.server[aria-current=true]{background:#ddd0ac;border-color:#ede2c5;box-shadow:inset 3px 0 #efe2bd}
.server-avatar{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#343532;border:1px solid #676253;border-radius:2px;font-size:14px;font-weight:700;color:#f1e4bd}.server-label{min-width:0}.server strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.server small{font-size:11px;color:#b9b5aa;display:block;margin-top:4px}
.sidebar-account{margin-top:auto;border-top:1px solid #49453d;padding:20px 8px 0;display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:12px;color:#b9b5aa}.sidebar-account button{font-size:12px;padding:7px 12px}
.dashboard-workspace{min-width:0;padding:32px clamp(20px,3vw,44px);background:radial-gradient(ellipse at top right,#d5bd7a10,transparent 60%)}
.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.workspace-heading .eyebrow{margin:0 0 10px;font-size:10px}.workspace-heading h1{font-size:clamp(24px,2.5vw,34px);white-space:normal;overflow-wrap:anywhere;letter-spacing:-.6px;margin:0}.workspace-heading .hint{margin:10px 0 0}.workspace-badge{border:1px solid #71654d;color:#d4bf8d;padding:5px 12px;border-radius:2px;font-size:11px;white-space:nowrap}
.dashboard-empty{border:1px dashed #726750;border-radius:2px;text-align:center;padding:70px 20px;margin-top:40px;background:#242626}.empty-symbol{font-size:48px;color:#efe2bd}.dashboard-empty h2{margin-top:12px;font-size:23px}.dashboard-empty p{color:#c9c4b8;font-size:14px}
#settings{border:0;background:transparent;padding:0;margin:0}.settings-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid #49453d;padding-top:24px;margin-bottom:22px}.settings-heading h2{font-size:18px;margin:0;overflow-wrap:anywhere}.settings-heading .hint{font-size:12px;margin:4px 0 0}.feature-state{font-size:11px;color:#c9c4b8;border:1px solid #696458;padding:4px 9px;border-radius:2px;white-space:nowrap}.feature-state.is-on{color:#ece0bb;border-color:#a08c59;background:#49422f}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.feature-card{min-width:0;border:1px solid #565146;background:#232526;border-radius:2px;padding:22px;margin:0;box-shadow:0 4px 16px #00000012}
.feature-heading{display:flex;align-items:center;gap:12px}.feature-symbol{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;background:#34332d;color:#efe3bf;border:1px solid #72684e;border-radius:2px;font-size:25px;font-weight:600}.feature-heading h3{margin:0;font-size:17px;color:#f0e6cc;line-height:1.3}.feature-heading p{margin:4px 0 0;color:#bcb5a5;font-size:12px;line-height:1.4}.feature-description{font-size:13px;color:#d0c8b9;line-height:1.7;margin:20px 0}.feature-card label{font-size:12px;font-weight:600;color:#e3d9c3;margin:16px 0 7px}.feature-card select{max-width:none;border-color:#79715e;border-radius:2px;font-size:13px;background:#151718;padding:11px;min-width:0}.feature-card select:disabled{opacity:.45}.feature-card .hint{font-size:11px;line-height:1.7;color:#bdb5a4;margin-bottom:0}
.feature-card .toggle-row{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #635b49;padding:12px;border-radius:2px;margin-top:20px;background:#1b1e1e}
.toggle-row input{appearance:none;width:36px;height:21px;min-width:36px;margin:0;border-radius:14px;border:1px solid #867c64;background:#41413b;cursor:pointer;position:relative;transition:background .15s}.toggle-row input:before{content:'';position:absolute;width:13px;height:13px;border-radius:50%;background:#cac2af;top:3px;left:3px;transition:transform .15s}.toggle-row input:checked{background:#e6d29c;border-color:#e6d29c}.toggle-row input:checked:before{background:#24251f;transform:translateX(15px)}
.command-example{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px;padding:12px;border-radius:2px;background:#181b1c;border:1px solid #635b49}.command-example code{color:#f1ddb0;font-size:16px}.command-example span{font-size:11px;color:#c9bd9f}
.save-bar{position:sticky;bottom:12px;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:14px 18px;background:#282a29;border:1px solid #8e7e57;border-radius:2px;box-shadow:0 8px 25px #0005}.save-bar #save-status{font-size:12px;color:#e2d6b7}.save-bar button{font-size:13px;white-space:nowrap}
.dashboard-active footer{font-size:12px}.dashboard-active #status:not(:empty){padding:12px 18px;background:#303029;border:1px solid #8e7e57;border-radius:2px;margin:0 0 18px}
@media(max-width:1100px){#dashboard{grid-template-columns:220px minmax(0,1fr)}.dashboard-workspace{padding:24px 20px}.workspace-badge{display:none}.feature-card{padding:18px}.feature-heading{align-items:flex-start}.feature-heading h3{font-size:15px}.feature-symbol{width:34px;height:34px;font-size:21px}}
@media(max-width:900px){.settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){.dashboard-active main{padding:16px 12px}#dashboard{grid-template-columns:1fr}.dashboard-sidebar{border-right:0;border-bottom:1px solid #49453d;padding:16px}.servers{flex-direction:row;max-height:none;padding-bottom:8px}.server{width:190px;flex-shrink:0}.sidebar-account{flex-direction:row;align-items:center;justify-content:space-between;padding-top:12px}.sidebar-hint{display:none}.dashboard-workspace{padding:24px 16px}.dashboard-empty{margin-top:24px;padding:36px 16px}.settings-heading{align-items:flex-start}.feature-state{font-size:10px}.save-bar{bottom:8px;padding:12px}.workspace-heading{margin-bottom:22px}.feature-heading h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.server,.toggle-row input,.toggle-row input:before{transition:none}}

@font-face{font-family:DiscordDeadlock;src:url('/assets/valvepulp-bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:DiscordOracle;src:url('/assets/valveoracle-medium.ttf') format('truetype');font-display:swap}
.dashboard-active{background:#141617 url('/assets/discord-menu-background.png') center top/cover fixed;color:#eee2c5;font-family:DiscordOracle,system-ui,sans-serif}
.dashboard-active header{background:#191c1df0;border-color:#5c5646}
.dashboard-active .brand{font-family:DiscordDeadlock,Georgia,serif;font-size:20px;font-weight:700}
#dashboard{background:#191c1deb;border-color:#5b5547;box-shadow:0 15px 45px #0006;overflow:clip}
.dashboard-sidebar{background:linear-gradient(#232627f5,#191c1df2);border-color:#514b40}
.dashboard-active .eyebrow{color:#d4c094;letter-spacing:2px;font-size:11px}
.dashboard-active button{border-radius:2px;background:#30322f;color:#ece0c3;border-color:#7d7157}
.dashboard-active .primary{background:#eadab1;border-color:#f2e4c4;color:#222523;font-family:DiscordDeadlock,Georgia,serif;font-size:16px;box-shadow:3px 3px 0 #0d1011}
.dashboard-active .primary:hover{background:#fff0c9}
.dashboard-active .icon-button{background:transparent;border-color:transparent}
.server{font-family:DiscordOracle,system-ui,sans-serif}
.dashboard-active .server{background:transparent;border-color:transparent}
.dashboard-active .server:hover{background:#333530;border-color:#82765b}
.dashboard-active .server[aria-current=true]{background:#e4d5b0;border-color:#f4e6c4;box-shadow:inset 4px 0 #a0854e;color:#262921}
.server[aria-current=true] small{color:#514b3b}.server[aria-current=true] .server-avatar{border-color:#9b895e;background:#c3b28c;color:#262921}
.server-avatar{overflow:hidden;border-radius:50%;font-family:DiscordDeadlock,Georgia,serif}
.server-avatar img{width:100%;height:100%;object-fit:cover;display:block}.server-avatar.has-image{background:#1d2021;padding:0}
.dashboard-workspace{background:transparent}
.workspace-heading{position:relative;isolation:isolate;padding:28px 24px;min-height:168px;border-bottom:3px solid #a99465;background:#262725;overflow:hidden}
.workspace-heading:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#202324 10%,#202324d9 48%,#20232422),url('/assets/discord-illustration.png') right 40%/440px auto no-repeat;opacity:.85}
.workspace-heading:after{content:'';position:absolute;right:24px;top:15px;width:130px;height:130px;background:url('/assets/deadlock-sigil.svg') center/contain no-repeat;opacity:.16;pointer-events:none;z-index:-1}
.workspace-heading h1{font-family:DiscordDeadlock,Georgia,serif;font-size:clamp(26px,3vw,40px);letter-spacing:.2px;color:#f3e6c5}.workspace-heading .hint{color:#d0c8b6}.workspace-badge{display:none}
.settings-heading{padding-top:0;border:0}.settings-heading h2,.dashboard-empty h2{font-family:DiscordDeadlock,Georgia,serif;font-size:23px;font-weight:700}.settings-heading .hint{color:#bfb7a4}
.feature-card{position:relative;border:1px solid #58564e;border-top:3px solid #b5a377;background:linear-gradient(135deg,#303333,#202324);box-shadow:4px 5px 0 #0e1113}
.feature-heading{position:relative;isolation:isolate;padding:0 0 18px;border-bottom:1px solid #69624e;margin-bottom:16px}
.feature-heading:after{content:'';position:absolute;right:0;top:-12px;width:75px;height:75px;background:url('/assets/deadlock-sigil.svg') center/contain no-repeat;opacity:.09;z-index:-1;pointer-events:none}
.feature-heading h3{font-family:DiscordDeadlock,Georgia,serif;font-size:23px;letter-spacing:.2px;line-height:1.2}.feature-heading p{color:#d0c6b1}.feature-symbol{border:0;background:transparent;width:38px;height:38px;color:#eadbb7;font-size:30px}.feature-symbol img{width:100%;height:100%;object-fit:contain;filter:sepia(.7)}
.feature-card:nth-child(2){border-top-color:#9dafb3}.feature-card:nth-child(3){border-top-color:#a88065}.feature-card:nth-child(4){border-top-color:#b1a0bb}
.feature-card select{font-family:DiscordOracle,system-ui,sans-serif;font-size:14px;background:#171a1b;color:#efe4c9;border-color:#716856}
.feature-card .toggle-row{background:#191c1dc9;border-color:#5b5649}
.feature-state{font-family:DiscordOracle,system-ui,sans-serif;letter-spacing:.2px}.feature-state.is-on:before{content:'●';margin-right:6px;color:#e8d297}
.save-bar{border-color:#a18e5e;background:#292d2b;box-shadow:0 6px 22px #0009}
.dashboard-active footer{border-color:#544e3e;color:#c0b9a6}
.dashboard-active :is(a,button,input,select):focus-visible{outline-color:#f3d487}
@media(max-width:760px){.workspace-heading{padding:22px 18px;min-height:145px}.workspace-heading:before{background-size:auto,330px auto}.feature-heading h3{font-size:22px}.dashboard-active .brand{font-size:16px}.dashboard-active .primary{font-size:14px}}

@font-face{font-family:DiscordBody;src:url('/assets/radiance-regular.otf') format('opentype');font-display:swap}
.dashboard-active,.server,.feature-card select{font-family:DiscordBody,system-ui,sans-serif}.feature-description{font-size:14px}.feature-card label{font-size:13px}.feature-card .hint{font-size:12px}.feature-heading p{font-size:13px}.sidebar-hint{font-size:13px}.feature-state{font-family:DiscordBody,system-ui,sans-serif}
/* Public landing and server selection flow. */
body{background:#141617 url('/assets/discord-menu-background.png') center top/cover fixed;color:#eee2c5;font-family:DiscordBody,system-ui,sans-serif}
header{background:#191c1df2;border-color:#5c5646}.brand{font-family:DiscordDeadlock,Georgia,serif;font-size:20px}
.landing-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;padding:38px 20px 34px;margin-bottom:32px;position:relative;isolation:isolate;border-bottom:1px solid #5d5440}
.landing-hero:before{content:'';position:absolute;inset:0;background:url('/assets/deadlock-sigil.svg') center/280px no-repeat;opacity:.07;z-index:-1;pointer-events:none}
.landing-hero h1{font:700 clamp(26px,3.7vw,46px)/1.2 DiscordDeadlock,Georgia,serif;max-width:none;letter-spacing:0;margin:14px 0 18px;white-space:normal}.landing-hero .eyebrow{color:#d4c094}.landing-hero .hero-description{max-width:570px;color:#c9c1ae;font-size:18px;line-height:1.65;margin:0 auto 8px}.landing-hero .actions{justify-content:center;margin:22px 0}
.landing-hero .button,#dashboard-login .button,#server-setup .button{border-radius:2px;background:#272b2a;border-color:#857656;color:#ebdfc1;padding:12px 24px}.landing-hero .primary,#dashboard-login .primary,#server-setup .primary{background:#e9d8ac;color:#22251f;border-color:#f3e4c2;font-weight:700;box-shadow:3px 3px 0 #090c0d}
.hero-features{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;font-size:12px;color:#c1b69c;margin-top:12px}.hero-features span:before{content:'◆';font-size:8px;margin-right:8px;color:#bba674}
.landing-details{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:40px;align-items:start}.landing-details .commands{border-top:0;padding-top:8px;margin-top:0}.landing-details .commands h2{font-family:DiscordDeadlock,Georgia,serif;font-size:24px}.landing-details dt{color:#e2cca2}.landing-details dd{color:#c8c1b3}.landing-details .commands dl{gap:5px}.landing-details .commands dd{margin-bottom:18px}
body:not(.dashboard-active) footer{border-color:#514b40;color:#b8af9b}
.dashboard-route .intro,.dashboard-route .landing-details{display:none}
#dashboard-login{text-align:center;padding:70px 20px}#dashboard-login h1{max-width:none;font-family:DiscordDeadlock,Georgia,serif}
.all-servers{font-size:13px;text-align:left;padding:10px 12px;margin:0 0 4px}.server-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:14px;margin-top:26px}.server-picker .server{border:1px solid #605744;background:#2c2f2e;padding:18px;width:100%;height:100%;border-radius:2px}.server-picker .server:hover{border-color:#e6d19b;background:#353730}.server-picker .server-avatar{width:50px;height:50px}.dashboard-empty{background:#202425;border-color:#665c47;padding:30px}.dashboard-empty .empty-symbol{display:none}.dashboard-empty p{color:#c8bfab}.dashboard-empty h2{margin-bottom:10px}#server-setup{padding:48px 24px}#setup-icon{border-radius:50%;object-fit:cover;margin-bottom:12px}#server-setup .hint{margin-top:20px}.workspace-heading .hint{max-width:550px}
@media(min-width:761px){.landing-hero h1{white-space:nowrap}}
@media(max-width:760px){.landing-details{grid-template-columns:1fr;gap:24px}.landing-hero{padding:24px 0 28px}.landing-hero .hero-description{font-size:16px}.landing-hero .button{padding:10px 18px}.hero-features{gap:8px 16px}.brand{font-size:16px}.dashboard-empty{padding:24px 14px}.server-picker .server{flex-shrink:1}}

.landing-hero .bot-server-count{margin:0 0 10px;color:#e6d3a4;font-size:14px;letter-spacing:.3px}.bot-server-count:before{content:"◆";font-size:9px;margin-right:8px;color:#c2a86c}

.toggle-row input:disabled{opacity:.4;cursor:not-allowed}
