/* Classic server-list layout. One white column on a coloured backdrop, one dense table.
   No external fonts or images; the Content-Security-Policy allows this file and site.js only. */
:root{
  --accent:#1F7FD0; --accent-dark:#1763A8; --accent-soft:#E1F0FC; --ink:#1A2028; --muted:#56616E;
  --line:#C2D6E8; --strip:#E6F0F9; --zebra:#F4F9FD; --warn:#8A5A00; --bad:#A3162B;
  /* links are warm on a sky-blue site; "online and checked" stays green whatever the colour of the site is */
  --link:#BE3A14; --good:#1B7A3E; --good-soft:#E3F3E8; --bar:linear-gradient(#EAF4FC,#D2E7F8);
  --nav:linear-gradient(#2F8DDB,#1E76C6);
  --cond:"Bahnschrift","DIN Alternate","Roboto Condensed","Arial Narrow",sans-serif;
  --body:Verdana,Tahoma,"DejaVu Sans",sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;font:12px/1.5 var(--body);color:var(--ink);background:#8CC8F2 linear-gradient(#56ACEA,#CDE7FA) fixed}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
button,select,input,textarea{font:inherit;color:inherit}
h1{margin:0;font:700 21px/1.15 var(--cond);letter-spacing:.02em}
h2{margin:18px 0 6px;font:700 16px/1.2 var(--cond);letter-spacing:.03em}
code{font:12px/1.4 Consolas,"Cascadia Mono",ui-monospace,monospace}
.flag{display:inline-block;vertical-align:-1px;outline:1px solid rgba(0,0,0,.28);outline-offset:-1px}
.cc{display:inline-block;min-width:16px;text-align:center;font-size:9px;line-height:11px;color:var(--muted);border:1px solid var(--line);vertical-align:-1px}
.muted{color:var(--muted)}
.warn{color:var(--warn)}
.ok{color:var(--good);font-weight:bold}
.rep{color:var(--muted)}
.page{max-width:900px;margin:0 auto;padding:0 10px 26px}

.langs{display:flex;justify-content:flex-end;padding:10px 14px 0 0}
.langs ul{display:flex;flex-wrap:wrap;gap:4px 13px;list-style:none;margin:0;padding:5px 11px;background:rgba(255,255,255,.88);border-radius:6px 6px 0 0;font-size:11px}
.langs a{color:var(--accent-dark)}
.langs .on{font-weight:bold}
.sheet{background:#fff;border-radius:4px;box-shadow:0 2px 16px rgba(0,0,0,.28);overflow:hidden}

/* header */
.head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 20px;flex-wrap:wrap;padding:16px 16px 0}
.logo{display:flex;align-items:center;gap:9px;color:var(--accent-dark);padding-bottom:12px}
.logo:hover{text-decoration:none}
.logo .w{display:block;font:700 37px/0.95 var(--cond);letter-spacing:.01em}
.logo .w b{color:var(--link)}
.logo .sub{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.head-r{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:1 1 300px}
.acct{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 12px;font-size:11px;overflow-wrap:anywhere}
.acct-me{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:8px 0 0}
.acct-add{margin:14px 0 6px}
/* the search strip stands on the menu bar: its lower edge has the colour the bar starts with */
.sbar{display:flex;align-items:center;gap:8px;width:100%;max-width:410px;margin:0;background:linear-gradient(#3A97E0,#2F8DDB);border-radius:7px 7px 0 0;padding:8px 10px}
.sbar label{font:700 14px/1 var(--cond);letter-spacing:.06em;color:#fff}
.sbar input{flex:1;min-width:0;height:22px;border:1px solid var(--accent-dark);border-radius:3px;padding:0 6px;background:#fff}
.sbar button{height:22px;border:0;border-radius:3px;background:linear-gradient(#C9461A,#A8300C);color:#fff;font-size:11px;font-weight:bold;padding:0 12px;cursor:pointer}

.nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 6px;background:var(--nav);padding:0 10px}
.nav a{color:#fff;font:600 15px/1 var(--cond);letter-spacing:.05em;text-transform:uppercase;padding:10px 13px}
.nav a.on,.nav a:hover{background:rgba(0,0,0,.22);text-decoration:none}

/* three boxes */
/* one panel in three columns under one header band */
.boxes{display:grid;grid-template-columns:1fr 1fr 1fr;margin:12px 14px 4px;border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#F4F6F8}
.box{min-width:0}
.box + .box{border-left:1px solid #DDE4EA}
.box h2{margin:0;padding:6px 9px;font:700 15px/1.2 var(--cond);letter-spacing:.05em;text-transform:uppercase;color:var(--link);background:var(--bar);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:7px}
.box h2::before{content:"";flex:none;width:20px;height:20px;background:no-repeat center/contain}
.b-stats h2::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='2' y='11' width='4' height='7' fill='%232E9B4E'/%3E%3Crect x='8' y='6' width='4' height='12' fill='%23C9461A'/%3E%3Crect x='14' y='2' width='4' height='16' fill='%231F7FD0'/%3E%3C/svg%3E")}
.b-how h2::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8.5' fill='%232E9B4E'/%3E%3Cpath d='M5.8 10.4l2.8 2.8 5.6-5.9' fill='none' stroke='%23fff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.b-ad h2::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5l2.6 5.4 5.9.8-4.3 4.1 1 5.8-5.2-2.8-5.2 2.8 1-5.8L1.5 7.7l5.9-.8z' fill='%23F2B01E' stroke='%23B97F0A' stroke-width='.9' stroke-linejoin='round'/%3E%3C/svg%3E")}
.b-owner h2::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='1.5' y='1.5' width='17' height='17' rx='3.5' fill='%231F7FD0'/%3E%3Cpath d='M10 5.5v9M5.5 10h9' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")}
.adtag{margin-left:auto;font:700 10px/1.5 var(--body);letter-spacing:.04em;color:var(--muted);border:1px solid var(--muted);border-radius:3px;padding:0 4px}
.bx{padding:8px 10px 10px;font-size:11.5px}
.bx p{margin:0 0 5px}
.bx p:last-child{margin-bottom:0}
.bx .big{font-size:13px;font-weight:bold}
.bx small{font-size:10.5px;color:var(--muted)}
.keys{list-style:none;margin:0 0 6px;padding:0}
.keys li{margin:0 0 4px;padding-left:16px;position:relative}
.keys li i{position:absolute;left:0;top:0;font-style:normal;font-weight:bold}

/* launch strip */
.soon{margin:10px 14px 0;border:1px solid var(--line);border-radius:4px;overflow:hidden}
.soon.wide{margin:10px 0 0}
.soon-h{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:5px 9px;background:var(--bar);border-bottom:1px solid var(--line);font-size:11.5px}
.soon-row{display:grid;grid-template-columns:22px minmax(120px,240px) 1fr auto;gap:0 10px;align-items:center;padding:6px 9px;border-bottom:1px solid #E6EBF1;background:#F6F9FC}
.soon-row:last-child{border-bottom:0}
.soon-row .ad{font-weight:bold;overflow-wrap:anywhere}
.soon-row .ds{color:var(--muted);overflow-wrap:anywhere}
.soon-row .cd{text-align:right;white-space:nowrap}
/* "add to calendar" moves to the next line whole instead of breaking in the middle */
.ics{white-space:nowrap}
.soon-row .cd b{display:inline-block;min-width:92px;font-size:13px;font-variant-numeric:tabular-nums}

/* the list */
.list{padding:14px 14px 6px}
.list.narrow{max-width:640px}
.list-h{display:flex;justify-content:space-between;align-items:flex-end;gap:8px 16px;flex-wrap:wrap;margin-bottom:8px}
.cnt{font-size:11px;color:var(--muted);margin-top:1px}
.lead{font-size:12.5px;margin:6px 0 12px}
.filters{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:11.5px;margin:0}
.filters select{height:23px;border:1px solid var(--line);border-radius:3px;background:#fff;padding:0 3px;max-width:150px}
.filters button{height:23px;border:1px solid var(--line);border-radius:3px;background:#fff;padding:0 8px;cursor:pointer}
.filters.js button{display:none}
.pager{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;margin:6px 0;font-size:11px}
.pager .pg{display:flex;flex-wrap:wrap;gap:2px;align-items:center}
.pager .pg span{color:var(--muted);margin-right:3px}
.pager .pg i{font-style:normal;color:var(--muted);padding:0 2px}
.pager a{border:1px solid var(--line);padding:1px 6px;border-radius:2px;background:#fff;color:var(--ink)}
.pager a.on{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:bold}
.pager .step{border:1px solid var(--accent-dark);border-radius:4px;background:var(--nav);color:#fff;padding:2px 14px;white-space:nowrap}
.pager span.step{opacity:.4}
table.t{width:100%;border-collapse:collapse;font-size:11.5px}
.t th{background:var(--bar);border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;padding:5px 6px;font-weight:bold;vertical-align:bottom;white-space:nowrap}
.t th a{color:inherit}
.t td{padding:3px 6px;border-bottom:1px solid #E6EBF1;vertical-align:middle}
.t tbody tr:nth-child(even){background:var(--zebra)}
.t tbody tr:hover{background:var(--accent-soft)}
/* a paid highlight: the row is marked, its place is the one the player count gives it (after zebra and hover on purpose) */
.t tbody tr.feat{background:#FFEE58}
.t tbody tr.feat:hover{background:#FFE533}
.ftag{display:block;width:fit-content;margin:1px 0 0;font:700 9.5px/1.5 var(--body);letter-spacing:.04em;text-transform:uppercase;color:#4D3B00;border:1px solid #7A5F00;border-radius:3px;padding:0 4px;white-space:nowrap}
.t .f{width:26px;padding-right:0}
/* an address stays in one piece with its arrow; a very long one is cut with dots (the full text is in its title) */
.t .a{white-space:nowrap}
.t .a a{font-weight:bold}
.t .a .ad{display:inline-block;max-width:240px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
.t .n{overflow-wrap:anywhere}
.t .n a{color:inherit}
.t .p,.t .u,.t .l,.t .e,.t .pv,.t .v{width:1%}
.t .p,.t .u,.t .e,.t .v{white-space:nowrap;font-variant-numeric:tabular-nums}
.t .p b{font-size:12.5px}
.t .l,.t .pv{white-space:nowrap}
.sub{display:none;color:var(--muted)}
.empty td{padding:22px 6px;text-align:center;color:var(--muted)}
.emptybox{padding:18px 12px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:4px}
.legend{margin:8px 0 0;font-size:11px;color:var(--muted)}
.legend span{white-space:nowrap}
.out-h{margin:16px 0 5px;font:700 15px/1.2 var(--cond);letter-spacing:.03em;color:var(--warn)}
.out-row{display:grid;grid-template-columns:22px minmax(110px,170px) 1fr;gap:0 10px;padding:5px 6px;border-top:1px solid #E6EBF1;font-size:11.5px}
.out-row .ad{font-weight:bold;overflow-wrap:anywhere}
.out-row .why{color:var(--warn)}
.out-row .why.off{color:var(--bad)}

.btn{display:inline-block;background:var(--accent);color:#fff;font-weight:bold;border:0;border-radius:3px;padding:6px 14px;white-space:nowrap;cursor:pointer}
.btn:hover{background:var(--accent-dark);text-decoration:none}
.btn-go{display:inline-block;border:1px solid var(--accent-dark);background:var(--accent);color:#fff;border-radius:3px;padding:1px 9px;font-size:11px;font-weight:bold;white-space:nowrap}
.btn-go:hover{background:var(--accent-dark);text-decoration:none}
/* the small arrow after an address on the list: opens the server's own website */
.ext{display:inline-block;margin-left:6px;width:15px;height:15px;line-height:14px;text-align:center;border-radius:3px;background:var(--accent);color:#fff;font-size:11px;font-weight:bold;vertical-align:1px}
.ext:hover{background:var(--accent-dark);text-decoration:none}
.btn-s{display:inline-block;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:3px;padding:1px 8px;font-size:11px;cursor:pointer}
.owners{margin:16px 14px 0;border:1px solid var(--line);border-radius:4px;background:#F6F9FC;padding:10px 12px;display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap}
.owners b{font-size:12.5px}
/* links to the category pages, under the list */
.cats{margin:14px 14px 0;padding:8px 0 0;border-top:1px solid var(--line);font-size:11px}
.cats p{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 11px;margin:0 0 4px}
.cats b{color:var(--muted)}
.cats a[aria-current]{color:var(--ink);font-weight:bold}

/* server page */
.srv{padding:14px 14px 6px}
.srv-h h1{font-size:24px}
.srv-h .flag{vertical-align:1px}
.addr{margin:6px 0 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.addr code{font-size:14px;font-weight:bold;overflow-wrap:anywhere}
.tagline{font-size:11px;color:var(--accent);font-weight:bold}
.state{margin:12px 0;border:1px solid var(--line);border-left-width:4px;border-radius:4px;padding:8px 11px;background:#FBFCFD}
.state b{font-size:13px}
.state p{margin:3px 0 0}
.state.st-ok{border-left-color:var(--good)}
.state.st-ok b{color:var(--good)}
.state.st-sus{border-left-color:var(--warn);background:#FDF7EE}
.state.st-sus b{color:var(--warn)}
.state.st-off{border-left-color:var(--bad)}
.state.st-off b{color:var(--bad)}
.descr{margin:10px 0;font-size:12.5px;overflow-wrap:anywhere}
table.facts{border-collapse:collapse;width:100%;max-width:640px;font-size:12px}
.facts th,.facts td{text-align:left;padding:4px 8px;border-bottom:1px solid #E6EBF1;vertical-align:top}
.facts th{width:42%;font-weight:normal;color:var(--muted)}
.facts td{overflow-wrap:anywhere}
.facts .big{font-size:17px}
.chart{display:block;width:100%;height:auto;max-width:860px;border:1px solid var(--line);border-radius:4px;background:#FBFCFD}
.chart .grid{stroke:#DCE4EC;stroke-width:1}
.chart .ax{font:10px var(--body);fill:var(--muted)}
.chart .line{fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linejoin:round}
.chart .area{fill:var(--accent-soft)}
/* the value under the pointer (drawn by the page script) */
.chart{touch-action:pan-y;cursor:crosshair}
.chart .tip{pointer-events:none}
.chart .tip line{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}
.chart .tip circle{fill:#fff;stroke:var(--accent-dark);stroke-width:2}
.chart .tip rect{fill:var(--ink)}
.chart .tip text{fill:#fff;font:bold 11px var(--body)}
.hist{margin:0;padding-left:18px}
.hist li{margin:2px 0}
.code{margin:6px 0;padding:8px 10px;border:1px solid var(--line);border-radius:4px;background:var(--zebra);font:11.5px/1.5 Consolas,"Cascadia Mono",ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.manage-link{margin:18px 0 8px;font-size:11.5px}
/* the widget preview of a long name is wider than a phone: it shrinks instead of being cut off by the sheet */
.srv img{max-width:100%;height:auto}

/* forms */
.form{margin:12px 0}
.form label{display:block;font-weight:bold;margin:10px 0 3px}
.form input[type=text],.form input[type=url],.form input[type=datetime-local],.form textarea,.form select{width:100%;border:1px solid var(--line);border-radius:3px;padding:5px 7px;background:#fff}
.form textarea{resize:vertical}
.form .btn{margin-top:12px}
.form.danger{margin-top:26px;padding-top:12px;border-top:1px solid var(--line)}
.form .check{font-weight:normal;display:flex;gap:6px;align-items:center}
.hint{margin:3px 0 0;font-size:11px;color:var(--muted)}
.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:0 12px}
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.msg{margin:10px 0;padding:7px 10px;border-radius:4px;border:1px solid var(--line)}
.msg.ok{background:var(--good-soft);border-color:#B5D9C1}
.msg.err{background:#FBECEA;border-color:#EBC3BF;color:#7A1A14}
.codebox{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 2px;padding:9px 11px;border:1px solid var(--line);border-radius:4px;background:var(--zebra)}
.codebox code{font-size:15px;font-weight:bold;overflow-wrap:anywhere}
/* the DNS name to type exactly: it moves to the next line whole, and only a name longer than a line breaks */
code.rec{display:inline-block;max-width:100%;font-weight:bold;word-break:break-all}
.prose{max-width:720px}
.prose p{margin:0 0 8px;font-size:12.5px}

/* shop: points, promote (only rendered while the shop is on) */
.form input[type=date],.form input[type=number]{width:100%;border:1px solid var(--line);border-radius:3px;padding:5px 7px;background:#fff}
.shop-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:10px 0}
.form.pack{margin:8px 0;padding:8px 10px;border:1px solid var(--line);border-radius:4px;background:var(--zebra)}
.form.pack .btn{margin-top:8px}
.pack-h{margin:0;display:flex;justify-content:space-between;gap:10px;font-size:13px}
.choice{margin:10px 0 0;padding:0;border:0}
.choice legend{font-weight:bold;padding:0;margin-bottom:3px}
.choice .check{margin:3px 0}
.days{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:3px;font-size:10.5px}
.days li{padding:2px 5px;border:1px solid var(--line);border-radius:3px;white-space:nowrap}
.days li.free{background:var(--good-soft);border-color:#B5D9C1}
.days li.taken{background:#FBECEA;border-color:#EBC3BF;color:#7A1A14}
.sub-line{display:block;color:var(--muted);overflow-wrap:anywhere}

/* forum (only rendered while the forum is on). Everything people write may be one long word: it wraps anywhere. */
/* the latest discussions: under the list, or in a right column on wide windows (see the media query below) */
.fo-side{margin:16px 14px 0}
.fo-box{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#F4F6F8}
.fo-box h2::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 2.5h14A1.5 1.5 0 0 1 18.5 4v8.5A1.5 1.5 0 0 1 17 14H9.5l-4.5 4v-4H3a1.5 1.5 0 0 1-1.5-1.5V4A1.5 1.5 0 0 1 3 2.5z' fill='%231F7FD0'/%3E%3Cpath d='M5.5 6.5h9M5.5 9.8h6' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")}
.fo-latest{list-style:none;margin:0 0 6px;padding:0}
.fo-latest li{padding:5px 0;border-bottom:1px solid #DDE4EA;overflow-wrap:anywhere}
.fo-latest li:first-child{padding-top:0}
.fo-latest a{font-weight:bold}
.fo-meta{display:block;font-size:10.5px;color:var(--muted);overflow-wrap:anywhere}
.bx .fo-all{margin:0}
.fo-jump{margin:0 0 4px}
.fo .back{margin:0 0 6px}
.fo-h{overflow-wrap:anywhere}
.fo-t .fo-tt{overflow-wrap:anywhere}
.fo-t .fo-tt a{font-weight:bold}
.fo-t .fo-n{width:1%;text-align:right;white-space:nowrap}
.fo-t .fo-l{width:1%;white-space:nowrap}
.fo-t .fo-l .sub-line{white-space:normal}
.fo-tag{display:inline-block;font:700 9.5px/1.5 var(--body);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border:1px solid var(--muted);border-radius:3px;padding:0 4px;vertical-align:1px;white-space:nowrap}
.fo-tag.fo-owner{color:var(--good);border-color:var(--good)}
.fo-srvs{list-style:none;margin:0;padding:0}
.fo-srvs li{padding:5px 6px;border-top:1px solid #E6EBF1;overflow-wrap:anywhere}
.fo-srvs li a{font-weight:bold}
.fo-srvs .fo-meta{display:inline}
.fo-posts{margin:6px 0}
.fo-post{border:1px solid var(--line);border-radius:4px;margin:0 0 8px;background:#fff}
.fo-ph{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;padding:5px 9px;background:var(--bar);border-bottom:1px solid var(--line);font-size:11.5px}
.fo-nick{min-width:0;overflow-wrap:anywhere}
.fo-when{margin-left:auto;color:var(--muted);font-size:11px}
.fo-body{padding:8px 10px;font-size:12.5px;overflow-wrap:anywhere}
.fo-gone{padding:6px 10px;color:var(--muted);font-style:italic;background:var(--zebra)}
.fo-act{margin:0 10px 8px;font-size:11px}
.fo-act summary{display:inline-block;cursor:pointer;color:var(--muted)}
.fo-act form{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.fo-act input{flex:1 1 160px;min-width:0;border:1px solid var(--line);border-radius:3px;padding:3px 6px;background:#fff}
.fo-form{max-width:720px}
.fo-signin{margin:6px 0 0}
.fo-prev{list-style:none;margin:0 0 6px;padding:0;max-width:720px}
.fo-prev li{padding:6px 0;border-bottom:1px solid #E6EBF1}
.fo-prev .fo-meta{font-size:11px}
.fo-excerpt{display:block;font-size:12px;overflow-wrap:anywhere}
.fo-nickbox{margin:22px 0 4px;padding-top:2px;border-top:1px solid var(--line);max-width:640px}
/* Wide windows: the list pages get the right column, and the page grows by its width, so the server table keeps
   exactly the width it has without the forum (880px of sheet for the left column). */
/* the menu has one item more: tighter on narrower windows, so it wraps at about the widths it did with six */
@media (max-width:900px){
  .nav.fo-menu{gap:0 2px;padding:0 6px}
  .nav.fo-menu a{padding-left:9px;padding-right:9px}
}
@media (min-width:1180px){
  .page.fo-two{max-width:1160px}
  .fo-cols{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:start}
  .fo-side{margin:12px 14px 0 0}
}

/* chat (only rendered while the chat is on). What people write may be one long word: it wraps anywhere. */
/* the box: under the list, or in a left column on wide windows (see the media queries below) */
.ch-side{margin:16px 14px 0}
.ch-box{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#F4F6F8}
.ch-box h2::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2.5 3h10A1.5 1.5 0 0 1 14 4.5v6A1.5 1.5 0 0 1 12.5 12H7l-3.5 3v-3h-1A1.5 1.5 0 0 1 1 10.5v-6A1.5 1.5 0 0 1 2.5 3z' fill='%231F7FD0'/%3E%3Cpath d='M15.5 6.5h2A1.5 1.5 0 0 1 19 8v6a1.5 1.5 0 0 1-1.5 1.5h-1V18L13 15.5H9.5A1.5 1.5 0 0 1 8 14v-.5h5.5a2 2 0 0 0 2-2z' fill='%23C9461A'/%3E%3C/svg%3E")}
/* the log scrolls by itself; the page script keeps the newest line in view while the reader is at the bottom */
.ch-log{height:300px;overflow-x:hidden;overflow-y:auto;margin:0 0 8px;padding:2px 7px;background:#fff;border:1px solid #DDE4EA;border-radius:3px;font-size:11.5px;overflow-wrap:anywhere}
.ch-m{padding:3px 0;border-bottom:1px solid #EEF2F6}
.ch-m:last-child{border-bottom:0}
.ch-t{color:var(--muted);font-size:10.5px;font-variant-numeric:tabular-nums}
.ch-none{margin:6px 0;color:var(--muted)}
.ch-form{margin:0}
.ch-nickrow{margin:0 0 6px}
.ch-nickrow label{display:block;font-weight:bold;margin:0 0 3px}
.ch-nickrow input,.ch-line input{width:100%;min-width:0;border:1px solid var(--line);border-radius:3px;padding:3px 6px;background:#fff}
.ch-line{display:flex;gap:5px}
.ch-line input{flex:1 1 auto}
.ch-line .btn{padding:3px 10px}
.msg.ch-err{margin:6px 0 0;padding:4px 7px;font-size:11px}
.ch-in{margin:0}
.msg.ch-blocked{margin:0;padding:5px 8px;font-size:11px}
.msg.ch-blocked p{margin:0}
.bx .ch-all{margin:6px 0 0}
/* the chat page: a taller log, a report or delete form after each message */
.ch-log.ch-full{height:480px;max-width:720px;padding:3px 9px;font-size:12px}
.ch .ch-form{max-width:720px}
.ch .ch-nickrow{max-width:360px}
.ch .msg.ch-blocked{max-width:720px;padding:7px 10px;font-size:12px}
.ch-act{display:inline-block;margin-left:6px;font-size:11px}
.ch-act[open]{display:block;margin:4px 0 2px}
.ch-act summary{display:inline;cursor:pointer;color:var(--muted)}
.ch-act form{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px}
.ch-act input{flex:1 1 140px;min-width:0;border:1px solid var(--line);border-radius:3px;padding:3px 6px;background:#fff}
/* Wide windows: the chat stands in a left column and the page grows by its width, so the server table keeps exactly
   the width it has without the chat (880px of sheet for the list). With the forum on as well, the forum box stands
   under the list until the window has room for a third column. */
@media (min-width:1180px){
  .page.ch-two{max-width:1160px}
  .ch-cols{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start}
  .ch-cols > main{grid-column:2;grid-row:1}
  .ch-cols > .ch-side{grid-column:1;grid-row:1 / span 2;margin:12px 0 0 14px}
  .ch-cols > .fo-side{grid-column:2;grid-row:2;margin:16px 14px 0}
  .ch-side .ch-log{height:420px}
}
@media (min-width:1460px){
  .page.ch-three{max-width:1420px}
  .ch-three .ch-cols{grid-template-columns:260px minmax(0,1fr) 260px}
  .ch-cols > .fo-side{grid-column:3;grid-row:1;margin:12px 14px 0 0}
}
/* a finger needs about 32px (as below for the rest of the site) */
@media (max-width:760px){
  .ch-nickrow input,.ch-line input,.ch-line .btn,.ch-act input{height:32px}
  .ch-all a,.ch-in a,.ch-act summary,.ch-none a{display:inline-block;padding:8px 0}
  .ch-log.ch-full{height:360px}
}
@media (max-width:520px){
  .ch-side{margin-left:8px;margin-right:8px}
}

footer{margin-top:16px;padding:12px 16px 14px;background:var(--strip);border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
footer .who{color:var(--ink);font-weight:bold;margin-bottom:4px}
footer nav{display:flex;gap:3px 14px;flex-wrap:wrap;margin:5px 0}

/* Below the full width of the sheet the table must be able to shrink: a row that cannot wrap is cut off by the
   sheet, not scrolled (measured: up to 87px lost at 768px). So the one-piece address is for wide windows only. */
@media (max-width:920px){
  .t .a{white-space:normal;overflow-wrap:anywhere}
  .t .a .ad{display:inline;max-width:none}
}
@media (max-width:760px){
  .boxes{grid-template-columns:1fr}
  .box + .box{border-left:0;border-top:1px solid var(--line)}
  .t .n,.t .u,.t .e,.t .pv{display:none}
  .sub{display:block}
  .soon-row{grid-template-columns:22px 1fr auto}
  .soon-row .ds{grid-column:2 / -1;grid-row:2}
  .row3{grid-template-columns:1fr}
  /* a finger needs about 32px: buttons and links that stand alone grow on narrow (touch) screens only */
  .sbar input,.sbar button,.filters select,.filters button{height:32px}
  .btn{padding:7px 14px}
  .btn-s,.btn-go{padding:7px 10px;vertical-align:middle}
  .pager a{display:inline-block;min-width:32px;padding:7px 8px;text-align:center}
  .pager .step{padding:7px 14px}
  .langs ul{gap:0 13px}
  .langs a,footer nav a,.back a,.manage-link a,.b-how p a,.soon-h a,.cats a,.fo-all a,.fo-act summary{display:inline-block;padding:8px 0}
  footer nav{gap:0 16px;margin:2px 0}
  .cats p{gap:0 12px;margin:0}
  .acct a{display:inline-block;padding:7px 0}
  /* the arrow to a server's website: a little bigger, and a finger may land a few pixels around it */
  .ext{position:relative;width:18px;height:18px;line-height:17px;font-size:12px;vertical-align:middle;margin:-4px 0 -4px 4px}
  .ext::after{content:"";position:absolute;left:-7px;right:-7px;top:-7px;bottom:-7px}
}
@media (max-width:520px){
  .page{padding:0 6px 20px}
  .langs{padding-right:6px}
  .head{padding:12px 10px 10px}
  .head-r{align-items:stretch}
  .sbar{max-width:none}
  .logo .w{font-size:31px}
  .nav a{font-size:14px;padding:9px 9px}
  .list,.srv{padding-left:8px;padding-right:8px}
  .boxes,.soon,.owners,.cats,.fo-side{margin-left:8px;margin-right:8px}
  .soon.wide{margin-left:0;margin-right:0}
  .t .pk,.t .mx,.t .lt{display:none}
  .t td,.t th{padding-left:4px;padding-right:4px}
  .pager .tx,.pager .pg span{display:none}
  .soon-row .cd span{display:none}
  .soon-row .cd b{min-width:0}
  .out-row{grid-template-columns:22px 1fr}
  .out-row .why{grid-column:2}
  .facts th{width:46%}
}
