/* Mriya cabinet — frame in the style of the new mriya.pw (25.11.2026). Only the frame: background, left menu,
   top bar, logo (dark violet night, Mulish, gold accents). The central sheet and its blocks stay light, as in cabinet2.css
   (Serhii: «центральна інфа й блоки світлі, а боковушки й фон — наші»). Loaded after cabinet2.css on layout2.php pages. */
@font-face { font-family: Mulish; src: url("../v3/fonts/Mulish-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Mulish; src: url("../v3/fonts/Mulish-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Mulish; src: url("../v3/fonts/Mulish-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; 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; }


/* ---------- frame tokens (only for the menu and the top bar) ---------- */
.ui2 .side, .ui2 .top {
  --n-fg: #fff0f3; --n-fg2: #f4f1ec; --n-muted: #ada8b9; --n-line: rgba(255, 255, 255, 0.1); --n-line2: rgba(255, 255, 255, 0.16);
  --n-gold: #ffd964;
  --n-btn: linear-gradient(#ffe266 0%, #ffb627 48%, #ff8400 100%) padding-box, linear-gradient(#fff7d2 0%, #ffbe46 50%, #be5c00 100%) border-box;
  font-family: Mulish, Inter, system-ui, sans-serif;
}

/* ---------- page background: the site art, blurred and tinted night-violet ---------- */
body.ui2 {
  background: linear-gradient(180deg, rgba(10, 7, 18, 0.62), rgba(10, 7, 18, 0.8)) center / cover fixed, #0a0712 url("../v3/img/backdrop.webp") center top / cover fixed;
}
html:has(body.ui2) { background: #0a0712; }

/* ---------- left menu (like the site's lists: gold text + gold bar + violet tint when active) ---------- */
.ui2 .side { background: linear-gradient(180deg, rgba(16, 12, 26, 0.96), rgba(10, 7, 18, 0.98)); border-right: 1px solid var(--n-line); }
.ui2 .side-brand img { width: 176px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)); }
.ui2 .side-nav hr { border-top-color: var(--n-line); }
.ui2 .side-nav a { color: rgba(255, 240, 243, 0.84); font-weight: 600; border-radius: 10px; }
.ui2 .side-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.ui2 .side-nav a[aria-current] { background: linear-gradient(90deg, rgba(78, 59, 131, 0.38), rgba(78, 59, 131, 0.06)); box-shadow: inset 3px 0 0 #ffb627; color: var(--n-gold); }
.ui2 .side-help { color: var(--n-muted); }
.ui2 .side-help a { background: rgba(255, 255, 255, 0.05); border-color: var(--n-line2); color: var(--n-fg2); }
.ui2 .side-help a:hover { color: var(--n-gold); background: rgba(255, 255, 255, 0.09); }

/* ---------- top bar (like the site header: dark glass) ---------- */
.ui2 .top { background: rgba(10, 7, 18, 0.78); border-bottom: 1px solid var(--n-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ui2 .top-acc, .ui2 .top-acc strong { color: var(--n-fg); }
.ui2 .top-acc small { color: var(--n-muted); }
.ui2 .top-gold, .ui2 .top-bon { background: rgba(255, 255, 255, 0.06); border-color: var(--n-line2); color: var(--n-fg2); border-radius: 10px; }
.ui2 .top-gold b { color: var(--n-gold); }
.ui2 .top-gold:hover, .ui2 .top-bon:hover { border-color: rgba(255, 217, 100, 0.45); color: #fff; }
.ui2 .top-plus { background: var(--n-btn); border: 1px solid transparent; color: #3a1c00; border-radius: 10px; box-shadow: inset 0 1px rgba(255, 255, 255, 0.55), 0 10px 26px -12px rgba(255, 150, 0, 0.75); }
.ui2 .top-site { color: rgba(255, 240, 243, 0.82); }
.ui2 .top-site:hover { color: #fff; }
.ui2 .top-out button { background: rgba(255, 255, 255, 0.06); border-color: var(--n-line2); border-radius: 10px; }
.ui2 .top-out button:hover { border-color: rgba(255, 217, 100, 0.45); }
.ui2 .top-burger { color: var(--n-fg); }
@media (max-width: 900px) { .ui2 .side { box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7); } }

/* ---------- login / register: same night background, the form stays light ---------- */
body.ui2.is-guest { background: radial-gradient(ellipse at 50% 45%, rgba(10, 7, 18, 0.2), rgba(10, 7, 18, 0.78) 75%) center / cover fixed, #0a0712 url("../v3/img/hero-bg.webp") center / cover fixed; }
