/* lumus.pp.ua — «Как в игре» v2 (2026-10-22). Frames, fields and buttons are the client's own textures (surfaces.pck, version01);
   the quest journal uses the 2x HD texture and is drawn --k times larger than in the game. One static background: the 1.5.2
   login picture (surfaces\background.jpg). */
/* site fonts served locally (2026-10-22, tools/fonts-local.js; from Google Fonts, OFL) */
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/cormorant-sc-700-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/cormorant-sc-700-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/cormorant-sc-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/cormorant-sc-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Forum'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/forum-400-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Forum'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/forum-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Forum'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/forum-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Forum'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/forum-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/pt-sans-400-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/pt-sans-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/pt-sans-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/pt-sans-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/pt-sans-700-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/pt-sans-700-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/pt-sans-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/pt-sans-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
	--k: 1.25;                 /* quest journal scale (558x410 in the game) */
	--label: #ffd368;          /* login labels: 255,211,104 */
	--label-out: #422200;      /* their outline: 66,34,0 */
	--btn: #ffeeb5;            /* button text: 255,238,181 */
	--btn-out: #562712;        /* its outline: 86,39,18 */
	--input: #ffeec5;          /* account text: 255,238,197 */
	--text: #dfe6ec;
	--muted: #93a3b3;
	--ok: #8ff07a;
	--bad: #ff8a6a;
	--ink: #3b2412;            /* text on parchment */
	--ink-soft: #6b4a2a;
	--sys: #ffd23a;            /* system chat yellow */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; min-height: 100vh; background: #071320; color: var(--text);
	font: 15px/1.45 'PT Sans', Tahoma, sans-serif; overflow-x: hidden;
	padding-bottom: 76px; /* room for the bottom button bar */
}
a { color: #ffd98a; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #7fd8ff; outline-offset: 2px; }

/* outlined game text */
.out { text-shadow: -1px -1px 0 var(--o, #000), 1px -1px 0 var(--o, #000), -1px 1px 0 var(--o, #000), 1px 1px 0 var(--o, #000); }

/* ---------- background: the login picture, still ---------- */
.bg { position: fixed; inset: 0; z-index: -2; background: #071320; }
.bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.bg:after { content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(4,10,20,.62) 0, rgba(4,10,20,.12) 20%, rgba(4,10,20,0) 45%, rgba(4,10,20,.35) 78%, rgba(4,10,20,.88) 100%),
		radial-gradient(ellipse 80% 70% at 50% 42%, transparent 50%, rgba(3,8,16,.45) 100%); }

/* ---------- header: logo + minimap ---------- */
.top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 28px 0; min-height: 150px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 14px; }
/* the logo picture before LUMUS (user 2026-10-25; drawn to order, face lightened) */
.logo .mark { display: block; flex: none; width: auto; height: 96px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.55)); }
.logo .word { display: block; }
.logo b { display: block; font: 700 64px/1 'Cormorant SC', serif; letter-spacing: 4px;
	background: linear-gradient(180deg, #fffbe9 0%, #ffe08a 42%, #c07a22 52%, #ffd27a 78%, #fff0c2 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 2px 0 #3a1c04) drop-shadow(0 0 14px rgba(255,170,50,.5)); }
.logo small { display: block; margin: 4px 0 0 5px; font: 15px 'Forum', serif; letter-spacing: 3px; color: #e8c27a; text-shadow: 0 1px 2px #000; }

/* minimap frame (雷达框 259x141): name bar on the left, glass disc on the right */
.radar { position: relative; width: 259px; height: 141px; flex: none; text-decoration: none; color: inherit; }
.radar .map { position: absolute; left: 124px; top: 15px; width: 114px; height: 114px; border-radius: 50%; overflow: hidden;
	background: url(ui/map.webp) 50% 40% / cover; }
.radar .map:before { content: ""; position: absolute; inset: 0; border-radius: 50%; }
/* user 2026-10-26: «убери мерцающий радар на миникарте (только анимацию), не удаляй, а закомментируй» - the rotating sweep is off
.radar .map:before { background: conic-gradient(from 0deg, rgba(120,255,160,.38), transparent 26%); animation: sweep 4s linear infinite; }
*/
.radar .map:after { content: ""; position: absolute; left: 50%; top: 50%; border: 6px solid transparent; border-bottom: 15px solid #fff3b0;
	transform: translate(-50%, -62%) rotate(25deg); filter: drop-shadow(0 0 4px #ffcc33); }
.radar .frame { position: absolute; inset: 0; background: url(ui/radar.webp) no-repeat; pointer-events: none; }
.radar .name { position: absolute; left: 12px; top: 6px; width: 120px; font: 14px/1.2 'Forum', serif; color: #fff; --o: #0a1a24; }
.radar .xy { position: absolute; left: 14px; top: 25px; font-size: 11.5px; color: #cfe6f5; text-shadow: 0 1px 1px #000; }
.radar .pill { position: absolute; left: 150px; bottom: 2px; font: 700 12px/1 'PT Sans'; padding: 4px 9px; border-radius: 10px; white-space: nowrap;
	color: #122; background: linear-gradient(#b9ff9c, #4fbf3b); box-shadow: 0 0 0 1px #0a2a05, 0 0 12px rgba(120,255,90,.6); }
.radar.off .pill { color: #fff; background: linear-gradient(#ff9d8a, #b52a17); box-shadow: 0 0 0 1px #2a0805, 0 0 12px rgba(255,90,60,.6); }
.radar.off .map:before { animation: none; background: rgba(0,0,0,.35); }
.radar .host { position: absolute; right: 18px; top: 143px; font-size: 12px; color: #cdd8e2; text-shadow: 0 1px 2px #000; white-space: nowrap; }
/* @keyframes sweep { to { transform: rotate(360deg); } }   - the radar sweep, commented out 2026-10-26 (user) */

/* language switch under the minimap (user 2026-10-22: no flags, then «more visible, buttons in the site's style»): three buttons
   RU / EN / PT on one dark plate, drawn like the quest journal tabs (blue-grey gradient, thin frame); the current one has the
   gold frame and glow of the journal's selected quest */
.lang { position: absolute; right: 28px; top: 182px; display: flex; gap: 3px; padding: 3px; border-radius: 6px;
	background: linear-gradient(rgba(16,30,42,.88), rgba(8,16,24,.92)); box-shadow: 0 0 0 1px #3c5260, 0 0 0 2px rgba(0,0,0,.6), 0 6px 16px rgba(0,0,0,.45); }
.lang a { min-width: 46px; padding: 6px 10px 5px; border: 1px solid #4b6878; border-radius: 4px; text-align: center; text-decoration: none;
	font: 16px/1 'Forum', serif; letter-spacing: 1.5px; color: #c4d3dc; text-shadow: 0 1px 2px #000;
	background: linear-gradient(#2a4456, #142230); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: color .15s, border-color .15s, background .15s; }
.lang a:hover { color: #fff; border-color: #7fb0c8; background: linear-gradient(#35566b, #1a2c3b); }
.lang a.on { color: #ffd98a; border-color: #c9a24c; background: linear-gradient(#3a5a6e, #1d3140);
	text-shadow: 0 1px 2px #000, 0 0 8px rgba(255,190,70,.6); box-shadow: inset 0 1px 0 rgba(255,240,200,.15), 0 0 10px rgba(255,200,90,.35); }
.lang a:focus-visible { outline-offset: 1px; }

/* ---------- buttons ---------- */
/* login buttons (登陆按钮 105x31: blue, hover red, pressed dark) */
.lbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 120px; height: 34px; padding: 0 16px;
	border: 0 solid transparent; border-width: 0 13px; border-image: url(ui/lbtn.png) 0 13 fill / 0 13px stretch;
	background: none; cursor: pointer; text-decoration: none; white-space: nowrap;
	font: 700 14px/1 'PT Sans', sans-serif; color: var(--btn); --o: var(--btn-out); }
.lbtn:hover { border-image-source: url(ui/lbtn-h.png); }
.lbtn:active { border-image-source: url(ui/lbtn-d.png); }
.lbtn.big { height: 40px; min-width: 210px; font-size: 16px; }
.lbtn[disabled], .lbtn.off { filter: grayscale(1) brightness(.65); cursor: default; }
.lbtn small { font-weight: 400; opacity: .8; font-size: 12px; }
/* window buttons (按钮 69x24 teal) */
.wbtn { display: inline-flex; align-items: center; justify-content: center; height: 28px; min-width: 96px; padding: 0 12px;
	border: 0 solid transparent; border-width: 0 12px; border-image: url(ui/wbtn.png) 0 12 fill / 0 12px stretch;
	background: none; cursor: pointer; text-decoration: none; white-space: nowrap;
	font: 700 13px/1 'PT Sans', sans-serif; color: #eafcff; --o: #06262b; }
.wbtn:hover { border-image-source: url(ui/wbtn-h.png); }
.wbtn:active { border-image-source: url(ui/wbtn-d.png); }
.wbtn.off { border-image-source: url(ui/wbtn-x.png); color: #9aa; cursor: default; }

/* bottom button bar (地底框 728x51), like the login screen's row */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: center; }
.bar .in { width: 728px; max-width: 100%; height: 51px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px;
	background: url(ui/bottombar.png) center / 100% 100% no-repeat; }

/* window title (标题框 244x30 / 376x30) */
.titlebar { position: absolute; left: 50%; top: 0; transform: translateX(-50%); margin: 0; width: 244px; height: 30px;
	background: url(ui/title.png) no-repeat; text-align: center; font: 15px/30px 'Forum', serif; color: #fff2cf; --o: #12222e; padding-top: 1px; }

/* ---------- system message in the middle of the screen ---------- */
.sysmsg { text-align: center; font: 24px/1.3 'Forum', serif; color: #ffe066; --o: #000; margin: -6px 16px 16px; }
.sysmsg small { display: block; font: 14px 'PT Sans'; color: #fff; }

/* ---------- home: the quest journal alone ---------- */
.stage { display: flex; justify-content: center; align-items: flex-start; padding: 4px 16px 30px; }
@media (min-width: 1400px) {
	/* wide screens: the journal sits left of centre, the city of the picture stays in view on the right */
	.stage { justify-content: flex-start; padding-left: calc(50vw - 640px + 48px); }
}

/* quest log (任务信息 558x410 at --k, 2x texture) = how to start + what the server is */
.quests { position: relative; width: calc(558px * var(--k)); height: calc(410px * var(--k)); flex: none;
	background: url(ui/questlog2x.webp) no-repeat 0 0 / 100% 100%; filter: drop-shadow(0 18px 36px rgba(0,0,0,.55)); }
.quests .titlebar { top: calc(1px * var(--k)); width: calc(230px * var(--k)); height: calc(24px * var(--k)); background: none; padding: 0;
	font-size: calc(15px * var(--k)); line-height: calc(24px * var(--k)); }
.quests .tabs { position: absolute; left: calc(12px * var(--k)); top: calc(38px * var(--k)); width: calc(182px * var(--k)); display: flex; gap: 3px; }
.quests .tabs button { flex: 1; height: calc(22px * var(--k)); padding: 0; border: 1px solid #4b6878; border-bottom: 0; border-radius: 5px 5px 0 0; cursor: pointer;
	font: 700 calc(12px * var(--k)) 'PT Sans', sans-serif; color: #a9c0cc; background: linear-gradient(#22394a, #142230); }
.quests .tabs button:hover { color: #e6f3f8; }
.quests .tabs button[aria-selected="true"] { color: #fff; border-color: #7fb0c8; background: linear-gradient(#3a5a6e, #1d3140); text-shadow: 0 0 6px rgba(127,216,255,.55); }
.quests ul.list { position: absolute; left: calc(12px * var(--k)); top: calc(70px * var(--k)); width: calc(181px * var(--k)); height: calc(304px * var(--k));
	margin: 0; padding: calc(4px * var(--k)) 0; list-style: none; overflow: auto; scrollbar-width: thin; scrollbar-color: #6a8aa0 transparent; }
.quests li button { display: flex; gap: calc(6px * var(--k)); align-items: flex-start; width: 100%; padding: calc(5px * var(--k)) calc(6px * var(--k)); border: 0; background: none; cursor: pointer; text-align: left;
	font: calc(13px * var(--k)) / 1.3 'PT Sans', sans-serif; color: #e6edf2; }
.quests li button:hover { background: rgba(127,216,255,.08); }
.quests li button[aria-selected="true"] { background: linear-gradient(90deg, rgba(127,216,255,.25), rgba(127,216,255,.04)); color: #fff; box-shadow: inset 0 0 0 1px rgba(127,216,255,.35); }
.quests li i { flex: none; width: calc(14px * var(--k)); font: 700 calc(15px * var(--k)) / calc(17px * var(--k)) 'Forum', serif; color: #ffde3b; text-align: center; font-style: normal;
	text-shadow: 0 0 5px rgba(255,200,0,.8), 0 1px 0 #000; }
.quests li small { display: block; color: var(--muted); font-size: calc(11.5px * var(--k)); }
.paper { position: absolute; left: calc(212px * var(--k)); top: calc(48px * var(--k)); width: calc(322px * var(--k)); color: var(--ink); }
.paper section { position: absolute; left: 0; right: 0; overflow: hidden; }
.paper .s1 { top: 0; height: calc(140px * var(--k)); }
.paper .s2 { top: calc(152px * var(--k)); height: calc(82px * var(--k)); }
.paper .s3 { top: calc(247px * var(--k)); height: calc(74px * var(--k)); }
.paper h3 { margin: 0 0 calc(5px * var(--k)); font: calc(20px * var(--k)) / 1.15 'Forum', serif; color: #2e1204; text-shadow: 0 1px 0 rgba(255,240,200,.45); }
.paper h4 { margin: 0 0 calc(3px * var(--k)); font: 700 calc(12px * var(--k)) 'PT Sans'; color: #7a3c0a; text-transform: uppercase; letter-spacing: .5px; }
.paper p { margin: 0; font-size: calc(13.5px * var(--k)); line-height: 1.38; }
.paper code { font: calc(12.5px * var(--k)) Consolas, monospace; background: rgba(90,60,20,.12); padding: 0 3px; border-radius: 2px; }
.paper .act { margin-top: calc(6px * var(--k)); display: flex; gap: 8px; flex-wrap: wrap; }
.paper .reward { display: flex; gap: calc(10px * var(--k)); align-items: center; }
.paper .reward img { width: calc(36px * var(--k)); height: calc(36px * var(--k)); flex: none; }
.paper .reward p { font-size: calc(14px * var(--k)); }
.quests .foot { position: absolute; right: calc(22px * var(--k)); bottom: calc(7px * var(--k)); display: flex; gap: 8px; }
.quests .foot .wbtn { height: 26px; min-width: 90px; font-size: 12.5px; }
.quests .progress { position: absolute; left: calc(18px * var(--k)); bottom: calc(11px * var(--k)); font-size: calc(12px * var(--k)); color: #cfe6f5; text-shadow: 0 1px 1px #000; }

/* ---------- login window with vines (登陆框 377x256, fields erased) = registration ---------- */
.login { position: relative; width: 434px; max-width: 100%; margin: 0 auto; padding: 70px 70px 72px; isolation: isolate; }
.login:before { content: ""; position: absolute; inset: 0; z-index: -1; border: solid transparent; border-width: 184px 69px 64px;
	border-image: url(ui/loginframe.webp) 160 60 56 fill / 184px 69px 64px stretch; }
.login .server { text-align: center; font: 700 13px 'PT Sans'; color: var(--label); --o: var(--label-out); margin-bottom: 4px; }
.login .server b { color: var(--input); }
.login h1 { margin: 0 0 6px; text-align: center; font: 26px/1.1 'Forum', serif; color: #fff2cf; --o: #1a2230; }
.field { margin: 0 0 4px; text-align: center; }
.field label { display: block; font: 16px/1.4 'Forum', serif; color: var(--label); --o: var(--label-out); letter-spacing: .5px; }
.field label span { font: 12px "PT Sans"; color: #c9b88e; letter-spacing: 0; margin-left: 4px; text-shadow: 0 1px 1px #000; }
.edit { position: relative; height: 38px; border: 0 solid transparent; border-width: 0 18px; border-image: url(ui/field.png) 0 18 fill / 0 18px stretch; }
.edit input { width: 100%; height: 30px; margin-top: 2px; border: 0; background: transparent; outline: 0; text-align: center;
	font: 700 15px 'PT Sans', sans-serif; color: var(--input); letter-spacing: .5px; text-shadow: 0 1px 1px #000; }
.edit input::placeholder { color: #5f7d8e; font-weight: 400; }
.edit.bad { filter: drop-shadow(0 0 5px rgba(255,90,60,.9)); }
.edit.good { filter: drop-shadow(0 0 4px rgba(120,255,120,.5)); }
.edit:focus-within { filter: drop-shadow(0 0 6px rgba(80,190,255,.85)); }
.hint { min-height: 17px; font-size: 12.5px; line-height: 17px; color: var(--muted); }
.hint.bad { color: var(--bad); }
.hint.good { color: var(--ok); }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 700 13px 'PT Sans'; color: var(--label); --o: var(--label-out); user-select: none; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check i { width: 24px; height: 24px; background: url(ui/chk.png); }
.check input:checked + i { background-image: url(ui/chk-on.png); }
.check input:focus-visible + i { outline: 2px solid #7fd8ff; border-radius: 50%; }
.login .row { display: flex; justify-content: center; margin: 4px 0 2px; }
.login .go { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; }
.alert { margin: 4px 0 8px; padding: 6px 10px; text-align: center; font-size: 13.5px; color: #fff; background: rgba(120,20,10,.55); border: 1px solid rgba(255,120,90,.5); border-radius: 3px; }
/* registration step 1: sign-in buttons of the services (8.2b, ADR 0045) - a 2-column grid of equal buttons in each service's
   colour with its mark; an odd last button takes the whole row */
.tgstep { margin-bottom: 8px; }
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.signs[hidden] { display: none; }
.signbtn { display: flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 10px; border: 0; border-radius: 6px; cursor: pointer;
	font: 700 15px 'PT Sans', sans-serif; letter-spacing: .3px; color: #fff; text-decoration: none; text-shadow: 0 1px 1px rgba(0,0,0,.35);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 6px rgba(0,0,0,.55); transition: filter .15s, transform .15s; }
.signbtn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.signbtn:active { transform: translateY(0); filter: brightness(.95); }
.signbtn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.signbtn.off { cursor: default; filter: grayscale(.85) brightness(.62); opacity: .7; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 3px rgba(0,0,0,.4); }
.signbtn.off:hover, .signbtn.off:active { filter: grayscale(.85) brightness(.62); transform: none; }
.signbtn:before { content: ""; width: 20px; height: 20px; flex: none; background: center / contain no-repeat; }
.sign-tg { background: linear-gradient(#37aee2, #1e96c8); }
.sign-dc { background: linear-gradient(#6872f5, #4f5bd5); }
.sign-st { background: linear-gradient(#2a475e, #171a21); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px #66c0f4, 0 2px 6px rgba(0,0,0,.55); }
.sign-tw { background: linear-gradient(#a06bff, #7b3fe4); }
.sign-tg:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z'/%3E%3C/svg%3E"); }
.sign-st:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11.98 0C5.67 0 .5 4.86.02 11.04l6.44 2.66a3.37 3.37 0 0 1 1.9-.59h.19l2.86-4.15v-.06a4.53 4.53 0 1 1 4.53 4.53h-.1l-4.08 2.91v.16a3.4 3.4 0 0 1-6.73.68L.4 15.22A12 12 0 1 0 11.98 0zM7.54 18.21l-1.47-.61a2.55 2.55 0 1 0 1.4-3.5l1.52.63a1.88 1.88 0 1 1-1.45 3.48zm11.42-9.3a3.02 3.02 0 1 0-3.02 3.02 3.02 3.02 0 0 0 3.02-3.02zm-5.28 0a2.27 2.27 0 1 1 2.27 2.27 2.27 2.27 0 0 1-2.27-2.27z'/%3E%3C/svg%3E"); }
.sign-tw:before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11.57 4.71h1.72v5.15h-1.72zm4.72 0H18v5.15h-1.71zM6 0 1.71 4.29v15.42h5.15V24l4.28-4.29h3.43L22.29 12V0zm14.57 11.14-3.43 3.43h-3.43l-3 3v-3H6.86V1.71h13.71z'/%3E%3C/svg%3E"); }
.sign-dc:before { width: 22px; height: 17px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36'%3E%3Cpath fill='%23fff' d='M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.09C2.79 32.65-1.71 56.6.54 80.21a105.73 105.73 0 0 0 32.17 16.15 77.7 77.7 0 0 0 6.89-11.11 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.34 2.66-2a75.57 75.57 0 0 0 64.32 0c.87.71 1.76 1.39 2.66 2a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.1 105.25 105.25 0 0 0 32.19-16.14c2.64-27.38-4.51-51.11-18.9-72.15ZM42.45 65.69C36.18 65.69 31 60 31 53s5-12.74 11.43-12.74S54 46 53.89 53s-5.05 12.69-11.44 12.69Zm42.24 0C78.41 65.69 73.25 60 73.25 53s5-12.74 11.44-12.74S96.23 46 96.12 53s-5.04 12.69-11.43 12.69Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tgdone { margin: 4px auto 0; padding: 7px 12px; max-width: 280px; text-align: center; border-radius: 4px; font: 700 14px 'PT Sans';
	color: var(--input); background: rgba(10,30,45,.75); border: 1px solid #3f7f6a; box-shadow: 0 0 8px rgba(120,255,160,.25); text-shadow: 0 1px 1px #000; }
.tgdone:before { content: "✓ "; color: #7dff9e; }
.regmsg { margin: 26px 0 70px; text-align: center; font: 20px/1.3 'Forum', serif; color: #fff2cf; --o: #1a2230; }
.done { text-align: center; }
.done .acc { font: 700 22px 'PT Sans'; color: var(--input); margin: 2px 0 8px; text-shadow: 0 0 10px rgba(80,190,255,.6), 0 1px 1px #000; }
.done ol { text-align: left; margin: 6px 0 10px; padding-left: 20px; font-size: 14px; }
.done ol li { margin-bottom: 4px; }
.done .row { gap: 10px; flex-wrap: wrap; }

/* ---------- contact the administration (2026-10-22): the login window with a text area and the sender's messages ---------- */
.contact .login { width: 500px; }
.ctmode { display: flex; justify-content: center; gap: 4px; margin: 6px 0 8px; }
.ctmode button { padding: 4px 14px; border: 1px solid #4b6878; border-radius: 5px; cursor: pointer; font: 700 12.5px 'PT Sans', sans-serif;
	color: #a9c0cc; background: linear-gradient(#22394a, #142230); }
.ctmode button:hover { color: #e6f3f8; }
.ctmode button.on { color: #fff; border-color: #7fb0c8; background: linear-gradient(#3a5a6e, #1d3140); text-shadow: 0 0 6px rgba(127,216,255,.55); }
.edit input[type=date] { color-scheme: dark; }
textarea.area { display: block; width: 100%; min-height: 130px; resize: vertical; padding: 8px 10px; border: 1px solid #3c6274; border-radius: 4px; outline: 0;
	font: 14px/1.4 'PT Sans', sans-serif; color: var(--input); background: rgba(4,14,22,.85); box-shadow: inset 0 0 10px rgba(0,0,0,.6); }
textarea.area:focus { border-color: #7fd8ff; box-shadow: 0 0 6px rgba(80,190,255,.6), inset 0 0 10px rgba(0,0,0,.6); }
#ct-count { float: right; }
.ctlist { max-height: 52vh; overflow: auto; margin: 6px 0 64px; scrollbar-width: thin; scrollbar-color: #6a8aa0 transparent; text-align: left; }
.ctitem { margin-bottom: 10px; padding: 10px 12px; border-radius: 4px; color: var(--ink); background: linear-gradient(#e2d4b2, #d3c19a); box-shadow: inset 0 0 14px rgba(90,55,15,.4); }
.ctwhen { font-size: 11.5px; color: var(--ink-soft); }
.ctsubj { font: 17px/1.25 'Forum', serif; color: #2e1204; margin: 1px 0 4px; }
.cttext { white-space: pre-wrap; word-break: break-word; font-size: 13.5px; line-height: 1.4; }
.ctreply { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(60,30,0,.3); }
.ctreply b { display: block; font: 700 11.5px 'PT Sans'; color: #7a3c0a; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.ctreply.wait b { color: var(--ink-soft); text-transform: none; font-weight: 400; font-style: italic; }
.ctnone { text-align: center; color: var(--label); }

/* ---------- privacy policy (user 2026-10-22): the journal's frame + a parchment sheet, a link under every page ---------- */
.consent { margin: 6px 0 0; text-align: center; font-size: 12px; line-height: 1.35; color: var(--label); --o: var(--label-out); }
.consent a, .legal a { color: #9fdcff; text-decoration: none; border-bottom: 1px dotted rgba(159,220,255,.6); }
.consent a:hover, .legal a:hover { color: #fff; }
.legal { margin: 18px 0 0; text-align: center; font-size: 12px; text-shadow: 0 1px 2px #000; }
.doc { position: relative; width: 860px; max-width: calc(100% - 32px); margin: 18px auto 0; padding: 40px 14px 16px; border: 1px solid #6c8a96; border-radius: 6px;
	background: linear-gradient(#2d4654, #1d2f3b); box-shadow: 0 18px 36px rgba(0,0,0,.55); }
.doc .titlebar { top: -1px; }
.doc .sheet { padding: 22px 30px 26px; border-radius: 4px; color: var(--ink); font-size: 14px; line-height: 1.5;
	/* plain parchment: the journal texture tiles its frame over a long text */
	background: radial-gradient(ellipse at 30% 20%, rgba(255,248,225,.55), transparent 60%), radial-gradient(ellipse at 80% 85%, rgba(150,110,60,.18), transparent 55%), linear-gradient(#e2d4b2, #d3c19a);
	box-shadow: inset 0 0 26px rgba(90,55,15,.45), 0 0 0 1px #8a7048; }
.doc h2 { margin: 0 0 2px; text-align: center; font: 24px/1.2 'Forum', serif; color: #2e1204; text-shadow: 0 1px 0 rgba(255,240,200,.45); }
.doc .date { margin: 0 0 14px; text-align: center; font-size: 12.5px; color: var(--ink-soft); }
.doc h3 { margin: 18px 0 6px; font: 700 13px 'PT Sans'; color: #7a3c0a; text-transform: uppercase; letter-spacing: .5px; }
.doc p { margin: 0 0 8px; text-align: justify; hyphens: auto; }
.doc ul { margin: 0 0 8px; padding-left: 22px; }
.doc li { margin-bottom: 4px; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
	:root { --k: 1; }
	body { padding-bottom: 96px; font-size: 14px; }
	.doc { max-width: calc(100% - 20px); padding: 40px 8px 8px; }
	.doc .sheet { padding: 16px 14px 18px; font-size: 13.5px; }
	.doc p { text-align: left; }
	.top { padding: 12px 16px 0; min-height: 0; flex-direction: column; align-items: center; gap: 8px; }
	.logo { text-align: center; justify-content: center; gap: 10px; }
	.logo .mark { height: 68px; }
	.logo b { font-size: 48px; }
	.radar { display: none; }	/* user 2026-10-22: no minimap on phones (looks out of place); the status line under it stays */
	.lang { position: static; align-self: center; margin: 4px 0 12px; }
	.sysmsg { font-size: 20px; }
	/* the fixed-size game window becomes a flexible panel with the same colours */
	.stage { padding: 4px 10px 30px; }
	.quests { width: 100%; height: auto; background: none; filter: none; padding: 40px 12px 52px; border: 1px solid #6c8a96; border-radius: 6px; background: linear-gradient(#2d4654, #1d2f3b); }
	.quests .titlebar { background: url(ui/title.png) no-repeat; width: 244px; height: 30px; top: -1px; font-size: 15px; line-height: 30px; }
	.quests .tabs { position: static; width: auto; margin-bottom: 8px; }
	.quests ul.list { position: static; width: auto; height: auto; background: #12121e; border: 1px solid #3c5260; margin-bottom: 10px; }
	.paper { position: static; width: auto; padding: 14px; border-radius: 4px; background: #c9b896 url(ui/questlog2x.webp) -420px -110px / 900px auto; box-shadow: inset 0 0 18px rgba(60,30,0,.5); }
	.paper section, .paper .s1, .paper .s2, .paper .s3 { position: static; height: auto; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(60,30,0,.3); }
	.paper section:last-child { border: 0; margin: 0; }
	.bar .in { width: 100%; height: auto; flex-wrap: wrap; gap: 6px; padding: 8px; background: linear-gradient(90deg, rgba(4,10,16,.6), #04090f 20%, #04090f 80%, rgba(4,10,16,.6)); border-top: 1px solid #1d4b6a; }
	.bar .lbtn { min-width: 0; flex: 1 1 40%; height: 34px; font-size: 13px; }
	.login { padding: 64px 52px 70px; }
	.login:before { border-width: 160px 56px 56px; border-image-width: 160px 56px 56px; }
}
@media (prefers-reduced-motion: reduce) {
	.radar .map:before { animation: none; }
}
/* LUMUS 2026-10-24: Glagolitic (the 4th site language) - Shafarik (OFL, Slavonic Computing Initiative; chosen by the user 2026-10-24) for the Glagolitic letters only, under every site font */
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/shafarik-glagolitic-400.woff2) format('woff2'); unicode-range: U+2C00-2C5F, U+1E000-1E02F; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/shafarik-glagolitic-400.woff2) format('woff2'); unicode-range: U+2C00-2C5F, U+1E000-1E02F; }
@font-face { font-family: 'Forum'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/shafarik-glagolitic-400.woff2) format('woff2'); unicode-range: U+2C00-2C5F, U+1E000-1E02F; }
@font-face { font-family: 'Cormorant SC'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/shafarik-glagolitic-400.woff2) format('woff2'); unicode-range: U+2C00-2C5F, U+1E000-1E02F; }
