/* Fredoka (SIL Open Font License 1.1), served from this site: no third-party font requests. */
@font-face { font-family: Fredoka; font-weight: 400; font-display: swap; src: url(../fonts/fredoka-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 600; font-display: swap; src: url(../fonts/fredoka-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 700 800; font-display: swap; src: url(../fonts/fredoka-latin-700-normal.woff2) format('woff2'); }
/* DashBop website — one stylesheet for every page. */
:root {
  --ink: #1d1b3a; --muted: #5b5a7a; --bg: #f6f4ff; --panel: #ffffff; --line: #e6e3fb;
  --pink: #ff4f9a; --orange: #ff8a2e; --yellow: #ffd23f; --blue: #3d8bff; --violet: #7b5cff; --green: #2fcf7a;
  --radius: 22px; --shadow: 0 10px 30px rgba(40, 30, 110, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #f3f1ff; --muted: #b9b6d8; --bg: #14122b; --panel: #1f1c40; --line: #2f2b5c; --shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 Fredoka, "Arial Rounded MT Bold", system-ui, sans-serif; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 28px; letter-spacing: 1px; text-decoration: none; color: var(--ink); }
.logo b { color: var(--pink); }
.nav { display: flex; gap: 6px 16px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 2px; }
.nav a:hover, .nav a[aria-current] { color: var(--pink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 18px; font-weight: 800; font-size: 18px; text-decoration: none; color: #fff; background: linear-gradient(#ffb23f, var(--orange)); box-shadow: 0 6px 0 #c2410c; transition: transform 0.1s; }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #c2410c; }
.btn.discord { background: linear-gradient(#7d8bff, #5865f2); box-shadow: 0 6px 0 #3b45b8; }
.btn.ghost { background: var(--panel); color: var(--ink); box-shadow: 0 6px 0 var(--line); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 8px; }

/* hero */
.hero { padding: 48px 0 28px; background: radial-gradient(ellipse at 70% 0%, rgba(123, 92, 255, 0.25), transparent 60%), radial-gradient(ellipse at 10% 30%, rgba(255, 79, 154, 0.18), transparent 55%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1; margin: 0; letter-spacing: 1px; }
.hero h1 b { color: var(--pink); }
.hero .sub { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); margin: 14px 0 0; }
.hero .shot { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 4px solid var(--panel); }
.note { font-size: 15px; color: var(--muted); }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }

/* sections */
section { padding: 34px 0; }
h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 6px; }
h3 { margin: 0 0 6px; font-size: 21px; }
.lead { color: var(--muted); margin: 0 0 20px; max-width: 720px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--panel); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card .ic { font-size: 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.split .shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.maps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); }
.map img { width: 100%; aspect-ratio: 440 / 260; object-fit: cover; }
.map { border-radius: 16px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.map span { display: block; padding: 6px 10px 8px; font-weight: 700; font-size: 15px; }
.map small { display: block; color: var(--muted); font-weight: 500; }
.status { display: grid; gap: 10px; }
.status div { display: flex; gap: 10px; align-items: baseline; }
.ok { color: var(--green); font-weight: 800; }
.soon { color: var(--orange); font-weight: 800; }
.bad { color: #e5484d; font-weight: 800; }
#patch-notes .pn-head { margin-top: 0; }

/* text pages */
.doc { padding: 34px 0 50px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; }
.doc h2 { font-size: 24px; margin: 28px 0 6px; }
.del-form { display: grid; gap: 12px; max-width: 460px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.del-form label { display: grid; gap: 4px; font-weight: 600; }
.del-form small { color: var(--muted); font-weight: 500; }
.del-form input { font: inherit; font-size: 17px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); box-sizing: border-box; width: 100%; }
.del-form .btn { justify-content: center; border: 0; cursor: pointer; min-height: 48px; font-family: inherit; }
.btn.danger { background: linear-gradient(#ff7b86, #e8344a); box-shadow: 0 6px 0 #9f1d2e; }
.btn:disabled { opacity: 0.6; cursor: default; }
.del-msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.del-msg.ok { color: var(--green); }
.del-msg.err { color: #e8344a; }
.doc ol { padding-left: 22px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 18px 0; box-shadow: var(--shadow); }
.post time { color: var(--muted); font-size: 15px; }
.post ul { padding-left: 20px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer nav { display: flex; gap: 8px 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .nav { margin-left: 0; width: 100%; }
  .btn { width: 100%; justify-content: center; }
}
