/* Studio skin. Layout and responsive structure live in style.css. */
@font-face {
  font-family: Montserrat;
  src: url("fonts/Montserrat-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #111111;
  --panel: #1a1a1a;
  --panel2: #212121;
  --border: #2d2d2d;
  --text: #f0f0f0;
  --muted: #8d8d8d;
  --accent: #cdcdcd;
  --radius: 14px;
  --ease: cubic-bezier(.2,.8,.2,1);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #bababa4d; color: #ffffff; }
button, a, input, textarea, select, summary {
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
button { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ui-icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
button > span > .ui-icon { width: 15px; height: 15px; }
::-webkit-scrollbar { width: 7px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 2px solid var(--bg); border-radius: 8px; background: #393939; }
::-webkit-scrollbar-thumb:hover { background: #626262; }

.sidebar { background: #141414; border-right-color: #252525; }
.brand { font-size: 17px; font-weight: 800; letter-spacing: .55px; }
.brand small { font-size: 7px; letter-spacing: 1.35px; color: #777777; }
.brand-mark, .bot-avatar { box-shadow: inset 0 1px 0 #ffffff35; }
.brand-mark { transition: transform .25s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-5deg); }
.workspace { background: #1b1b1b; border-color: #2b2b2b; border-radius: 10px; font-weight: 650; }
.workspace-icon { background: #2b2b2b; color: #cecece; border: 1px solid #404040; border-radius: 8px; }
.workspace small { color: #818181; }
.nav-caption { color: #6b6b6b; font-size: 9px; letter-spacing: 1.6px; }
.nav-item { border: 1px solid transparent; border-radius: 8px; font-weight: 550; color: #989898; padding: 12px 11px; min-height: 43px; }
.nav-item > span:first-child { display: inline-flex; align-items: center; justify-content: center; color: #7e7e7e; }
.nav-item:hover { color: #e3e3e3; background: #202020; }
.nav-item:hover > span:first-child { color: #cccccc; transform: translateX(1px); }
.nav-item.active { background: #242424; border-color: #343434; color: #e1e1e1; box-shadow: inset 2px 0 0 #c4c4c4; }
.nav-item.active > span:first-child { color: #c4c4c4; }
.nav-count { background: none; border: 0; color: #7d7d7d; font-size: 10px !important; font-variant-numeric: tabular-nums; }
.studio-note { background: linear-gradient(135deg,#222222,#1b1b1b); border-color: #323232; border-radius: 12px; }
.studio-note p { color: #929292; line-height: 1.85; }
.studio-note button { font-size: 11px; }
.studio-note button:hover { color: #dfdfdf; }
.studio-note button span { transition: transform .2s var(--ease); }
.studio-note button:hover span { transform: translate(2px,-2px); }
.sidebar-footer { justify-content: space-between; color: #696969; font-size: 8px; letter-spacing: .9px; }
.sidebar-footer > span:last-child { color: #535353; font-size: 7px; letter-spacing: 1px; }
.topbar { border-bottom-color: #242424; background: #121212; font-size: 12px; }
#breadcrumb-current { color: #d3d3d3; font-weight: 550; }
.account { gap: 10px; }
.eyebrow { font-size: 9px; color: #9b9b9b; letter-spacing: 2.1px; margin-bottom: 12px; }
h1 { font-size: clamp(27px,2.3vw,36px); font-weight: 700; letter-spacing: -1.35px; line-height: 1.28; }
.page-heading p { font-size: 12px; color: #909090; line-height: 1.8; }
h2 { font-size: 13px; letter-spacing: -.2px; font-weight: 650; }
.small { font-size: 10px; }

.button { min-height: 39px; border-color: #353535; background: #232323; border-radius: 8px; padding: 10px 15px; font-size: 12px; line-height: 1.3; font-weight: 650; box-shadow: inset 0 1px 0 #ffffff04,0 1px 2px #00000022; }
.button:hover { border-color: #545454; background: #2a2a2a; transform: none; box-shadow: inset 0 1px 0 #ffffff08,0 3px 10px #00000022; }
.button:active { transform: translateY(1px); box-shadow: inset 0 1px 3px #00000033; }
.button.primary { background: #c5c5c5; border-color: #d5d5d5; color: #242424; box-shadow: inset 0 1px 0 #ffffff40,0 2px 8px #00000022; }
.button.primary:hover { background: #d6d6d6; border-color: #e4e4e4; box-shadow: inset 0 1px 0 #ffffff55,0 0 0 3px #c4c4c40d,0 4px 18px #a0a0a01c; }
.button.subtle { background: #1c1c1c; border-color: #313131; color: #c9c9c9; }
.button.subtle:hover { background: #272727; border-color: #525252; color: #f1f1f1; }
.button > span:last-child { transition: transform .18s var(--ease); }
.button.primary:hover > span:last-child { transform: translate(2px,-2px); }
.discord-button { background: #222222; border-color: #3e3e3e; color: #d8d8d8; font-size: 11px; min-height: 36px; }
.discord-button:hover { background: #2c2c2c; border-color: #727272; }
.icon-button { border: 1px solid transparent; border-radius: 7px; width: 30px; height: 30px; color: #8e8e8e; }
.icon-button:hover { background: #2e2e2e; border-color: #434343; color: #d5d5d5; }
.text-button { font-size: 11px; padding: 4px 0; }
.text-button:hover { color: #e6e6e6; }
.notice { background: #1b1b1b; border-color: #2e2e2e; border-radius: 10px; color: #989898; padding: 14px 17px; gap: 13px; font-size: 11px; line-height: 1.75; }
.notice strong { font-weight: 650; color: #d1d1d1; }
.notice-icon { display: grid; place-items: center; color: #b4b4b4; width: 28px; flex-shrink: 0; }
.notice-icon .ui-icon { width: 21px; height: 21px; }
.notice > button { font-size: 11px; color: #c8c8c8; }
.notice > button:hover { color: #e6e6e6; }
.mode-switch { border-radius: 10px; border-color: #303030; background: #161616; }
.mode-switch button { border: 1px solid transparent; border-radius: 6px; min-height: 33px; color: #818181; font-weight: 550; }
.mode-switch button > span { font-size: 11px; }
.mode-switch button .ui-icon { width: 15px; height: 15px; }
.mode-switch button:hover { color: #d2d2d2; background: #232323; }
.mode-switch button.selected { background: #2c2c2c; border-color: #3f3f3f; color: #d9d9d9; box-shadow: inset 0 1px 0 #ffffff06,0 1px 3px #00000022; }
.save-state { font-size: 10px; color: #7b7b7b; }
.panel { box-shadow: 0 4px 18px #0000000a; }
.message-settings { padding-bottom: 19px; margin-bottom: 20px; }
label { font-size: 11px; font-weight: 550; color: #b7b7b7; line-height: 1.6; }
input:not([type=color],[type=checkbox]),textarea,select { border-color: #2f2f2f; border-radius: 8px; background: #131313; color: #e5e5e5; font-size: 12px; padding: 10px 12px; line-height: 1.75; }
input::placeholder,textarea::placeholder { color: #646464; font-size: 11px; font-weight: 450; }
input:not([type=color],[type=checkbox]):hover,textarea:hover,select:hover { border-color: #474747; }
input:focus,textarea:focus,select:focus { border-color: #a4a4a4; background: #151515; box-shadow: 0 0 0 3px #c3c3c30b; }
.optional { font-size: 10px; color: #717171; font-weight: 450; }
.input-count { font-size: 10px; color: #717171; font-weight: 450; font-variant-numeric: tabular-nums; }
.embed-tabs button { font-size: 11px; border: 1px solid transparent; border-radius: 6px; font-weight: 600; }
.embed-tabs button:hover { background: #252525; color: #d0d0d0; }
.embed-tabs button.active { background: #2b2b2b; border-color: #383838; color: #cfcfcf; }
.embed-tools .text-button { font-size: 10px; }
.embed-tools .text-button:hover { color: #cccccc; }
.embed-tools .danger-text:hover { color: #b9b9b9; }
.section-label { font-size: 12px; font-weight: 650; color: #d2d2d2; }
.section-label > span { display: inline-flex; color: #989898; }
.section-label .ui-icon { width: 17px; height: 17px; }
.embed-core textarea { min-height: 138px; }
.format-hint { font-size: 9px; color: #717171; }
.color-input { background: #131313; border-color: #2f2f2f; border-radius: 8px; height: 43px; }
.color-input:focus-within { border-color: #a4a4a4; box-shadow: 0 0 0 3px #c3c3c30b; }
.color-input input:not([type=color]) { height: 41px; font-size: 11px; box-shadow: none; background: none; }
.swatches button { width: 16px; height: 16px; border-color: var(--panel); }
.swatches button:hover { box-shadow: 0 0 0 1px #9e9e9e; transform: scale(1.18); }
summary { color: #c3c3c3; font-size: 12px; font-weight: 550; padding-top: 18px; padding-bottom: 18px; }
summary > span { display: flex; width: 18px; color: #848484; }
summary small { font-size: 10px; color: #787878; }
summary:hover { background: #ffffff03; color: #dedede; }
summary:hover > span { color: #c0c0c0; }
summary:after { content: ''; width: 6px; height: 6px; border: solid #828282; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-right: 2px; transition: transform .2s var(--ease); }
details[open] summary:after { content: ''; transform: rotate(225deg); }
details[open] summary { color: #dcdcdc; }
.field-help { font-size: 11px; color: #8b8b8b; line-height: 1.85; }
.field-row,.button-row { border-color: #303030; border-radius: 9px; background: #151515; }
.field-row .row-heading,.button-row .row-heading { font-size: 10px; }

.preview-heading h2 { font-size: 12px; color: #c2c2c2; }
.preview-sizes { border-radius: 7px; border-color: #303030; padding: 3px; background: #151515; }
.preview-sizes button { width: 27px; height: 24px; border-radius: 4px; }
.preview-sizes button:hover { color: #cbcbcb; background: #282828; }
.preview-sizes .selected { background: #2f2f2f; }
.discord-window { border-radius: 12px; border-color: #414141; box-shadow: 0 12px 35px #00000024,0 1px 0 #ffffff03; }
.discord-channel > strong { font-size: 11px; }
.discord-channel > span:last-child { font-size: 9px; }
.discord-message { padding-bottom: 30px; }
.bot-meta { margin-bottom: 10px; }
.bot-meta > strong { font-size: 12px; font-weight: 650; }
.bot-meta time { font-size: 8px; color: #a5a5a5; }
.bot-badge { font-family: "Segoe UI",sans-serif; }
.discord-content { font-size: 12px; }
.embed-title { font-size: 17px; font-weight: 750; line-height: 1.5; letter-spacing: -.4px; }
.embed-author { font-size: 10px; font-weight: 650; }
.embed-description { font-size: 11px; color: #c6c6c6; line-height: 1.85; }
.embed-fields { gap: 14px 10px; margin-top: 17px; }
.embed-field,.embed-field strong { font-size: 10px; }
.embed-field strong { font-weight: 650; }
.embed-footer { font-size: 9px; color: #a6a6a6; margin-top: 16px; }
.preview-meta { font-size: 10px; color: #777777; }
#total-count { color: #a1a1a1; }
.tip-card { border-radius: 12px; background: linear-gradient(125deg,#212121,#191919); border-color: #323232; }
.tip-card strong { font-size: 12px; font-weight: 600; color: #d0d0d0; }
.tip-card p { font-size: 11px; color: #949494; line-height: 1.85; }
.tip-card .text-button { font-size: 11px; }
.preview-footer { font-size: 9px; color: #717171; line-height: 1.8; }
.discord-link-button { font-size: 11px; }
.discord-link-button:hover { background: #626262; }

.library-card { border-radius: 12px; transition: border-color .2s var(--ease),background .2s var(--ease); }
.library-card:hover { border-color: #444444; background: #1d1d1d; }
.library-card p { font-size: 11px; }
.empty-state { border-radius: 14px; border-color: #3e3e3e; }
.template-card { border-radius: 14px; border-color: #323232; background: linear-gradient(155deg,#232323,#191919); transition: border-color .25s var(--ease),transform .25s var(--ease),box-shadow .25s var(--ease); }
.template-card:hover { border-color: #6c6c6c; transform: translateY(-3px); box-shadow: 0 14px 34px #00000033; }
.template-card h2 { font-size: 19px; }
.template-card p { font-size: 12px; line-height: 1.85; }
.guide-card h2 { font-size: 16px; }
.guide-card p { line-height: 1.85; }
.guide-card pre { border-radius: 9px; line-height: 1.9; }
.main-footer { font-size: 9px; color: #6e6e6e; }
.main-footer > span:last-child { font-size: 8px; }
dialog { background: #1a1a1a; border-color: #494949; border-radius: 17px; padding: 27px; box-shadow: 0 30px 100px #00000099; }
dialog[open] { animation: dialog-in .2s var(--ease); }
dialog::backdrop { background: #080808d1; backdrop-filter: blur(7px); }
dialog h2 { font-size: 20px; font-weight: 700; letter-spacing: -.5px; }
dialog p { color: #a3a3a3; line-height: 1.9; }
#import-source { font-size: 12px; }
.validation-error { font-size: 12px; color: #c1c1c1; background: #222222; border-color: #474747; border-radius: 9px; }
.button.danger { background: #4f4f4f; border-color: #6a6a6a; color: #f6f6f6; }
.button.danger:hover { background: #656565; border-color: #909090; }
.toast { background: #252525; color: #dddddd; border-color: #5c5c5c; border-radius: 11px; box-shadow: 0 8px 35px #00000055; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(7px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media(min-width:1550px) {
  .embed-title { font-size: 20px; }
  .embed-description { font-size: 12px; }
  .embed-field,.embed-field strong { font-size: 11px; }
}
@media(max-width:1200px) {
  .brand { font-size: 15px; letter-spacing: .2px; }
  .brand small { font-size: 6px; }
  .topbar { font-size: 11px; }
  .toolbar-actions .button { font-size: 11px; padding: 10px 11px; }
  .mode-switch button > span { font-size: 11px; }
  .notice { font-size: 10px; }
  .notice strong { display: block; }
  .bot-meta > strong { font-size: 11px; }
  .bot-meta time { font-size: 7px; }
  .embed-title { font-size: 15px; }
  .embed-description { font-size: 10px; }
  .embed-field,.embed-field strong { font-size: 9px; }
  h1 { font-size: 28px; letter-spacing: -1px; }
}
@media(max-width:1080px) {
  .editor-toolbar { flex-wrap: wrap; }
  .toolbar-actions { margin-left: auto; }
}
@media(max-width:980px) {
  .embed-title { font-size: 18px; }
  .embed-description { font-size: 12px; }
  .embed-field,.embed-field strong { font-size: 11px; }
  .page-heading > .button { font-size: 10px; }
}
@media(max-width:680px) {
  .brand { font-size: 16px; }
  .nav-item { font-size: 10px; min-height: 36px; padding: 9px 7px; gap: 6px; }
  .nav-item .ui-icon { width: 15px; height: 15px; }
  .sidebar > nav:last-of-type .nav-item { font-size: 10px; }
  .topbar { font-size: 10px; }
  .slash { margin: 0 9px; }
  .discord-button { font-size: 10px; padding: 8px; }
  .eyebrow { font-size: 8px; }
  h1 { font-size: 29px; letter-spacing: -1.2px; }
  .page-heading p { font-size: 11px; }
  .page-heading > .button { font-size: 11px; }
  .notice { padding: 13px 11px; font-size: 10px; gap: 8px; }
  .notice-icon { width: 22px; margin-top: 2px; }
  .notice > button { font-size: 10px; }
  .mode-switch button { padding: 8px 11px; }
  .toolbar-actions { margin-left: 0; }
  .toolbar-actions .button { padding: 10px; }
  .embed-title { font-size: 16px; }
  .embed-description { font-size: 11px; }
  .embed-field,.embed-field strong { font-size: 9px; }
  .embed-footer { font-size: 8px; }
  .preview-meta { font-size: 9px; }
  .preview-footer { font-size: 8px; }
  summary small { font-size: 9px; }
  .main-footer { font-size: 8px; }
  .template-card h2 { font-size: 17px; }
  .template-card p { font-size: 11px; }
  .format-hint { font-size: 8px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Navy edition */
summary:after { display:none; }
.summary-chevron { margin-left:8px; font-size:9px; color:#959595; transition:transform .2s var(--ease); }
details[open] .summary-chevron { transform:rotate(180deg); }
:root { --bg:#0e0e0e; --panel:#1c1c1c; --panel2:#232323; --border:#333333; --text:#eeeeee; --muted:#9b9b9b; --accent:#a1a1a1; }
body { background:radial-gradient(ellipse at 70% 0%,#22222255,transparent 55%),var(--bg); }
.sidebar { background:#131313; border-color:#2a2a2a; }
.topbar { background:#141414; border-color:#2a2a2a; font-size:13px; }
.brand { font-size:17px; gap:11px; letter-spacing:.3px; }
.brand-logo { width:41px; height:41px; flex-shrink:0; transition:transform .25s var(--ease); }
.brand:hover .brand-logo { transform:translateY(-2px); }
.brand small { color:#939393; font-size:7px; letter-spacing:1px; }
.workspace { background:#1f1f1f; border-color:#383838; font-size:13px; }
.workspace-icon { background:#313131; border-color:#494949; color:#b2b2b2; font-size:16px; }
.workspace small { color:#959595; font-size:11px; }
.nav-caption { color:#828282; font-size:10px; }
.nav-item { font-size:13px; color:#ababab; padding:13px 10px; }
.nav-item > span:first-child { color:#939393; }
.nav-item:hover { background:#232323; color:#ececec; }
.nav-item:hover > span:first-child { color:#bababa; }
.nav-item.active { background:#2a2a2a; border-color:#454545; box-shadow:inset 2px 0 0 #a4a4a4; color:#e4e4e4; }
.nav-item.active > span:first-child { color:#afafaf; }
.admin-nav { margin-top:12px; }
.studio-caption { margin-top:32px; }
.nav-count { color:#a4a4a4; }
.studio-note { background:linear-gradient(145deg,#292929,#1d1d1d); border-color:#3f3f3f; }
.spark { color:#afafaf; font-size:23px; }
.studio-note strong { font-size:13px; }
.studio-note p { font-size:12px; color:#a4a4a4; }
.studio-note button { color:#b3b3b3; font-size:12px; }
.sidebar-footer { color:#797979; }
.eyebrow { color:#9f9f9f; font-size:10px; }
h1 { font-size:clamp(30px,2.4vw,39px); letter-spacing:-1.3px; }
h2 { font-size:15px; }
.page-heading p { font-size:13px; color:#a4a4a4; }
.breadcrumb { color:#8d8d8d; }
#breadcrumb-current { color:#d3d3d3; }
.button { font-size:13px; min-height:42px; padding:11px 15px; border-color:#404040; background:#2a2a2a; }
.button:hover { background:#393939; border-color:#676767; }
.button.primary { background:#7f7f7f; color:#fafafa; border-color:#969696; box-shadow:inset 0 1px 0 #d3d3d330,0 3px 12px #0f0f0f40; }
.button.primary:hover { background:#939393; border-color:#b9b9b9; box-shadow:0 0 0 3px #90909012,0 5px 22px #7070702b; }
.button.primary:hover > span:last-child { transform:none; }
.button.subtle { background:#212121; border-color:#3f3f3f; color:#cbcbcb; }
.button.subtle:hover { background:#323232; border-color:#6e6e6e; color:#f5f5f5; }
.button .fa-solid,.button .fa-brands { font-size:13px; }
.discord-button { background:#2a2a2a; border-color:#4d4d4d; color:#e0e0e0; font-size:12px; }
.discord-button:hover { background:#393939; border-color:#828282; }
.icon-button { color:#a5a5a5; }
.icon-button:hover { background:#323232; border-color:#565656; color:#e8e8e8; }
.icon-button .fa-solid { font-size:14px; }
.text-button { color:#aeaeae; font-size:12px; }
.text-button:hover { color:#dedede; }
.notice { background:#1e1e1e; border-color:#3d3d3d; color:#a7a7a7; font-size:12px; }
.notice strong { color:#dbdbdb; }
.notice-icon,.notice > button { color:#b4b4b4; }
.notice > button { font-size:12px; }
.notice-icon .fa-solid { font-size:21px; }
.mode-switch { background:#171717; border-color:#3a3a3a; }
.mode-switch button { color:#a0a0a0; font-size:13px; gap:9px; }
.mode-switch button > span { font-size:12px; }
.mode-switch button:hover { background:#2c2c2c; color:#dddddd; }
.mode-switch button.selected { background:#383838; border-color:#555555; color:#e8e8e8; }
.mode-switch .fa-solid { font-size:12px; }
.save-state { color:#a3a3a3; }
label { color:#c5c5c5; font-size:12px; }
input:not([type=color],[type=checkbox]),textarea,select { background:#161616; border-color:#3d3d3d; color:#e8e8e8; font-size:14px; }
input::placeholder,textarea::placeholder { color:#858585; font-size:12px; }
input:not([type=color],[type=checkbox]):hover,textarea:hover,select:hover { border-color:#606060; }
input:focus,textarea:focus,select:focus { border-color:#969696; background:#1a1a1a; box-shadow:0 0 0 3px #8787870f; }
.optional,.input-count { font-size:11px; color:#888888; }
.small { font-size:11px; }
.embed-tabs button { font-size:12px; color:#a9a9a9; }
.embed-tabs button.active { background:#353535; color:#dfdfdf; border-color:#505050; }
.embed-tabs button:hover { background:#303030; color:#ededed; }
.embed-tools .text-button { font-size:11px; color:#a5a5a5; }
.section-label { color:#d8d8d8; font-size:14px; }
.section-label > span { color:#a8a8a8; }
.format-hint { color:#8f8f8f; font-size:10px; }
.format-hint > span { color:#aeaeae; font-size:12px; }
.color-input { background:#161616; border-color:#3d3d3d; }
.color-input:focus-within { border-color:#969696; box-shadow:0 0 0 3px #8787870f; }
.color-input input:not([type=color]) { font-size:12px; }
summary { color:#cecece; font-size:14px; }
summary small { font-size:11px; color:#959595; }
summary > span { color:#a1a1a1; }
summary:hover { color:#efefef; background:#6262620a; }
summary:hover > span { color:#cbcbcb; }
summary:after { border-color:#9b9b9b; }
details[open] summary { color:#e5e5e5; }
.field-help { color:#a4a4a4; font-size:12px; }
.field-row,.button-row { background:#181818; border-color:#3e3e3e; }
.field-row .row-heading,.button-row .row-heading { color:#ababab; }
.preview-heading h2 { font-size:14px; color:#cfcfcf; }
.preview-sizes { background:#1d1d1d; border-color:#404040; }
.preview-sizes button { display:inline-grid; place-items:center; color:#a3a3a3; }
.preview-sizes button .fa-solid { font-size:13px; }
.preview-sizes .selected,.preview-sizes button:hover { background:#3f3f3f; color:#dfdfdf; }
.bot-avatar { padding:0; object-fit:contain; background:none; box-shadow:none; }
.embed-title { font-size:18px; }
.embed-description { font-size:12px; }
.embed-author { font-size:11px; }
.embed-field,.embed-field strong { font-size:11px; }
.embed-footer { font-size:10px; }
.preview-meta { font-size:11px; color:#959595; }
#total-count { color:#bbbbbb; }
.tip-card { background:linear-gradient(135deg,#262626,#1d1d1d); border-color:#404040; }
.tip-card > span:first-child { color:#adadad; font-size:23px; }
.tip-card strong { color:#dadada; font-size:13px; }
.tip-card p { color:#a5a5a5; font-size:12px; }
.tip-card .text-button { font-size:12px; }
.tip-decoration { color:#a3a3a30d; }
.preview-footer { color:#919191; font-size:10px; }
.template-card { background:linear-gradient(145deg,#2a2a2a,#1b1b1b); border-color:#434343; }
.template-card:hover { border-color:#7c7c7c; }
.template-art { background:radial-gradient(ellipse at 50% 90%,#7878782e,transparent); border-color:#464646; color:#b8b8b8; }
.template-card p,.guide-card p,.library-card p { color:#a6a6a6; font-size:13px; }
.template-card h2 { font-size:20px; }
.library-card:hover { background:#272727; border-color:#5a5a5a; }
.empty-state { border-color:#4e4e4e; }
.empty-state > span { color:#b5b5b5; }
.empty-state p { color:#aaaaaa; }
.guide-card pre,#json-source { color:#d1d1d1; background:#141414; font-size:13px; }
.main-footer { color:#919191; font-size:10px; }
.main-footer > span:last-child { color:#838383; }
dialog { background:#1e1e1e; border-color:#585858; }
dialog p,.setup-steps { color:#b6b6b6; font-size:13px; }
dialog code { color:#cacaca; }
.toast { background:#303030; border-color:#707070; color:#ebebeb; font-size:13px; }
.toast a { color:#cdcdcd; }

/* Site administration */
.admin-gate { text-align:center; padding:55px 25px; }
.admin-lock { font-size:38px; color:#aaaaaa; margin-bottom:24px; }
.admin-gate h2 { font-size:23px; margin-bottom:15px; }
.admin-gate p { color:#adadad; line-height:1.9; max-width:530px; margin:0 auto 25px; font-size:14px; }
.admin-gate .button { margin:5px; }
.admin-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:22px; }
.admin-stat { padding:22px; }
.admin-stat > div { display:flex; align-items:center; gap:10px; color:#acacac; font-size:12px; }
.admin-stat > div > i { color:#a7a7a7; }
.admin-stat > strong { display:block; font-size:34px; font-weight:650; margin-top:18px; letter-spacing:-1px; }
.admin-integrations { margin-bottom:24px; }
.admin-integrations .panel-top > i { color:#a1a1a1; }
#admin-integration-list { display:grid; grid-template-columns:1fr 1fr; padding:7px 22px; gap:0 30px; }
#admin-integration-list > div { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:17px 0; border-bottom:1px solid #333333; font-size:12px; }
#admin-integration-list > div > span { color:#9c9c9c; flex-shrink:0; }
#admin-integration-list > div > strong { font-size:12px; font-weight:500; color:#d1d1d1; overflow-wrap:anywhere; text-align:right; }
#admin-integration-list > div:nth-last-child(-n+2) { border-bottom:0; }
.admin-toolbar { display:flex; gap:16px; align-items:center; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; }
.admin-tabs { overflow:auto; max-width:100%; }
.admin-tabs button { white-space:nowrap; font-size:12px; }
.admin-search { position:relative; min-width:255px; margin:0; flex:1; max-width:340px; }
.admin-search > i { position:absolute; top:16px; left:13px; color:#8e8e8e; }
.admin-search input { margin:0; padding-left:37px; font-size:12px; }
.admin-table-scroll { overflow:auto; }
.admin-table { width:100%; border-collapse:collapse; font-size:12px; min-width:750px; }
.admin-table th { text-align:left; color:#979797; font-size:11px; font-weight:550; padding:17px 20px; background:#181818; border-bottom:1px solid #3a3a3a; }
.admin-table td { padding:19px 20px; border-bottom:1px solid #323232; color:#cdcdcd; line-height:1.7; }
.admin-table td strong { display:block; font-size:13px; font-weight:600; color:#e6e6e6; }
.admin-table td small { display:block; font-size:10px; color:#989898; }
.admin-table tbody tr:hover { background:#30303055; }
.admin-table .mono { font-family:Consolas,monospace; font-size:12px; }
.admin-row-actions { display:flex; align-items:center; gap:8px; }
.admin-row-actions .button { font-size:11px; min-height:34px; padding:8px 10px; }
.admin-row-actions .fa-solid { font-size:11px; }
.admin-delete:hover { color:#c0c0c0; background:#48484833; border-color:#545454; }
.admin-pagination { display:flex; justify-content:space-between; align-items:center; padding:15px 20px; font-size:11px; color:#a4a4a4; }
.admin-pagination > div { display:flex; gap:7px; }
.admin-pagination .button { min-height:32px; width:34px; padding:7px; }
.admin-loading { padding:45px; color:#a8a8a8; font-size:13px; text-align:center; }
.admin-empty { padding:60px 25px; text-align:center; }
.admin-empty > i { color:#959595; font-size:30px; }
.admin-empty h2 { font-size:18px; margin:20px 0 12px; }
.admin-empty p { color:#9c9c9c; font-size:12px; line-height:1.9; }
.admin-footnote { display:flex; gap:8px; align-items:center; color:#848484; font-size:11px; margin-top:18px; line-height:1.8; }
#admin-record-json { white-space:pre-wrap; overflow-wrap:anywhere; color:#d4d4d4; background:#141414; padding:18px; border-radius:8px; font:12px/1.8 Consolas,monospace; max-height:55vh; overflow:auto; }
@media(max-width:1200px) {
  .brand { font-size:15px; gap:9px; }
  .sidebar { width:246px; }
  .app-shell { margin-left:246px; }
  .brand-logo { width:36px; height:36px; }
  .brand small { font-size:6px; }
  .toolbar-actions .button { font-size:12px; padding:11px; }
  .mode-switch button > span { font-size:12px; }
  .notice { font-size:11px; }
  .admin-stats { gap:12px; }
  .admin-stat { padding:18px 15px; }
  .admin-stat > div { font-size:11px; }
  #admin-integration-list { grid-template-columns:1fr; }
  #admin-integration-list > div:nth-last-child(2) { border-bottom:1px solid #333333; }
}
@media(max-width:980px) {
  .page-heading { flex-wrap:wrap; }
  .embed-title { font-size:19px; }
  .embed-description { font-size:13px; }
  .admin-stats { grid-template-columns:1fr 1fr; }
}
@media(max-width:680px) {
  .sidebar { width:100%; }
  .app-shell { margin-left:0; }
  .brand { font-size:17px; }
  .brand-logo { width:37px; height:37px; }
  .nav-item { font-size:10px; padding:10px 4px; gap:5px; }
  .nav-item > span:first-child { font-size:11px; }
  .sidebar > nav:last-of-type .nav-item { font-size:11px; }
  .admin-nav { width:fit-content; margin:9px 0 0; font-size:11px; padding:8px; }
  .topbar { font-size:10px; }
  .discord-button { font-size:10px; padding:9px; }
  h1 { font-size:31px; }
  .page-heading p { font-size:12px; }
  .page-heading > .button { font-size:12px; }
  .toolbar-actions .button { font-size:11px; padding:10px 9px; }
  .mode-switch button > span { font-size:12px; }
  .notice { font-size:11px; padding:14px 11px; }
  .notice > button { font-size:10px; }
  .embed-title { font-size:17px; }
  .embed-description { font-size:12px; }
  .embed-field,.embed-field strong { font-size:10px; }
  summary { font-size:13px; }
  summary small { font-size:10px; }
  .format-hint { font-size:9px; }
  .admin-stat > div { font-size:10px; gap:7px; }
  .admin-stat > strong { font-size:29px; }
  .admin-search { max-width:none; min-width:0; width:100%; }
  .admin-tabs { width:100%; }
  .admin-tabs button { padding:8px; font-size:11px; }
  .admin-tabs .fa-solid { display:none; }
  #admin-integration-list { padding:4px 16px; }
  #admin-integration-list > div { font-size:11px; gap:12px; }
  #admin-integration-list > div > strong { font-size:11px; }
  .admin-gate { padding:40px 18px; }
  .admin-gate h2 { font-size:21px; }
  .admin-gate p { font-size:13px; }
  .admin-footnote { font-size:10px; }
}
