/* ==========================================================================
   Diemakora theme — main stylesheet
   Original design. Dark ink surface, lime accent, violet secondary.
   ========================================================================== */
:root {
  --bg: #0b0f1a;
  --bg-2: #111827;
  --surface: #161d2e;
  --surface-2: #1d2540;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #e9edf5;
  --text-2: #aab3c7;
  --text-3: #7c869b;
  --accent: #c7f464;
  --accent-2: #a8dc3f;
  --accent-ink: #0b0f1a;
  --violet: #8b7cf6;
  --coral: #ff6b6b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1280px;
  --header-h: 64px;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.dk { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; padding-top: env(safe-area-inset-top,0); }
body.dk a { color: inherit; text-decoration: none; }
body.dk img { max-width: 100%; display: block; }
body.dk button { font: inherit; }
.dk-skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 1000; }
.dk-skip:focus { left: 8px; }
.dk-wrap { min-height: 60vh; }
.dk-container { width: min(var(--max), 100% - 32px); margin: 0 auto; }
.dk-container-narrow { width: min(820px, 100% - 32px); }
.dk-main { padding-bottom: 48px; }
.dk-center { text-align: center; margin: 24px 0; }
.dk-muted { color: var(--text-3); font-size: .9em; }
.dk-count { font-size: .55em; font-weight: 600; color: var(--text-3); vertical-align: middle; margin-left: 8px; }
.dk-empty { color: var(--text-2); background: var(--surface); padding: 24px; border-radius: var(--radius); }

/* ---- buttons / pills ---- */
.dk-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.dk-btn:hover { transform: translateY(-1px); }
.dk-btn-accent { background: var(--accent); color: var(--accent-ink); }
.dk-btn-accent:hover { background: var(--accent-2); }
.dk-btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.dk-btn-ghost:hover { background: var(--surface-2); }
.dk-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); color: var(--text-2); padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.dk-badge { position: absolute; top: 8px; left: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.dk-badge-new { background: var(--accent); color: var(--accent-ink); }
.dk-badge-hot { background: var(--violet); color: #fff; }

/* ---- header ---- */
.dk-header { position: sticky; top: 0; z-index: 50; background: rgba(11,15,26,.85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.dk-header-inner { width: min(var(--max), 100% - 32px); margin: 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.dk-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.dk-logo-text { color: var(--text); }
.dk-nav { display: flex; gap: 4px; }
.dk-nav-link { padding: 8px 12px; border-radius: 10px; font-weight: 600; color: var(--text-2); }
.dk-nav-link:hover { color: var(--text); background: var(--surface); }
.dk-search { flex: 1; display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 16px; max-width: 460px; margin-left: auto; }
.dk-search:focus-within { border-color: var(--accent); }
.dk-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; outline: none; padding: 8px 0; }
.dk-search input::placeholder { color: var(--text-3); }
.dk-search button { border: 0; background: var(--surface-2); color: var(--text); width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.dk-search button:hover { background: var(--accent); color: var(--accent-ink); }
.dk-random { padding: 9px 14px; }
.dk-burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; cursor: pointer; }
.dk-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
.dk-chips-bar { border-top: 1px solid var(--line); background: var(--bg); }
.dk-chips { width: min(var(--max), 100% - 32px); margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.dk-chips::-webkit-scrollbar { display: none; }
.dk-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: .85rem; font-weight: 600; }
.dk-chip:hover, .dk-chip.is-active { border-color: var(--accent); color: var(--text); }
.dk-chip-ic { font-size: .95rem; }

/* ---- drawer ---- */
.dk-drawer { position: fixed; inset: 0; z-index: 90; }
.dk-drawer[hidden] { display: none; }
.dk-drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); border: 0; }
.dk-drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(320px, 85vw); background: var(--bg-2); padding: 16px; overflow-y: auto; box-shadow: var(--shadow); }
.dk-drawer-head { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; margin-bottom: 12px; }
.dk-drawer-close { background: transparent; border: 0; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.dk-search-drawer { max-width: none; margin: 0 0 12px; }
.dk-drawer-links { display: flex; flex-direction: column; }
.dk-drawer-links a { padding: 10px 8px; border-radius: 8px; color: var(--text-2); font-weight: 600; }
.dk-drawer-links a:hover { background: var(--surface); color: var(--text); }
.dk-drawer-sub { margin: 14px 8px 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); }

/* ---- hero ---- */
.dk-hero { width: min(var(--max), 100% - 32px); margin: 28px auto 8px; display: grid; grid-template-columns: 1.05fr 1.6fr; gap: 28px; align-items: center; }
.dk-hero-copy h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; }
.dk-hero-copy h1 em { font-style: normal; color: var(--accent); }
.dk-hero-copy p { color: var(--text-2); font-size: 1.05rem; margin: 0 0 20px; max-width: 46ch; }
.dk-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dk-hero-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 150px 150px; gap: 10px; }
.dk-hero-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.dk-hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dk-hero-card:hover img { transform: scale(1.05); }
.dk-hero-main { grid-column: span 2; grid-row: span 2; }
.dk-hero-text { position: absolute; inset: auto 0 0 0; padding: 14px; background: linear-gradient(180deg, rgba(11,15,26,0) 0%, rgba(11,15,26,.92) 70%); display: flex; flex-direction: column; gap: 6px; }
.dk-hero-text small { color: var(--accent); font-weight: 700; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.dk-hero-text strong { font-size: 1rem; line-height: 1.25; }
.dk-hero-main .dk-hero-text strong { font-size: 1.5rem; }
.dk-hero-text .dk-btn { align-self: flex-start; margin-top: 6px; }
.dk-hero-small .dk-hero-text { padding: 10px; }

/* ---- sections ---- */
.dk-section { width: min(var(--max), 100% - 32px); margin: 30px auto 0; }
.dk-play .dk-section, .dk-container .dk-section { width: auto; }
.dk-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dk-section-head h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.01em; }
.dk-more { color: var(--accent); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.dk-page-head { margin: 24px 0 18px; }
.dk-page-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em; margin: 0 0 8px; line-height: 1.15; }
.dk-page-head p, .dk-intro p { color: var(--text-2); margin: 0 0 10px; max-width: 80ch; }
.dk-lead { font-size: 1.1rem; color: var(--text-2); }

/* ---- cards & grids ---- */
.dk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.dk-grid-dense { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.dk-row { display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.dk-row > * { scroll-snap-align: start; }
.dk-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .15s ease, border-color .15s ease; }
.dk-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.dk-card-media { position: relative; aspect-ratio: 5/3; background: var(--surface-2); overflow: hidden; }
.dk-card-media img { width: 100%; height: 100%; object-fit: cover; }
.dk-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.dk-card-title { font-weight: 700; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-card-meta { color: var(--text-3); font-size: .78rem; font-weight: 600; }
.dk-card-sm .dk-card-title { font-size: .88rem; }

/* category cards */
.dk-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.dk-cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s ease, transform .15s ease; }
.dk-cat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.dk-cat-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.dk-cat-thumbs img { aspect-ratio: 5/3; object-fit: cover; border-radius: 8px; width: 100%; }
.dk-cat-card strong { font-size: 1.05rem; }
.dk-cat-card span:last-child { color: var(--text-3); font-size: .85rem; }

/* tags */
.dk-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dk-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: .85rem; font-weight: 600; }
.dk-tag:hover { border-color: var(--violet); color: var(--text); }
.dk-tag small { color: var(--text-3); font-weight: 600; }
.dk-tag-small { opacity: .75; }
.dk-tags-index { display: block; }
.dk-tags-index .dk-tag { margin: 0 6px 8px 0; }
.dk-tag-letter { font-size: 1rem; color: var(--accent); margin: 22px 0 8px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }

/* ---- prose ---- */
.dk-prose { color: var(--text-2); font-size: 1rem; line-height: 1.75; }
.dk-prose h2 { color: var(--text); font-size: 1.4rem; letter-spacing: -.01em; margin: 34px 0 12px; }
.dk-prose h3 { color: var(--text); font-size: 1.1rem; margin: 24px 0 8px; }
.dk-prose p { margin: 0 0 14px; }
.dk-prose a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(199,244,100,.4); text-underline-offset: 3px; }
.dk-prose ul, .dk-prose ol { padding-left: 22px; margin: 0 0 14px; }
.dk-prose li { margin-bottom: 8px; }
.dk-prose strong { color: var(--text); }
.dk-prose blockquote { border-left: 3px solid var(--accent); margin: 18px 0; padding: 6px 16px; color: var(--text); background: var(--surface); border-radius: 0 10px 10px 0; }
.dk-prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: .95rem; }
.dk-prose th, .dk-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dk-prose th { color: var(--text); font-weight: 700; background: var(--surface); }
.dk-prose img { border-radius: var(--radius); margin: 8px 0 16px; }
.dk-prose-cols { columns: 2; column-gap: 32px; }
.dk-prose-cols p { break-inside: avoid; }
.dk-editorial { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 20px; }
.dk-editorial h2 { margin-top: 0; }
.dk-editorial-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 30px; }
.dk-editorial-box h2 { margin-top: 0; font-size: 1.2rem; }
.dk-custom-text { margin-top: 10px; }
.dk-tips li::marker { color: var(--accent); }
.dk-steps li { margin-bottom: 10px; }
.dk-steps li::marker { color: var(--accent); font-weight: 800; }
kbd { display: inline-block; background: var(--surface-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 8px; font-family: inherit; font-weight: 700; color: var(--text); font-size: .9em; }
.dk-details th { width: 32%; white-space: nowrap; }
.dk-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; }
.dk-faq summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.dk-faq summary::-webkit-details-marker { display: none; }
.dk-faq summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; }
.dk-faq details[open] summary::after { content: "–"; }
.dk-faq-a { padding: 0 16px 14px; }
.dk-faq-a p { margin: 0; }

/* breadcrumbs */
.dk-crumbs { margin: 14px 0 0; font-size: .85rem; color: var(--text-3); }
.dk-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.dk-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-3); }
.dk-crumbs a { color: var(--text-2); }
.dk-crumbs a:hover { color: var(--accent); }

/* ---- blog ---- */
.dk-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dk-post-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.dk-post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s ease, border-color .15s ease; }
.dk-post-card:hover { transform: translateY(-3px); border-color: var(--violet); }
.dk-post-card img { aspect-ratio: 1200/630; object-fit: cover; width: 100%; }
.dk-post-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.dk-post-body time { color: var(--text-3); font-size: .8rem; font-weight: 600; }
.dk-post-body strong { font-size: 1.05rem; line-height: 1.3; color: var(--text); }
.dk-post-body span:last-child { color: var(--text-2); font-size: .9rem; }
.dk-post-card-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.dk-post-card-feature img { height: 100%; }
.dk-post-card-feature .dk-post-body { justify-content: center; padding: 28px; }
.dk-post-card-feature strong { font-size: 1.6rem; }
.dk-pagination { display: flex; justify-content: center; gap: 18px; align-items: center; margin: 28px 0; color: var(--text-3); }
.dk-pagination a { color: var(--accent); font-weight: 700; }
.dk-article-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; margin: 10px 0 8px; }
.dk-article-meta { color: var(--text-3); margin: 0 0 18px; }
.dk-article-meta a { color: var(--text-2); }
.dk-post-hero { width: 100%; border-radius: var(--radius); margin-bottom: 20px; }
.dk-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px; font-size: .95rem; }
.dk-toc strong { display: block; margin-bottom: 6px; }
.dk-toc ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 24px; }
.dk-toc li { margin-bottom: 4px; break-inside: avoid; }
.dk-toc a { color: var(--text-2); }
.dk-toc a:hover { color: var(--accent); }
.dk-article-body h2 { scroll-margin-top: 90px; }
.dk-article-foot { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; }
.dk-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--text-3); }
.dk-share a, .dk-share button { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 6px 12px; border-radius: 999px; font-weight: 600; cursor: pointer; font-size: .9rem; }
.dk-author-box { margin-top: 20px; background: var(--surface); border-radius: var(--radius); padding: 16px 18px; color: var(--text-2); }
.dk-author-box strong { color: var(--text); display: block; margin-bottom: 4px; }
.dk-author-box p { margin: 0; }

/* ---- static pages & forms ---- */
.dk-static .dk-prose h2 { margin-top: 30px; }
.dk-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.dk-form { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.dk-form label, .dk-modal label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--text-2); }
.dk-form input, .dk-form select, .dk-form textarea, .dk-modal input, .dk-modal select, .dk-modal textarea { background: var(--bg); border: 1px solid var(--line-2); color: var(--text); padding: 10px 12px; border-radius: 10px; font: inherit; }
.dk-form input:focus, .dk-form textarea:focus, .dk-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.dk-hp { position: absolute; left: -9999px; }
.dk-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.dk-alert-ok { background: rgba(199,244,100,.12); color: var(--accent); border: 1px solid rgba(199,244,100,.4); }
.dk-alert-err { background: rgba(255,107,107,.12); color: var(--coral); border: 1px solid rgba(255,107,107,.4); }
.dk-contact-side h2 { font-size: 1rem; margin: 18px 0 4px; }
.dk-search-page { max-width: 600px; margin: 10px 0; }
.dk-search-page button { width: auto; padding: 0 16px; border-radius: 999px; }
.dk-admin-note { background: rgba(139,124,246,.15); border: 1px solid var(--violet); color: var(--text); padding: 10px 14px; border-radius: 10px; margin: 12px 0; font-size: .9rem; }
.dk-admin-note a { color: var(--accent); text-decoration: underline; }

/* ---- footer ---- */
.dk-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 40px; }
.dk-footer-inner { width: min(var(--max), 100% - 32px); margin: 0 auto; padding: 40px 0 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.dk-footer-brand p { color: var(--text-2); font-size: .95rem; margin: 12px 0; max-width: 52ch; }
.dk-footer-stats { color: var(--text-3) !important; font-size: .82rem !important; }
.dk-footer-social a { margin-right: 12px; color: var(--text-2); font-weight: 600; }
.dk-footer-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin: 6px 0 12px; }
.dk-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dk-footer-col a { color: var(--text-2); font-size: .95rem; }
.dk-footer-col a:hover { color: var(--accent); }
.dk-footer-col a span { color: var(--text-3); font-size: .8rem; }
.dk-footer-bottom { border-top: 1px solid var(--line); }
.dk-footer-bottom { width: 100%; }
.dk-footer-bottom span { display: block; }
.dk-footer-bottom { padding: 0; }
.dk-footer-bottom > span { width: min(var(--max), 100% - 32px); margin: 0 auto; }
.dk-footer-bottom { font-size: .8rem; color: var(--text-3); }
.dk-footer-bottom > span:first-child { padding: 14px 0 4px; }
.dk-footer-bottom > span:last-child { padding: 0 0 18px; }
.dk-footer-bottom a { color: var(--text-2); text-decoration: underline; }

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .dk-hero { grid-template-columns: 1fr; }
  .dk-hero-grid { grid-template-rows: 140px 140px; }
  .dk-footer-inner { grid-template-columns: 1fr 1fr; }
  .dk-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .dk-nav, .dk-random { display: none; }
  .dk-burger { display: flex; }
  .dk-search { max-width: none; }
  .dk-prose-cols { columns: 1; }
  .dk-post-card-feature { grid-template-columns: 1fr; }
  .dk-post-card-feature strong { font-size: 1.25rem; }
  .dk-toc ol { columns: 1; }
}
@media (max-width: 600px) {
  .dk-header-inner { gap: 10px; }
  .dk-logo-text { display: none; }
  .dk-hero { margin-top: 18px; }
  .dk-hero-copy h1 { font-size: 1.9rem; }
  .dk-hero-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 160px 110px 110px; }
  .dk-hero-main { grid-column: span 2; grid-row: span 1; }
  .dk-grid, .dk-grid-dense { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dk-row { grid-auto-columns: 150px; }
  .dk-footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .dk-editorial { padding: 18px; }
  .dk-details th { width: 38%; white-space: normal; }
}

/* ad slots */
.dk-ad { display: flex; justify-content: center; margin: 18px 0; }
.dk-ad:empty { display: none; }
/* compatibility with the CMS admin/bootstrap stylesheet on admin & login pages */
.dk-header a, .dk-footer a, .dk-drawer a { text-decoration: none; }
.dk-search input, .dk-search input:focus { box-shadow: none; border: 0; height: auto; margin: 0; }
.dk-header .dk-btn, .dk-header button { line-height: 1.2; }

/* admin mode: own bar, no public chrome */
.dk-adminbar { border-bottom: 2px solid var(--violet); }
.dk-adminbar .dk-logo-text small { font-size: .7rem; color: var(--violet); margin-left: 4px; text-transform: uppercase; letter-spacing: .1em; }
.dk-nav-admin { margin-right: auto; }
.dk-adminbar-logout { padding: 7px 14px; }
body.dk-admin-mode .dk-main { padding-bottom: 0; }
@media (max-width: 860px) { .dk-nav-admin { display: flex; overflow-x: auto; } .dk-adminbar .dk-burger { display: none; } }
