/* The Terms, Privacy and Rules pages (static files terms.html, privacy.html, rules.html, served at /terms, /privacy, /rules), in the game's liquid glass (client/src/ui/glass.js's recipe, here because
   these pages run no code): the warm dark of the Long Room behind, the text on a frosted glass sheet, glass pills to get about. */
:root { --ink: #f6f8fc; --muted: rgba(246,248,252,.68); --line: rgba(255,255,255,.14); color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #0b0806; }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 400 16px/1.65 -apple-system, "SF Pro Text", system-ui, "Segoe UI", sans-serif; text-shadow: 0 1px 2px rgba(0,0,0,.3);
  background: linear-gradient(180deg, rgba(11,8,6,.58), rgba(11,8,6,.82) 60%), url(/bg/longroom-1-land.jpg) center / cover fixed, #0b0806;          /* (the Long Room behind the glass, as on the sign-in) */
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
body::before { content: ''; position: fixed; left: 50%; top: -20%; width: 46vmax; height: 120vh; transform: translateX(-50%) rotate(14deg); pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255,214,150,.13), rgba(255,214,150,0) 75%); filter: blur(30px); }          /* (a soft light as from the end window) */
.wrap { width: min(760px, 100%); margin: 0 auto; }

/* glass: the sheet and the pills (the same numbers as ui/glass.js) */
.top a, article { position: relative; isolation: isolate;
  background: linear-gradient(150deg, rgba(255,255,255,.23), rgba(255,255,255,.11) 42%, rgba(255,255,255,.15)), rgba(40,40,44,.14);
  -webkit-backdrop-filter: blur(12px) saturate(185%) brightness(1.06); backdrop-filter: blur(12px) saturate(185%) brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(255,255,255,.12), inset 1px 0 0 rgba(255,255,255,.18), inset 0 0 22px rgba(255,255,255,.05), 0 24px 50px -18px rgba(0,0,0,.45); }
.top a::after, article::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(155deg, rgba(255,255,255,.85), rgba(255,255,255,.08) 30%, rgba(255,255,255,0) 55%, rgba(255,255,255,.12) 75%, rgba(255,255,255,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.top nav { display: flex; gap: 8px; flex-wrap: wrap; }
.top a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; color: var(--ink); text-decoration: none;
  font: 600 13.5px/1 -apple-system, "SF Pro Text", system-ui, sans-serif; letter-spacing: -0.005em; transition: transform .15s; }
.top a:active { transform: scale(.96); }
.top a.brand { gap: 9px; padding: 0 16px 0 6px; font: 700 15px/1 -apple-system, "SF Pro Display", system-ui, sans-serif; letter-spacing: -0.015em; }          /* (the glass "at" tile and the name) */
.top a.brand img { width: 26px; height: 26px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
@media (max-aspect-ratio: 1/1) { body { background: linear-gradient(180deg, rgba(11,8,6,.58), rgba(11,8,6,.82) 60%), url(/bg/longroom-1-portrait.jpg) center / cover fixed, #0b0806; } }
.top nav a[aria-current] { background: #fff; color: #000; text-shadow: none; box-shadow: 0 4px 16px -4px rgba(0,0,0,.35); }
.top nav a[aria-current]::after { display: none; }

article { border-radius: 30px; padding: clamp(22px, 5vw, 44px); }
h1 { margin: 0 0 4px; font: 700 clamp(30px, 6vw, 40px)/1.1 -apple-system, "SF Pro Display", system-ui, sans-serif; letter-spacing: -0.025em; }
.updated { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
h2 { margin: 32px 0 8px; font: 650 19px/1.3 -apple-system, "SF Pro Display", system-ui, sans-serif; letter-spacing: -0.01em; }
p, li { margin: 0 0 12px; color: rgba(246,248,252,.9); }
ul { padding-left: 22px; margin: 0 0 12px; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: .18em; }
a:hover { text-decoration-color: #fff; }
.note { margin: 16px 0; padding: 12px 16px; border-radius: 16px; background: rgba(0,0,0,.16); box-shadow: inset 0 1px 2px rgba(0,0,0,.22), inset 0 -1px 0 rgba(255,255,255,.14); }
table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font: 600 11.5px/1.2 -apple-system, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.foot { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { body { font-size: 15.5px; } article { border-radius: 24px; } table, thead, tbody, tr, th, td { display: block; } thead { display: none; } tr { border-bottom: 1px solid var(--line); padding: 8px 0; } td { border: 0; padding: 2px 0; } td:first-child { font-weight: 600; color: var(--ink); } }
.top nav { margin-left: auto; }          /* (no name or tile at the top: just the way about, on the right) */
