/* Terms, Privacy and Cookies pages of Calamity Survivors: the menu's app look (Work Sans, the app's purple panel). */
@font-face{font-family:AppWork;src:url('/assets/site/WorkSans-Regular.woff') format('woff');font-display:swap}
@font-face{font-family:AppWork;src:url('/assets/site/WorkSans-Bold.woff') format('woff');font-weight:700;font-display:swap}
:root{color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;background:#231e41;color:#f9fefd;font:16px/1.65 AppWork,system-ui,sans-serif}
a{color:#a3a7ff}
a:hover{color:#c8caff}
.legal-top{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;max-width:880px;margin:0 auto;padding:20px 16px}
.legal-logo{line-height:0}
.legal-logo img{display:block;width:150px;height:auto}
/* 44 px tall links, as the game's own buttons; the side padding keeps the old 20 px between them (swarm 02.11.2026, 43-11). */
.legal-nav{display:flex;gap:0 12px;flex-wrap:wrap}
.legal-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:#c6b3e3;font-size:14px;font-weight:700;text-decoration:none}
.legal-nav a:hover,.legal-nav a[aria-current="page"]{color:#f9fefd}
.legal-nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}
main{max-width:880px;margin:0 auto 28px;padding:28px 36px 32px;background:#2e2550;border:1px solid #613c94;border-radius:12px;box-shadow:0 10px 18px #0004}
h1{margin:0 0 4px;font-size:30px;line-height:1.2}
.legal-updated{margin:0 0 20px;color:#c6b3e3;font-size:14px}
h2{margin:30px 0 8px;font-size:20px;line-height:1.3}
p,li,td{color:#e7e1f3}
ul{padding-left:22px}
li{margin:6px 0}
.legal-note{margin:16px 0;padding:12px 16px;border-left:3px solid #844acb;border-radius:4px;background:#251d43}
.table-wrap{overflow-x:auto}
table{width:100%;margin:12px 0;border-collapse:collapse;font-size:14px}
th,td{padding:8px 10px;border:1px solid #453174;text-align:left;vertical-align:top}
th{background:#251d43;color:#f9fefd}
code{font:14px ui-monospace,Menlo,monospace;color:#f9fefd}
footer{max-width:880px;margin:0 auto;padding:0 16px 32px;color:#b3a5d3;font-size:13px}
@media(max-width:640px){
 main{padding:20px 16px 24px;border-right:0;border-left:0;border-radius:0}
 h1{font-size:24px}
 h2{font-size:18px}
 /* Wide tables become one card per row. */
 .stack thead{display:none}
 .stack tr{display:block;margin:10px 0;padding:6px 12px;border:1px solid #453174;border-radius:8px}
 .stack td{display:block;padding:4px 0;border:0}
 .stack td::before{content:attr(data-label);display:block;color:#c6b3e3;font-size:12px;font-weight:700}
}
/* Keep the supporting pages in the current lobby material and heading scale. */
@font-face{font-family:CalamityTitle;src:url('/assets/ui/title.woff') format('woff');font-display:swap}
body{background:#171329;color:#f5ebe8}
main{width:calc(100% - 32px);background:#251c2b;border:1px solid #a78f9b38;border-radius:10px}
h1{font:400 29px/35px CalamityTitle,serif}
h2{font:700 17px/24px AppWork,Arial,sans-serif}
a{color:#e1c2f5;text-underline-offset:4px}
.legal-note{border:1px solid #a78f9b38;border-radius:6px;background:#211b2d}
.legal-nav{gap:8px}
.legal-nav a{padding:0 10px;border:1px solid transparent;border-radius:6px}
.legal-nav a[aria-current="page"]{border-color:#d2b77f;background:#362937;color:#f4df9d;text-decoration:none}
a:focus-visible{outline:2px solid #d2b77f;outline-offset:2px}
@media(max-width:640px){h1{font-size:25px;line-height:30px}h2{font-size:16px;line-height:22px}main{border:1px solid #a78f9b38;border-radius:10px;padding:20px 16px 24px}}
