/* Bedrock Atlas: plain, flat, square. Paper and ink by default; dark if the device asks for it. */
:root {
	--bg: #f3f1ec; --paper: #fbfaf7; --hover: #ece9e2;
	--ink: #1b1b19; --ink-2: #3f3e3a; --muted: #6c6a63; --faint: #94918a;
	--rule: #d9d5cb; --rule-2: #bdb8ac;
	--accent: #2d6a3e; --own: #8a5a00; --off: #a29f97;
	--motd-bg: #262624;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", "Liberation Mono", monospace;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #151513; --paper: #1b1b19; --hover: #232320;
		--ink: #ebe9e3; --ink-2: #cfccc4; --muted: #9c998f; --faint: #77746c;
		--rule: #302f2b; --rule-2: #46443f;
		--accent: #7fc492; --own: #dcaa4a; --off: #6c6a63;
		--motd-bg: #0f0f0e;
		color-scheme: dark;
	}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); }
a { color: inherit; text-underline-offset: 2px; }
img, svg { display: block; }
button, input, select { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .92em; }
[hidden] { display: none !important; }
.wrap { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .4rem .8rem; z-index: 10; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- header / footer ---------- */
.site-head { border-bottom: 1px solid var(--ink); background: var(--bg); }
.head-row { display: flex; align-items: baseline; gap: 1.5rem; padding: .9rem 0 .7rem; flex-wrap: wrap; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: .6rem; }
.brand b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: .85rem; }
.nav { display: flex; gap: 1.2rem; margin-left: auto; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: .93rem; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 640px) { .brand small { display: none; } .nav { margin-left: 0; width: 100%; gap: 1rem; } }
.site-foot { border-top: 1px solid var(--rule); margin-top: 3.5rem; padding: 1.6rem 0 2.6rem; color: var(--muted); font-size: .88rem; }
.site-foot p { margin: .35rem 0; max-width: 72ch; }
.site-foot .legal { font-size: .78rem; color: var(--faint); margin-top: .9rem; letter-spacing: .01em; }

/* ---------- controls ---------- */
.btn { display: inline-block; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: .45rem .85rem; border-radius: 2px; text-decoration: none; font-weight: 600; cursor: pointer; white-space: nowrap; font-size: .93rem; }
.btn:hover { background: var(--hover); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--ink-2); }
select, input[type="search"], input[type="email"], input[type="text"], input[type="url"], input[type="number"], textarea { border: 1px solid var(--rule-2); background: var(--paper); border-radius: 2px; padding: .4rem .55rem; }
select:focus, input:focus { border-color: var(--ink); outline: none; }
input[type="checkbox"] { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; }

/* ---------- intro + filters ---------- */
.intro { padding: 1.8rem 0 1rem; }
.intro h1 { font-size: clamp(1.55rem, 3.4vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5rem; font-weight: 800; }
.intro p { margin: .3rem 0; color: var(--ink-2); max-width: 68ch; }
.intro .live { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .93rem; }
.intro .live b { color: var(--ink); }
.search { margin-top: 1rem; display: flex; }
.search input { width: 100%; height: 44px; font-size: 1rem; border: 1px solid var(--ink); padding: 0 .8rem; }
.filters { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: .6rem 0; margin-bottom: .2rem; }
.modes { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem 1rem; font-size: .93rem; }
.modes .lbl { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-right: -.3rem; }
.modes a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.modes a .n { color: var(--faint); font-variant-numeric: tabular-nums; font-size: .85em; margin-left: .15rem; }
.modes a:hover { text-decoration: underline; }
.modes a[aria-current="true"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.modes .more { color: var(--muted); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: .55rem; font-size: .9rem; color: var(--ink-2); }
.filter-row label { display: inline-flex; align-items: center; gap: .4rem; }
.filter-row select { font-size: .9rem; padding: .25rem .4rem; }
.filter-row .sp { margin-left: auto; }
@media (max-width: 720px) { .filter-row .sp { margin-left: 0; } }

/* ---------- the list ---------- */
.count { color: var(--muted); font-size: .85rem; margin: .7rem 0 .3rem; }
.thead, .row { display: grid; grid-template-columns: 1.8rem 40px minmax(0, 1fr) 4.2rem 5.4rem 5rem minmax(0, 12.5rem) 5.6rem; gap: .75rem; align-items: center; }
.thead { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: .35rem .5rem; border-bottom: 1px solid var(--ink); }
.thead .r, .row .r { text-align: right; }
.list { list-style: none; margin: 0; padding: 0; }
.row { position: relative; padding: .7rem .5rem; border-bottom: 1px solid var(--rule); background: transparent; }
.row:hover { background: var(--hover); }
.row.off { color: var(--muted); }
.row.off .ico { opacity: .55; filter: grayscale(1); }
.rank { color: var(--faint); font-variant-numeric: tabular-nums; text-align: right; font-size: .9rem; }
.ico { width: 40px; height: 40px; flex: none; }
.ico img { width: 40px; height: 40px; object-fit: contain; image-rendering: auto; }
.mono { width: 40px; height: 40px; display: grid; place-items: center; background: var(--hover); border: 1px solid var(--rule); font-weight: 800; color: var(--muted); font-size: 1.05rem; }
.who { min-width: 0; }
.who .top { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .6rem; }
.name { font-weight: 750; font-size: 1.02rem; text-decoration: none; }
.name::after { content: ""; position: absolute; inset: 0; }
.row:hover .name { text-decoration: underline; }
.flag { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--accent); }
.flag.own { color: var(--own); border: 1px solid currentColor; padding: 0 .3rem; }
.motd { margin: .25rem 0; font-size: .8rem; line-height: 1.4; background: var(--motd-bg); color: #d4d4d4; padding: .12rem .45rem; width: fit-content; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 1px 1px 0 #000; }
.motd:empty { display: none; }
.meta { margin: 0; font-size: .8rem; color: var(--muted); }
.meta span + span::before { content: " \00B7  "; color: var(--faint); }
.players { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.2; }
.players b { display: block; font-size: 1.02rem; font-weight: 750; }
.players small { font-size: .75rem; color: var(--muted); }
.row.off .players b { font-weight: 500; font-size: .9rem; }
.spark { width: 100%; height: 24px; overflow: visible; }
.spark path { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark .base { stroke: var(--rule-2); stroke-width: 1; }
.row.off .spark path:not(.base) { stroke: var(--off); }
.addr { position: relative; z-index: 1; min-width: 0; display: flex; justify-content: flex-end; }
.copy { display: inline-flex; align-items: baseline; gap: .4rem; max-width: 100%; border: 1px solid var(--rule-2); background: var(--paper); border-radius: 2px; padding: .3rem .5rem; cursor: pointer; min-width: 0; text-align: left; }
.copy:hover { border-color: var(--ink); }
.copy code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-size: .82rem; }
.copy .port { font-family: var(--mono); font-size: .78rem; color: var(--own); white-space: nowrap; }
.copy .port.def { color: var(--faint); }
.copy .act { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.copy.done { border-color: var(--accent); }
.copy.done .act { color: var(--accent); }
.empty { color: var(--muted); padding: 2rem .5rem; border-bottom: 1px solid var(--rule); }
.empty button { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; }
.votes { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.2; }
.votes b { display: block; font-size: 1.02rem; font-weight: 750; }
.votes small { font-size: .75rem; color: var(--muted); }
.acts { position: relative; z-index: 1; display: flex; gap: .3rem; justify-content: flex-end; align-items: center; }
.vote-btn { border: 1px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 2px; padding: .32rem .7rem; font-weight: 700; cursor: pointer; font-size: .88rem; }
.vote-btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.save { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--rule-2); background: var(--paper); border-radius: 2px; padding: .28rem; cursor: pointer; color: var(--ink-2); font-size: .88rem; }
.save svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.save[aria-pressed="true"] { color: var(--own); border-color: var(--own); }
.save[aria-pressed="true"] svg { fill: currentColor; }
.save:hover { border-color: var(--ink); }
.flag.paid { color: var(--bg); background: var(--own); padding: 0 .3rem; }
@media (max-width: 980px) {
	.thead { display: none; }
	.row { grid-template-columns: 1.6rem 40px minmax(0, 1fr) 4rem 5.4rem; }
	.row .spark { display: none; }
	.addr { grid-column: 3 / 5; justify-content: flex-start; }
	.acts { grid-column: 5; }
}
@media (max-width: 560px) {
	.row { grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: .35rem .6rem; padding: .7rem .2rem; }
	.rank { display: none; }
	.ico, .players, .votes { align-self: start; }
	.addr { grid-column: 1 / 4; }
	.acts { grid-column: 4; }
	.copy { width: 100%; }
	.copy code { flex: 1; }
	.motd { white-space: normal; }
}

td.pre { white-space: pre-wrap; max-width: 28rem; }
tr.muted td { color: var(--faint); }
.sec.danger { margin-top: 2rem; border-top: 2px solid #b3261e; }
.sec.danger h2 { color: #b3261e; }
#my-wins li { align-items: center; }

/* owner banners (468x60, animated GIFs allowed) */
.banner { display: block; width: 100%; max-width: 468px; height: auto; aspect-ratio: 468 / 60; margin-top: .45rem; }
.s-banner { padding: .9rem 0 0; }
.s-banner .banner { margin: 0; }
.banner-edit { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.banner-edit .banner { margin: 0; }

/* filter dropdowns */
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; border: 1px solid var(--rule-2); background: var(--paper); border-radius: 2px; padding: .25rem .55rem; user-select: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); margin: 0 0 3px .5rem; }
.dd[open] summary { border-color: var(--ink); }
.dd .cnt { font-weight: 700; }
.dd .menu { position: absolute; z-index: 6; top: calc(100% + 4px); left: 0; min-width: 14rem; max-height: 22rem; overflow: auto; background: var(--paper); border: 1px solid var(--ink); padding: .5rem .6rem; display: grid; gap: .15rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.dd .menu label { display: flex; align-items: center; gap: .45rem; padding: .15rem 0; cursor: pointer; white-space: nowrap; }
.dd .menu .n { margin-left: auto; color: var(--faint); font-size: .8rem; padding-left: .8rem; }
.dd .menu .hint { margin: 0 0 .3rem; font-size: .78rem; color: var(--muted); white-space: normal; }

/* premium box */
.premium { margin-top: .9rem; }
.premium h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--own); margin: 0 0 .2rem; display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; }
.premium h2 small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; font-size: .82rem; }
.premium .list { border-top: 2px solid var(--own); }
.row.prem { background: color-mix(in srgb, var(--own) 6%, transparent); }
.empty-prem p { margin: 0; padding: .55rem .7rem; border: 1px dashed var(--rule-2); color: var(--muted); font-size: .88rem; }
.empty-prem b { color: var(--own); }

/* vote bar on server pages */
.votebar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.votebar p { margin: 0; margin-right: auto; font-size: 1rem; }
.votebar p b { font-size: 1.25rem; }
.votebar .vote-btn, .votebar .btn-solid { font-size: 1rem; padding: .55rem 1.2rem; }
.votebar .save { padding: .5rem .7rem; }

/* vote dialog */
dialog { border: 1px solid var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); padding: 1.2rem 1.3rem; width: min(26rem, 100% - 2rem); }
dialog::backdrop { background: rgba(0, 0, 0, .45); }
dialog h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
dialog label { display: grid; gap: .3rem; font-weight: 600; margin: .7rem 0; }
dialog input { font-size: 1rem; padding: .5rem .6rem; }
#vote-captcha { min-height: 66px; margin: .4rem 0; }
.dlg-actions { margin: .6rem 0 0; display: flex; gap: .5rem; }
.msg { min-height: 1.2em; font-size: .9rem; margin: .4rem 0; }
.msg.good { color: var(--accent); }
.msg.bad { color: #b3261e; }
@media (prefers-color-scheme: dark) { .msg.bad { color: #ff8a80; } }

/* forms on owner pages */
.code { font-family: var(--mono); font-size: 1.6rem; font-weight: 700; letter-spacing: .06em; background: var(--paper); border: 1px solid var(--ink); display: inline-block; padding: .3rem .8rem; margin: .3rem 0; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
fieldset { border: 1px solid var(--rule); padding: .5rem .7rem .6rem; margin: 0; }
legend { font-weight: 600; font-size: .9rem; padding: 0 .3rem; }
.checks { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.checks label { display: inline-flex !important; align-items: center; gap: .35rem; font-weight: 400 !important; }
.btn-small { padding: .15rem .5rem; font-size: .8rem; font-weight: 600; }
.page.wide { max-width: 980px; }
ul.plain { list-style: none; padding: 0; }
ul.plain li { padding: .45rem 0; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; }
ul.plain li .btn { margin-left: auto; }
form.owned { border-top: 2px solid var(--ink); padding-top: .6rem; margin-top: 1.4rem; }
form.owned h3 { margin: 0; }
code.key { word-break: break-all; }
.nav .add-link { font-weight: 700; color: var(--ink); }
#acct-link { border: 1px solid var(--ink); padding: .05rem .5rem; border-radius: 2px; color: var(--ink); }

/* MOTD colours (Minecraft section-sign codes, plus Bedrock's material colours g-v) */
.c0 { color: #4a4a4a; } .c1 { color: #4b4bff; } .c2 { color: #2fb32f; } .c3 { color: #1fb5b5; } .c4 { color: #d12a2a; } .c5 { color: #b03ab0; } .c6 { color: #ffaa00; } .c7 { color: #c6c6c6; }
.c8 { color: #7a7a7a; } .c9 { color: #6f6fff; } .ca { color: #55ff55; } .cb { color: #55ffff; } .cc { color: #ff5555; } .cd { color: #ff55ff; } .ce { color: #ffff55; } .cf { color: #ffffff; }
.cg { color: #ddd605; } .ch { color: #e3d4d1; } .ci { color: #cecaca; } .cj { color: #8a7b7c; } .cm { color: #c8301f; } .cn { color: #b4684d; } .cp { color: #deb12d; } .cq { color: #47a036; }
.cs { color: #2cbaa8; } .ct { color: #3f72c4; } .cu { color: #9a5cc6; } .cv { color: #eb7114; }
.fb { font-weight: 800; } .fi { font-style: italic; }

/* ---------- server page ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin: 1.2rem 0 .9rem; }
.crumbs a { color: var(--ink-2); }
.s-head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--ink); }
.s-head .ico, .s-head .ico img, .s-head .mono { width: 64px; height: 64px; }
.s-head .mono { font-size: 1.6rem; }
.s-head h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -.02em; line-height: 1.15; font-weight: 800; }
.s-head .sub { margin: .35rem 0 0; color: var(--ink-2); font-size: .93rem; display: flex; flex-wrap: wrap; gap: .2rem .9rem; align-items: baseline; }
.state { font-weight: 700; font-variant-numeric: tabular-nums; }
.state.on { color: var(--accent); }
.state.off { color: var(--muted); }
.s-head .motd { margin-top: .6rem; font-size: .9rem; white-space: normal; }
.cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 2.5rem; }
@media (max-width: 860px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.sec { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--rule); }
.sec h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .7rem; font-weight: 700; }
.sec h3 { font-size: .98rem; margin: 1rem 0 .3rem; }
.sec p { margin: .4rem 0; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; gap: .5rem; }
.field label { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.field .copy { width: 100%; padding: .5rem .6rem; justify-content: space-between; }
.field .copy code { font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: .9rem 0 .2rem; }
.tabs { display: flex; gap: 1.2rem; border-bottom: 1px solid var(--rule); margin: 1.2rem 0 .4rem; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: .4rem 0; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-weight: 600; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.steps { margin: .4rem 0 .6rem; padding-left: 1.3rem; }
.steps li { margin: .3rem 0; }
.method { padding: .2rem 0 .6rem; }
.method + .method { border-top: 1px dashed var(--rule); }
.method h3 .note { font-weight: 500; color: var(--muted); font-size: .85rem; margin-left: .4rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1.2rem; margin: .9rem 0 0; font-size: .93rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .area { fill: var(--ink); opacity: .07; }
.chart .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart .grid-l { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .downb { fill: var(--off); opacity: .18; }
.chart text { fill: var(--muted); font-size: 12.5px; font-family: var(--sans); }
.chart .tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); font-size: .78rem; padding: .15rem .4rem; white-space: nowrap; translate: -50% -130%; }
.chart .cursor { stroke: var(--muted); stroke-width: 1; vector-effect: non-scaling-stroke; }
.taglist { margin: .6rem 0; font-size: .9rem; color: var(--ink-2); }
.taglist a { color: var(--ink-2); }
.links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.source { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.source a { color: var(--ink-2); }
.notice { border-left: 3px solid var(--own); padding: .15rem 0 .15rem .8rem; color: var(--ink-2); font-size: .92rem; }

/* ---------- plain pages ---------- */
.page { max-width: 720px; }
.page h1 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); letter-spacing: -.02em; margin: 1.8rem 0 .7rem; line-height: 1.15; }
.page h2 { font-size: 1.12rem; margin: 2rem 0 .35rem; }
.page p, .page li { color: var(--ink-2); }
.page li { margin: .25rem 0; }
.page code { background: var(--hover); padding: .05rem .3rem; }
.page pre { background: var(--paper); border: 1px solid var(--rule); padding: .7rem .8rem; overflow-x: auto; font-size: .85rem; line-height: 1.5; }
.page pre code { background: none; padding: 0; }
.page table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: .6rem 0; }
.page th, .page td { text-align: left; border-bottom: 1px solid var(--rule); padding: .35rem .5rem .35rem 0; vertical-align: top; }
.page th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; border-bottom-color: var(--ink); }
.form { display: grid; gap: .8rem; margin-top: 1rem; }
.form label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; }
.form [disabled] { opacity: .55; cursor: not-allowed; }
.modes-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.modes-table td, .modes-table th { border-bottom: 1px solid var(--rule); padding: .55rem .6rem .55rem 0; text-align: left; vertical-align: baseline; }
.modes-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); border-bottom-color: var(--ink); }
.modes-table td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.modes-table a { font-weight: 700; }
.modes-table .d { color: var(--muted); font-size: .9rem; }
.toast { position: fixed; left: 50%; bottom: 1.2rem; translate: -50% 0; background: var(--ink); color: var(--bg); padding: .45rem .8rem; font-size: .9rem; opacity: 0; transition: opacity .15s; pointer-events: none; z-index: 20; }
.toast.show { opacity: 1; }

/* text under the list, for people and search engines */
.guide { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.guide h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.guide h3 { font-size: .95rem; margin: 1rem 0 .25rem; }
.guide p { color: var(--ink-2); font-size: .92rem; margin: .3rem 0; max-width: 62ch; }
.guide-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 2.5rem; }
@media (max-width: 760px) { .guide-cols { grid-template-columns: minmax(0, 1fr); } }
