/* DELION 31.10.2026: сайт в виде лаунчера «Кинокадр» -- картина на весь
   экран, стеклянная карточка, надписи металлом, синие самоцветы.
   Шрифты (OFL) лежат здесь же, в fonts/. */
/* основной шрифт кабинета — Manrope (05.11.2026, хозяин: «поставь нормальный шрифт»); Cinzel — только логотип */
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyr-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-lat-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyr-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-lat-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyr-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-lat-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyr-700.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-lat-700.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyr-800.woff2) format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-lat-800.woff2) format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel Decorative"; src: url(fonts/CinzelDecorative-Black.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Cormorant SC"; src: url(fonts/CormorantSC-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant SC"; src: url(fonts/CormorantSC-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(fonts/AlegreyaSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(fonts/AlegreyaSans-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --abyss: #040c1f;
  --steel: #0f3a78;
  --glacier: #5ab9ff;
  --rime: #d6e6fa;
  --moon: #9fb8d6;
  --kicker: #8ec8ff;
  --blood: #e06a6a;
  --ok: #6ee696;
  --glass: rgba(5, 15, 36, .72);
  --edge: rgba(90, 185, 255, .3);
}
* { box-sizing: border-box; }
html { background: var(--abyss); }
body {
  margin: 0; min-height: 100vh; color: var(--rime);
  font: 17px/1.5 "Manrope", "Segoe UI", sans-serif;
  background: var(--abyss);
  position: relative; overflow-x: hidden;
}
/* картина живёт: медленно приближается и отплывает */
.bg { position: fixed; inset: -3%; z-index: 0; pointer-events: none;
  background: url(img/bg.jpg) 62% 30% / cover no-repeat;
  animation: breathe 46s ease-in-out infinite alternate; will-change: transform; }
.bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,12,31,.94) 0%, rgba(4,12,31,.7) 34%, rgba(4,12,31,.18) 62%, rgba(4,12,31,.42) 100%),
    linear-gradient(0deg, rgba(4,12,31,.95) 0%, rgba(4,12,31,0) 38%),
    linear-gradient(180deg, rgba(4,12,31,.8) 0%, rgba(4,12,31,0) 18%);
}
@keyframes breathe { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.07) translate(-1.2%, -0.8%); } }
/* туман снизу плывёт вбок */
.fog { position: fixed; left: 0; right: 0; bottom: 0; height: 42vh; z-index: 0; pointer-events: none; overflow: hidden; opacity: .55; }
.fog::before, .fog::after { content: ""; position: absolute; bottom: -10%; left: 0; width: 200%; height: 120%;
  background:
    radial-gradient(40% 50% at 15% 70%, rgba(170,205,245,.22), transparent 70%),
    radial-gradient(35% 45% at 45% 80%, rgba(150,195,240,.18), transparent 70%),
    radial-gradient(45% 55% at 75% 75%, rgba(170,205,245,.2), transparent 70%);
  animation: fog 70s linear infinite; }
.fog::after { animation-duration: 110s; animation-direction: reverse; opacity: .7; }
@keyframes fog { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.snow { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
/* иней в углах экрана */
.frost { position: fixed; z-index: 0; width: 300px; height: 300px; pointer-events: none; opacity: .8;
  background: url(img/frost.png) 0 0 / contain no-repeat; }
.frost.tr { top: 0; right: 0; transform: scaleX(-1); }
.frost.bl { bottom: 0; left: 0; transform: scaleY(-1); width: 340px; height: 340px; }
.frost.br { bottom: 0; right: 0; transform: scale(-1, -1); width: 260px; height: 260px; }
/* «ледяной» текст, как в лаунчере: светлый верх, голубой низ, тень и свечение */
.ice, .intro p, .steps li, .gift span, label, .note, footer {
  background: linear-gradient(180deg, #fff 0%, #ecf5ff 48%, #b0d2f8 100%) 0 0 / 100% 1.5em repeat-y;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0,6,22,.85)) drop-shadow(0 0 6px rgba(80,170,255,.22));
}
label { background-image: linear-gradient(180deg, #dbe9fa 0%, #b9d2ee 55%, #8fb3df 100%); }
.gift b { color: #fff; -webkit-text-fill-color: #fff; }

.page { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 32px 48px; }

/* верх: логотип и разделы */
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.brand { display: inline-block; text-decoration: none; position: relative; line-height: 1; }
.brand b {
  font: 900 42px/1 "Cinzel Decorative", Georgia, serif; letter-spacing: .02em;
  background: linear-gradient(#fff 0%, #f2f8ff 30%, #b9d6f6 46%, #6f9fd8 52%, #d9eaff 64%, #fff 78%, #8db6e6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(70,170,255,.45)) drop-shadow(0 3px 2px rgba(0,8,28,.8));
}
nav { display: flex; gap: 28px; }
nav a {
  position: relative; color: var(--moon); text-decoration: none;
  font: 600 17.2px/1 "Manrope", "Segoe UI", sans-serif; padding: 6px 0;
}
nav a:hover { color: #fff; }
nav a.on { color: #fff; text-shadow: 0 0 12px rgba(90,185,255,.5); }
nav a.on::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, transparent, #78c8ff, transparent);
}
nav a.on::before {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 7px; height: 10px; margin-left: -3.5px;
  background: linear-gradient(#fff, var(--glacier)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 0 5px var(--glacier));
}

/* две колонки: слева о сервере, справа карточка с формой */
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: start; padding-top: 56px; }
.stage > * { min-width: 0; }
.intro { padding-top: 24px; max-width: 520px; }
.kicker { color: var(--kicker); font-weight: 500; font-size: 16px; margin: 0 0 10px; }
.intro h1 {
  margin: 0 0 16px; font: 700 44.3px/1.02 "Manrope", "Segoe UI", sans-serif;
  background: linear-gradient(#fff 0%, #e9f3ff 45%, #a9c9ef 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(70,170,255,.35)) drop-shadow(0 2px 2px rgba(0,8,28,.8));
}
.intro p { margin: 0 0 14px; max-width: 460px; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 14px 44px; counter-increment: s; color: var(--rime); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px;
  display: grid; place-items: center; font: 700 13.9px/1 "Manrope", "Segoe UI", sans-serif; color: #fff;
  border: 1px solid rgba(90,185,255,.55); border-radius: 50%; background: rgba(9,36,82,.6);
}
.gift {
  display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 14px 16px; max-width: 460px;
  border-radius: 12px; background: rgba(6,18,42,.6); border: 1px solid rgba(90,185,255,.22);
}
.gift i {
  flex: none; width: 14px; height: 20px; background: linear-gradient(#fff, #4fa8ff);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); filter: drop-shadow(0 0 6px var(--glacier));
}
.gift b { color: #fff; font-weight: 500; }

.card {
  position: relative; overflow: hidden; padding: 28px 30px 30px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--edge);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(160,215,255,.18);
}
.card::before, .card::after { content: ""; position: absolute; width: 170px; height: 170px; pointer-events: none; opacity: .75;
  background: url(img/frost.png) 0 0 / contain no-repeat; }
.card::before { top: 0; left: 0; }
.card::after { bottom: 0; right: 0; transform: scale(-1, -1); }
.card > * { position: relative; z-index: 1; }
.card h2 {
  margin: 0 0 6px; text-align: center; font: 700 24.6px/1.1 "Manrope", "Segoe UI", sans-serif;
  background: linear-gradient(#fff, #a9c9ef); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card .rule { position: relative; height: 12px; margin: 0 40px 22px; }
.card .rule::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1.5px;
  background: linear-gradient(90deg, transparent, #78c8ff, transparent); }
.card .rule::after { content: ""; position: absolute; left: 50%; top: 0; width: 8px; height: 12px; margin-left: -4px;
  background: linear-gradient(#fff, var(--glacier)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 0 5px var(--glacier)); }
.card h3 { margin: 26px 0 12px; font: 600 18px/1.2 "Manrope", "Segoe UI", sans-serif; color: #fff; }

label { display: block; margin-bottom: 16px; font-size: 15px; font-weight: 500; color: var(--moon); }
input[type=text], input[type=password], input[type=email] {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px;
  background: rgba(3,10,26,.75); border: 1px solid rgba(90,185,255,.28); border-radius: 10px;
  color: #fff; font: 17px/1.3 "Manrope", "Segoe UI", sans-serif;
  transition: border-color .15s, box-shadow .15s;
}
input:hover { border-color: rgba(90,185,255,.5); }
input:focus { outline: none; border-color: var(--glacier); box-shadow: 0 0 0 3px rgba(90,185,255,.22); }
.hint, .opt { display: block; margin-top: 5px; font-size: 13.5px; font-weight: 400; color: #7f98b8; }
.opt { display: inline; }

/* главная кнопка -- шестигранный самоцвет, как «Играть» */
button {
  position: relative; display: block; width: 100%; height: 58px; margin-top: 8px; border: 0; cursor: pointer;
  font: 700 20.5px/1 "Manrope", "Segoe UI", sans-serif; color: #fff; letter-spacing: .01em;
  text-shadow: 0 2px 3px rgba(0,10,40,.7);
  background: linear-gradient(#8fd0ff, #1a62c4);
  clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
  filter: drop-shadow(0 0 16px rgba(90,185,255,.45));
}
button::before {
  content: ""; position: absolute; inset: 2px; z-index: -1; clip-path: inherit;
  background: linear-gradient(#3fa2ff, #0d438f 70%, #0a3478);
}
button::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 3px; height: 40%; z-index: -1;
  background: linear-gradient(rgba(255,255,255,.32), rgba(255,255,255,0)); border-radius: 50%;
}
button { z-index: 0; isolation: isolate; }
button:hover::before { background: linear-gradient(#5ab6ff, #1250a6 70%, #0c3c88); }
button:focus-visible { outline: none; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 18px rgba(90,185,255,.7)); }

.err, .msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 16px; }
.err { background: rgba(80,20,28,.55); border: 1px solid rgba(224,106,106,.6); color: #ffc4c4; }
.msg { background: rgba(16,60,40,.55); border: 1px solid rgba(110,230,150,.5); color: #b9f2cc; }
.note { font-size: 15px; color: var(--moon); margin: 18px 0 0; text-align: center; }
.note a, .intro a { color: var(--kicker); text-decoration: none; border-bottom: 1px solid rgba(142,200,255,.4); }
.note a:hover, .intro a:hover { color: #fff; border-color: #fff; }

.info { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.info dt { font-size: 15px; color: var(--moon); }
.info dd { margin: 0; color: #fff; text-align: right; }
.info dd.wait { color: var(--kicker); }
.info dd.ok { color: var(--ok); }

footer { position: relative; z-index: 1; text-align: center; font-size: 14px; color: #6f86a6; padding: 0 16px 28px; }

@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; }
  .intro { padding-top: 0; }
  .intro h1 { font-size: 40px; }
  .bg { background-image: url(img/bg-small.jpg); }
  .frost { width: 180px; height: 180px; }
  .frost.bl { width: 200px; height: 200px; }
}
@media (max-width: 560px) {
  .page { padding: 0 16px 32px; }
  header { height: auto; padding: 18px 0 8px; flex-direction: column; gap: 10px; }
  .brand b { font-size: 34px; }
  nav { gap: 20px; }
  nav a { font-size: 19px; }
  .card { padding: 22px 18px 24px; }
  .steps { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.intro .kicker { background: none; color: var(--kicker); filter: none; }


/* ===== 04.11.2026 v3: кабинет после входа — раскладка alexdnepro (верхняя полоса, меню с группами, панели).
   Тёмная тема «Кинокадр» — здесь; светлая — theme-light.css поверх (body.t-light). ===== */
body.in { display: flex; flex-direction: column; }
.topbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px; background: rgba(3,9,24,.82); border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar .brand { display: flex; align-items: baseline; gap: 14px; }
.topbar .brand b { font-size: 30px; }
.topbar .brand span { color: var(--moon); font-size: 15px; }
.tb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.tbi { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px;
  background: rgba(10,30,66,.7); border: 1px solid var(--edge); color: var(--rime); font-size: 15px;
  text-decoration: none; cursor: default; white-space: nowrap; }
a.tbi, summary.tbi { cursor: pointer; }
a.tbi:hover, summary.tbi:hover { border-color: var(--glacier); color: #fff; }
.tbi svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.tbi.mail em { font-style: normal; font-size: 12px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--blood); color: #fff; text-align: center; }
.tbi.gold { color: #ffe3a3; border-color: rgba(255,210,120,.45); }
.tbi.gold i { width: 10px; height: 14px; background: linear-gradient(#fff3c4, #e0a93a);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); filter: drop-shadow(0 0 4px rgba(255,200,90,.7)); }
.dd { position: relative; }
.dd summary { list-style: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: "▾"; font-size: 12px; opacity: .8; }
.ddm { position: absolute; right: 0; top: 40px; min-width: 210px; padding: 6px; border-radius: 10px; z-index: 5;
  background: #071530; border: 1px solid var(--edge); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.ddm a, .ddm .ddb { display: block; width: 100%; padding: 8px 12px; border-radius: 6px; color: var(--rime); text-decoration: none;
  font: 15px/1.3 "Manrope", "Segoe UI", sans-serif; text-align: left; }
.ddm form { margin: 0; }
.ddm .ddb { height: auto; margin: 0; background: none; border: 0; clip-path: none; filter: none; text-shadow: none; cursor: pointer; }
.ddm .ddb::before, .ddm .ddb::after { display: none; }
.ddm a:hover, .ddm .ddb:hover { background: rgba(90,185,255,.12); color: #fff; }
.ddm .ddb.on { color: var(--glacier); }

.cab { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px;
  align-items: start; width: 100%; max-width: none; margin: 0; padding: 22px 24px 30px; }
.side { position: sticky; top: 16px; display: flex; flex-direction: column; padding: 8px 0 12px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.side .grp { padding: 14px 18px 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; color: #6f86a6; }
.side a { display: flex; align-items: center; gap: 11px; padding: 9px 18px; text-decoration: none; color: var(--moon);
  font: 500 16.5px/1.2 "Manrope", "Segoe UI", sans-serif; border-left: 3px solid transparent; }
.side a svg { width: 18px; height: 18px; flex: none; opacity: .9; }
.side a:hover { color: #fff; background: rgba(90,185,255,.07); }
.side a.on { color: #fff; background: linear-gradient(90deg, rgba(63,162,255,.25), rgba(63,162,255,.03)); border-left-color: var(--glacier); }

.main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.panel { border-radius: 12px; background: var(--glass); border: 1px solid var(--edge); overflow: hidden;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.panel > header { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(40,100,180,.22), rgba(40,100,180,.05));
  font: 700 17.2px/1.2 "Manrope", "Segoe UI", sans-serif; color: #fff; }
.panel > header svg { width: 19px; height: 19px; color: var(--glacier); }
.pbody { padding: 18px; }
.pbody .panel { box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6,18,42,.55); margin-top: 16px; }
.pbody .panel > header { font-size: 18px; padding: 10px 16px; }
.pbody h3 { margin: 22px 0 10px; font: 600 17.2px/1.2 "Manrope", "Segoe UI", sans-serif; color: #fff; }

.hello { margin: 0 0 6px; font: 600 19.7px/1.2 "Manrope", "Segoe UI", sans-serif; color: #fff; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 12.5px; font-weight: 500; color: #fff; background: #2a6ebd; margin-right: 6px; }
.tag.red { background: #b83b3b; }
.hint2 { margin: 3px 0; font-size: 14.5px; color: var(--moon); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { padding: 14px 16px; border-radius: 10px; background: rgba(6,18,42,.6); border: 1px solid rgba(90,185,255,.22);
  display: flex; flex-direction: column; gap: 4px; }
.tile span { font-size: 14.5px; color: var(--moon); }
.tile b { font: 700 19.7px/1.15 "Manrope", "Segoe UI", sans-serif; color: #fff; }
.tile small { font-size: 13.5px; color: #7f98b8; }
.ok { color: var(--ok) !important; }
.bad { color: var(--blood) !important; }
.wait { color: var(--kicker) !important; }

.pick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-radius: 10px; background: rgba(3,10,26,.5); border: 1px solid rgba(90,185,255,.18); }
.pick form { margin: 0; }
.pick button { display: inline-flex; align-items: center; gap: 7px; width: auto; height: 36px; margin: 0; padding: 0 14px;
  clip-path: none; filter: none; border-radius: 8px; font: 500 15.5px/1 "Manrope", "Segoe UI", sans-serif; text-shadow: none;
  background: rgba(10,30,66,.85); border: 1px solid var(--edge); color: var(--rime); }
.pick button::before, .pick button::after { display: none; }
.pick button img { width: 22px; height: 22px; border-radius: 50%; }
.pick button.on { background: #2f8a4c; border-color: #6ee696; color: #fff; }

.roles { display: grid; gap: 12px; }
.roles.mini { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.role { position: relative; display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px;
  background: rgba(6,18,42,.6); border: 1px solid rgba(90,185,255,.22); color: var(--rime); text-decoration: none; }
a.role:hover { border-color: rgba(90,185,255,.55); }
.role img { border-radius: 10px; border: 1px solid rgba(90,185,255,.35); background: #061226; object-fit: cover; flex: none; }
.role span { display: flex; flex-direction: column; min-width: 0; }
.role span b { color: #fff; font-weight: 500; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role small { color: var(--moon); font-size: 14px; }
.role em { font-style: normal; font-size: 12.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; }
.roles.mini .role em { position: absolute; top: 8px; right: 10px; }
em.on { color: var(--ok); }
em.bad { color: var(--blood); }
.role.big { align-items: flex-start; padding: 16px; gap: 18px; scroll-margin-top: 20px; }
.rinfo { flex: 1; min-width: 0; }
.rinfo h4 { margin: 0 0 8px; font: 700 21.3px/1.1 "Manrope", "Segoe UI", sans-serif; color: #fff; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rinfo dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; font-size: 15.5px; }
.rinfo dt { color: var(--moon); }
.rinfo dd { margin: 0; color: #fff; }
.svcs { display: flex; flex-direction: column; gap: 8px; width: 210px; flex: none; }
.svc { margin: 0; }
button.small { height: 42px; margin: 0; font-size: 17px; white-space: nowrap; }
button:disabled { cursor: not-allowed; filter: grayscale(.85) brightness(.6); }
.warn { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; background: rgba(70,52,10,.5);
  border: 1px solid rgba(255,205,110,.5); color: #ffe3a3; font-size: 15.5px; }
.note.left { text-align: left; }
.last { margin: 0; font-size: 15px; color: var(--moon); }
.last p { margin: 4px 0; }
.last a { color: var(--kicker); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cols .panel { margin-top: 0; }
.tbl { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; color: var(--moon); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid rgba(90,185,255,.3); }
.tbl td { padding: 8px 10px; border-bottom: 1px solid rgba(90,185,255,.1); color: var(--rime); }
.tbl tr:hover td { background: rgba(90,185,255,.05); }
textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; min-height: 80px; resize: vertical;
  background: rgba(3,10,26,.75); border: 1px solid rgba(90,185,255,.28); border-radius: 10px; color: #fff; font: 15px/1.4 "Manrope", "Segoe UI", sans-serif; }
body.in footer { padding: 0 16px 20px; }

@media (max-width: 960px) {
  .cab { grid-template-columns: 1fr; padding: 14px 16px 24px; }
  .side { position: static; flex-direction: row; flex-wrap: wrap; padding: 6px; }
  .side .grp { display: none; }
  .side a { padding: 8px 10px; font-size: 15px; border-left: 0; border-radius: 8px; }
  .tiles, .cols { grid-template-columns: 1fr; }
  .role.big { flex-wrap: wrap; }
  .svcs { width: 100%; }
  .topbar { flex-wrap: wrap; padding: 10px 16px; }
  .topbar .brand span { display: none; }
}
@media (max-width: 560px) {
  .pbody { padding: 14px; }
}
/* старые общие правила header/nav (страница регистрации) не должны цеплять кабинет */
body.in header.topbar, body.in .panel > header { height: auto; }
body.in .panel > header { justify-content: flex-start; }
body.in nav.side { gap: 0; }
body.in .side a { position: static; }
body.in .side a.on::before, body.in .side a.on::after { content: none; display: none; }
/* этап 2: монеты */
.tbi.coins { color: var(--rime); }
.tbi.coins b { color: #8fd0ff; font-weight: 500; }
.tbi.coins b.bn { color: #b9f2cc; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
b.coin { color: #8fd0ff !important; }
b.bonus { color: #b9f2cc !important; }
@media (max-width: 960px) { .tiles.two { grid-template-columns: 1fr; } }

/* промокод */
form.inl { display: flex; gap: 10px; align-items: stretch; max-width: 560px; }
form.inl input[type=text] { margin: 0; flex: 1; }
form.inl button { width: auto; padding: 0 22px; margin: 0; }

/* капча-картинка */
.cap { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.cap img { border-radius: 8px; border: 1px solid rgba(90,185,255,.35); }
.cap a { font-size: 26px; text-decoration: none; color: var(--kicker); }

/* магазин (этап 3): вкладки разделов, карточки товаров, окно покупки */
.shoptabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.shoptabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(90,185,255,.28); color: var(--rime); text-decoration: none; font-size: 15px; background: rgba(3,10,26,.5); }
.shoptabs a small { color: var(--moon); margin-left: 4px; }
.shoptabs a:hover { border-color: var(--glacier); }
.shoptabs a.on { background: #1a62c4; border-color: #8fd0ff; color: #fff; }
.goods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 16px; }
.good { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px;
  background: rgba(6,18,42,.72); border: 1px solid rgba(90,185,255,.22); color: var(--rime); text-decoration: none; }
a.good:hover { border-color: var(--glacier); }
.gtop { display: flex; gap: 10px; align-items: center; min-width: 0; }
.gtop > div { display: flex; flex-direction: column; min-width: 0; }
.gicon { width: 48px; height: 48px; flex: none; image-rendering: pixelated; border-radius: 6px; border: 1px solid rgba(90,185,255,.35); background: #061226; }
.gname { font-weight: 500; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.gtop small { color: var(--moon); font-size: 13px; }
.gtag { position: absolute; top: -7px; right: 8px; font: 700 11px/1 "Manrope", "Segoe UI", sans-serif; font-style: normal; padding: 3px 7px; border-radius: 4px; color: #fff; letter-spacing: .04em; }
.gtag.new { background: #2f8a4c; }
.gtag.hot { background: #c0392b; }
.gprice { font: 700 18px/1 "Manrope", "Segoe UI", sans-serif; margin-top: auto; }
.gprice.coin, small.coin { color: #8fd0ff; }
.gprice.bonus, small.bonus { color: #b9f2cc; }
.gdesc summary, .gbuy > summary { cursor: pointer; list-style: none; }
.gdesc summary { color: var(--kicker); font-size: 13.5px; }
.gdesc div { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: #b9c9de; max-height: 220px; overflow: auto; }
.gbuy > summary::-webkit-details-marker, .gdesc summary::-webkit-details-marker { display: none; }
.gbuy > summary { display: inline-block; padding: 8px 18px; border-radius: 8px; background: linear-gradient(#3fa2ff, #0d438f); color: #fff; font-weight: 700; text-align: center; }
.gbuy[open] > summary { background: #0a2f66; }
.gbuy form { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.gbuy label { font-size: 14px; }
.gbuy input[type=number], .gbuy select { display: block; width: 100%; margin-top: 4px; padding: 7px 10px; border-radius: 8px;
  background: rgba(3,10,26,.75); border: 1px solid rgba(90,185,255,.28); color: #fff; font: 16px/1.3 "Manrope", "Segoe UI", sans-serif; }
.gbuy .chk { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.gbuy .giftto { display: none; }
.gbuy form.isgift .giftto { display: block; }
.gbuy form.isgift .forme { display: none; }
.gsum { margin: 2px 0; font-size: 15px; }
.goods.mini { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0; }
@media (max-width: 560px) { .goods { grid-template-columns: 1fr; } }

/* значки (05.11.2026): контурные, один набор для меню, заголовков и верхней полосы */
svg.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* защита от DDoS — компактная полоса на главной */
.ddos { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 10px 0 14px; border-radius: 10px;
  background: rgba(60,20,10,.45); border: 1px solid rgba(255,150,90,.35); }
.ddos.on { background: rgba(10,40,24,.5); border-color: rgba(110,230,150,.35); }
.ddos-i { width: 26px; height: 26px; flex: none; fill: none; stroke: #ffb27a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ddos.on .ddos-i { stroke: var(--ok); }
.ddos-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.ddos-t b { font-weight: 700; color: #fff; }
.ddos-t span { color: var(--rime); }
.ddos-t details summary { cursor: pointer; color: var(--kicker); font-size: 13px; width: max-content; }
.ddos-t details p { margin: 6px 0 0; color: #b9c9de; font-size: 13.5px; }
.ddos form { margin: 0; flex: none; }
.ddos button.small { height: 36px; font-size: 14px; padding: 0 14px; width: auto; }
@media (max-width: 560px) { .ddos { flex-wrap: wrap; } .ddos form { width: 100%; } .ddos button.small { width: 100%; } }

/* достижения */
.achs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ach { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; background: rgba(6,18,42,.6); border: 1px solid rgba(90,185,255,.22); }
.ach.done { border-color: rgba(110,230,150,.45); }
.ach-h b { color: #fff; font-size: 16px; }
.ach small { color: var(--moon); font-size: 13.5px; }
.bar { height: 6px; border-radius: 3px; background: rgba(90,185,255,.15); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #1a62c4, #5ab9ff); }
.ach.done .bar i { background: var(--ok); }
.ach form { margin: 4px 0 0; }
.ach button.small { height: 34px; font-size: 14px; width: auto; padding: 0 16px; }
a.btn-link { display: inline-block; padding: 8px 16px; border-radius: 8px; background: linear-gradient(#3fa2ff, #0d438f); color: #fff; text-decoration: none; font-weight: 700; }

/* топ и график онлайна */
.shoptabs.small a { padding: 4px 11px; font-size: 13.5px; }
tr.me td { background: rgba(90,185,255,.12); }
img.ci { vertical-align: middle; border-radius: 50%; }
svg.chart { width: 100%; height: auto; display: block; margin-top: 8px; }
svg.chart .gl { stroke: rgba(90,185,255,.18); stroke-width: 1; }
svg.chart text { fill: var(--moon); font: 11px "Manrope", sans-serif; }
svg.chart .ln { fill: none; stroke: #5ab9ff; stroke-width: 2; stroke-linejoin: round; }
svg.chart .ar { fill: rgba(90,185,255,.15); stroke: none; }

/* платные услуги персонажа */
.paidsvc { grid-column: 1 / -1; margin-top: 6px; }
.paidsvc summary { cursor: pointer; color: var(--kicker); font-weight: 600; }
.paidsvc form.paid { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 0; }
.paidsvc form.paid input[type=text], .paidsvc form.paid input[type=password] { flex: 1 1 220px; margin: 0; padding: 8px 12px; font-size: 15px; }
.paidsvc form.paid button.small { width: auto; height: 38px; font-size: 14.5px; padding: 0 14px; }

/* админ-раздел */
.admf { margin: 0 0 12px; }
.admgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 14px; margin-bottom: 10px; }
.admgrid label { font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.admgrid label.chk { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.admgrid label small { color: var(--moon); font-size: 12.5px; }
.admgrid select, .admf select, form.inl select { padding: 8px 10px; border-radius: 8px; background: rgba(3,10,26,.75); border: 1px solid rgba(90,185,255,.28); color: #fff; font: 15px "Manrope", sans-serif; }
.admf label.p2 { display: inline-flex; flex-direction: column; font-size: 14px; margin-right: 10px; }
.admf button.small, form.inl button.small { width: auto; height: 38px; font-size: 14.5px; padding: 0 16px; }
.admf.row1 { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.admf.row1 label.p2 { flex-direction: row; }
.admf.row1 label.p2 input { width: 120px; margin: 0; padding: 6px 8px; font-size: 13px; }
.admf.row1 button.small { height: 30px; font-size: 13px; padding: 0 10px; }
form.inl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
form.inl input[type=text] { flex: 1 1 220px; margin: 0; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 6px; }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bars i { display: block; width: 100%; background: linear-gradient(#5ab9ff, #1a62c4); border-radius: 3px 3px 0 0; }
.bars small { font-size: 10.5px; color: var(--moon); margin-top: 3px; }

/* значки ГМ и администратора */
.tbi.role { font-weight: 800; letter-spacing: .04em; font-size: 12.5px; }
.tbi.role.gm { color: #ffd36b; border-color: rgba(255,211,107,.55); }
.tbi.role.adm { color: #ff9a8a; border-color: rgba(255,154,138,.55); }
.tag.gm { background: #b8860b; }

/* значки: контурные в «Кинокадре», Silk в светлой теме */
img.si { display: none; }

/* ===== карточки товаров как у alexdnepro (05.11.2026): тёмная плитка, всё по центру ===== */
.goods { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.good { align-items: center; text-align: center; gap: 6px; padding: 12px 10px 10px; border-radius: 3px;
  background: linear-gradient(#2e2e2e, #121212); border: 2px solid #050505; box-shadow: 0 0 0 1px #4a4a4a inset, 0 2px 6px rgba(0,0,0,.4); color: #eee; }
.good .gicon { width: 32px; height: 32px; border: 1px solid #555; border-radius: 2px; background: #000; image-rendering: auto; }
.good .gname { position: relative; font: 700 15px/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif; text-shadow: 0 1px 2px #000; }
.gtip { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); z-index: 20; width: 300px; margin-top: 6px; padding: 8px 10px;
  background: rgba(0,0,0,.95); border: 1px solid #666; border-radius: 4px; color: #ddd; font: 400 12.5px/1.45 Arial, sans-serif; text-align: left; text-shadow: none; }
.gname:hover .gtip, .gname:focus .gtip { display: block; }
.grow { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; margin-top: 4px; padding-top: 8px; border-top: 1px solid #333; }
.gqty { display: inline-flex; align-items: center; gap: 4px; }
.gqty b { color: #ffd84a; font: 700 13px Arial, sans-serif; min-width: 44px; }
.good button.q, .good .gbtns button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font: 700 12px/1 Arial, sans-serif; }
.good button.q { width: 20px; height: 20px; border-radius: 3px; background: linear-gradient(#fff, #d6d6d6); color: #333; border: 1px solid #999; }
.good button.q:disabled { opacity: .45; cursor: default; }
.good .gprice { margin: 0; font: 700 14px Arial, sans-serif; display: inline-flex; align-items: center; gap: 3px; }
.good .gprice.coin { color: #ffd36b; }
.good .gprice.bonus { color: #b9f2cc; }
.gbtns { display: inline-flex; gap: 4px; }
.good .gbtns .buy { height: 22px; padding: 0 9px; border-radius: 3px; color: #fff; background: linear-gradient(#5cb85c, #419641); border: 1px solid #3e8f3e; }
.good .gbtns .buy:hover { background: #449d44; }
.good .gbtns .gift { width: 26px; height: 22px; border-radius: 3px; background: linear-gradient(#d9534f, #c12e2a); border: 1px solid #b92c28; }
.good .gbtns .gift img { filter: brightness(1.15); }
.gnote { color: #999; font: 11.5px Arial, sans-serif; }
i.cn { display: inline-block; width: 13px; height: 13px; flex: none; vertical-align: -2px; margin-right: 2px; background: url(img/silk/coins.png) center / contain no-repeat; }
i.cn.bn { filter: hue-rotate(85deg) saturate(.8); }
/* NEW / HOT ITEM — синяя звёздочка-печать в углу */
.gtag { top: -9px; right: -8px; left: auto; width: 40px; height: 40px; padding: 0; display: flex; align-items: center; justify-content: center;
  font: 800 9px/1 Arial, sans-serif; text-align: center; color: #fff; transform: rotate(-18deg); border-radius: 0; text-shadow: 0 1px 1px rgba(0,0,0,.6);
  clip-path: polygon(50% 0, 59% 12%, 73% 5%, 76% 20%, 91% 19%, 87% 33%, 100% 40%, 90% 51%, 100% 62%, 87% 69%, 91% 83%, 76% 82%, 73% 97%, 59% 89%, 50% 100%, 41% 89%, 27% 97%, 24% 82%, 9% 83%, 13% 69%, 0 62%, 10% 51%, 0 40%, 13% 33%, 9% 19%, 24% 20%, 27% 5%, 41% 12%); }
.gtag.new { background: radial-gradient(#7ec8f0, #2c8dc9); }
.gtag.hot { background: radial-gradient(#7ec8f0, #2c8dc9); left: -8px; right: auto; font-size: 7.5px; }
.goods.mini { grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); justify-content: center; }
a.good { text-decoration: none; }
/* разделы магазина — крупные красные кнопки по центру */
.shoptabs.secs { justify-content: center; }
/* окно выбора персонажа */
dialog.buydlg { border: 0; border-radius: 6px; padding: 26px 30px 22px; min-width: 340px; max-width: 520px; background: #fff; color: #333; box-shadow: 0 10px 40px rgba(0,0,0,.5); text-align: center; }
dialog.buydlg::backdrop { background: rgba(0,0,0,.55); }
dialog.buydlg .dt { margin: 0 0 8px; font: 700 17px/1.3 "Helvetica Neue", Arial, sans-serif; color: #333; }
dialog.buydlg .dwhat { margin: 0 0 16px; padding: 6px 10px; background: #fdf3e6; font: 700 15px Arial, sans-serif; color: #3a5bd0; }
dialog.buydlg select, dialog.buydlg input[type=text], dialog.buydlg input[type=password] { display: block; width: 240px; margin: 0 auto 12px; padding: 7px 10px; border: 1px solid #888; border-radius: 4px; background: #fff; color: #333; font: 15px Arial, sans-serif; }
dialog.buydlg .giftto { display: none; }
dialog.buydlg.isgift .giftto { display: block; }
dialog.buydlg.isgift .forme { display: none; }
dialog.buydlg .dbtns { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
dialog.buydlg .dbtns button { all: unset; cursor: pointer; padding: 9px 18px; border-radius: 4px; color: #fff; font: 16px Arial, sans-serif; }
dialog.buydlg .dbtns .ok { background: #4a80d0; }
dialog.buydlg .dbtns .cancel { background: #777; }
ul.notes { margin: 4px 0 16px 18px; padding: 0; }

.good .gbtns span.buy { display: inline-flex; align-items: center; font: 700 12px Arial, sans-serif; }
/* неотправленные письма — тёмные карточки */
.mails { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.mailc { flex: 0 1 340px; display: flex; flex-direction: column; text-align: center; border-radius: 3px; color: #eee;
  background: linear-gradient(#2e2e2e, #121212); border: 2px solid #050505; box-shadow: 0 0 0 1px #4a4a4a inset; font: 13.5px Arial, sans-serif; }
.mailc > div { padding: 8px 10px; border-bottom: 1px solid #333; }
.mailc .mh { display: flex; align-items: center; justify-content: center; gap: 6px; font: 700 16px Arial, sans-serif; color: #fff; }
.mailc .mh img { border: 1px solid #555; }
.mailc .mr { font-weight: 700; }
.mailc .mr span { color: #ffd84a; }
.mailc .mr.small { font-weight: 400; font-size: 12px; color: #aaa; }
.mailc form { padding: 8px; margin: 0; }
.mailc .resend { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 3px; color: #fff; background: linear-gradient(#428bca, #2d6ca2); border: 1px solid #2b669a; font: 13px Arial, sans-serif; }
.credits { font-size: 11px; opacity: .6; }
.credits a { color: inherit; }

/* меню: значки NEW / БОНУС, «Возникли вопросы?» */
.side a { position: relative; }
.mbadge { margin-left: auto; font: 800 10px/1 Arial, sans-serif; font-style: normal; color: #fff; padding: 3px 5px; border-radius: 3px; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }
.mbadge.new { background: radial-gradient(#444, #000); border-radius: 50%; width: 24px; height: 24px; padding: 0; justify-content: center; font-size: 7px;
  clip-path: polygon(50% 0, 61% 14%, 79% 9%, 79% 27%, 96% 32%, 86% 50%, 96% 68%, 79% 73%, 79% 91%, 61% 86%, 50% 100%, 39% 86%, 21% 91%, 21% 73%, 4% 68%, 14% 50%, 4% 32%, 21% 27%, 21% 9%, 39% 14%); }
.mbadge.bonus { background: #222; color: #fff; }
.mbadge.bonus i.cn { width: 10px; height: 10px; }
.side .help { padding: 14px 16px 6px; font-size: 13px; color: var(--moon); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.side .help a { color: var(--kicker); }
.tbi.mail { position: relative; }
.tbi.mail em { position: absolute; top: -6px; right: -6px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: #d9534f; color: #fff; font: 700 10px/16px Arial, sans-serif; font-style: normal; text-align: center; }
.tbi i.cn { margin: 0 1px 0 4px; }
.bars div { max-width: 36px; }
.bars { justify-content: flex-start; }
.side .help img.si, .side .help svg { flex: none; }

/* настройки ЛК: вкладки и таблица как у alexdnepro */
.navtabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(90,185,255,.3); margin: 0 0 14px; }
.navtabs a { padding: 9px 14px; margin-bottom: -1px; color: var(--kicker); text-decoration: none; font-size: 14px; border: 1px solid transparent; border-radius: 4px 4px 0 0; }
.navtabs a.on { color: #fff; border-color: rgba(90,185,255,.3) rgba(90,185,255,.3) transparent; background: rgba(6,18,42,.8); }
table.settab { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
table.settab th, table.settab td { border: 1px solid rgba(90,185,255,.18); padding: 6px 10px; vertical-align: middle; }
table.settab th { width: 30%; text-align: center; font-size: 15px; }
table.settab td.c { width: 270px; text-align: center; }
table.settab td.c input[type=text], table.settab td.c select { width: 220px; margin: 0 auto; padding: 5px 8px; }
table.settab code { font: 11.5px/1.5 Consolas, "Courier New", monospace; color: #e0697a; background: rgba(255,255,255,.04); border: 1px solid rgba(224,105,122,.25); padding: 1px 4px; border-radius: 3px; }
label.sw { position: relative; display: inline-flex; width: 96px; height: 28px; border-radius: 4px; overflow: hidden; cursor: pointer; border: 1px solid #888; vertical-align: middle; }
label.sw input { position: absolute; opacity: 0; pointer-events: none; }
label.sw span { flex: 1; display: flex; align-items: center; justify-content: center; font: 700 14px Arial, sans-serif; }
label.sw .on { background: linear-gradient(#5b9bd5, #337ab7); color: #fff; }
label.sw .off { background: linear-gradient(#fff, #e6e6e6); color: #999; }
label.sw input:not(:checked) ~ .on { background: linear-gradient(#fff, #e6e6e6); color: transparent; }
label.sw input:not(:checked) ~ .off { background: linear-gradient(#999, #777); color: #fff; }
label.sw input:focus-visible ~ .on { outline: 2px solid #66afe9; }
.setform { text-align: center; }
.setform > button.small { background: linear-gradient(#444, #222); border: 1px solid #111; }
/* донат */
.donform { display: grid; grid-template-columns: max-content 170px; gap: 8px 14px; align-items: center; margin-bottom: 12px; }
.donform label { display: contents; font-size: 13.5px; }
.donform input { margin: 0; padding: 5px 8px; }
.paybtns { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: rgba(255,255,255,.04); border-radius: 3px; margin-bottom: 10px; }
.paybtns .pay { all: unset; padding: 7px 12px; border-radius: 3px; color: #fff; font: 13.5px Arial, sans-serif; background: linear-gradient(#428bca, #2d6ca2); border: 1px solid #2b669a; opacity: .7; cursor: not-allowed; }
.req { color: #d9534f; }
p.fine { font-size: 12.5px; font-style: italic; color: var(--moon); }
.setform > button.small { display: block; margin: 4px auto 0; }

i.cn.bn { filter: grayscale(1) brightness(1.25) contrast(1.1); }
b.coin, b.bonus, .gprice b { white-space: nowrap; }

.paidsvc form.paid select { flex: 1 1 260px; }
.paidsvc label.inlab { display: inline-flex !important; align-items: center; gap: 6px; font-size: 13px; }
.paidsvc label.inlab input { width: 80px !important; }
.tbi.gold img.si { margin-right: 4px; }

.ddm .ddb.off { opacity: .55; display: block; padding: 8px 14px; font-size: 14px; }
.ddm span.ddb { display: block; padding: 8px 14px; }
a.tbi { text-decoration: none; cursor: pointer; }
.copyrow { display: flex; gap: 8px; align-items: center; }

/* ровные таблицы: пары «название — значение» и сетки с фиксированными колонками */
table.kv { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
table.kv th, table.kv td { padding: 7px 10px; border: 1px solid rgba(90,185,255,.18); text-align: left; vertical-align: middle; }
table.kv th { width: 18%; font-weight: 700; white-space: nowrap; }
table.grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.grid th, table.grid td { padding: 6px 10px; text-align: left; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.grid td.num, table.grid th.num { text-align: center; }
table.grid td.name { white-space: nowrap; }
.muted { opacity: .65; }
.donform output { font-weight: 700; padding: 5px 0; }
.paybtns .pay.on { opacity: 1; cursor: pointer; }
.paybtns .pay.on:hover { background: #2d6ca2; }

form.acclock { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; padding: 8px 12px; border: 1px solid rgba(90,185,255,.2); border-radius: 6px; }
form.acclock button.small { width: auto; }

/* страницы без входа (вид alexdnepro) */
body.guest .guestwrap { max-width: 780px; margin: 36px auto 24px; padding: 0 16px; }
body.guest .glogo { text-align: center; margin: 0 0 16px; }
body.guest .glogo b { display: block; font: 900 42px/1 "Cinzel Decorative", Georgia, serif; letter-spacing: .02em; }
body.guest .glogo span { display: block; margin-top: 6px; font-size: 13px; opacity: .7; }
body.guest .gpanel > header { letter-spacing: .03em; }
body.guest .gintro { margin: 0 0 10px; }
body.guest .gnote { margin: 0 0 16px; padding: 10px 16px; border-radius: 4px; font-size: 13.5px; }
body.guest .gnote ol { margin: 6px 0 6px 20px; padding: 0; }
body.guest .gnote p { margin: 4px 0 0; }
body.guest .ghelp { text-align: center; margin: 14px 0 0; font-size: 13.5px; display: flex; justify-content: center; align-items: center; gap: 5px; }
body.guest p.note { text-align: center; margin: 14px 0 0; }
body.guest p.note.left { text-align: left; margin: 0 0 12px; }

/* шапка как у alexdnepro: флажок, ссылка на сайт */
i.flag { display: inline-block; width: 20px; height: 13px; vertical-align: -2px; border: 1px solid rgba(0,0,0,.25); border-radius: 1px; }
i.flag.ru { background: linear-gradient(#fff 0 33.3%, #1c57a6 33.3% 66.6%, #d52b1e 66.6%); }
.tbi.lang { padding-left: 10px; padding-right: 10px; }
.topbar .tolink { color: #9d9d9d; font-size: 14px; text-decoration: none; margin-left: 22px; align-self: center; }
.topbar .tolink:hover { color: #fff; }
.ddm a { display: flex; align-items: center; gap: 6px; }
/* кнопки персонажей на главной — маленькие, с круглым значком */
.pick { padding: 10px; }
.pick button { height: 30px; padding: 0 10px; font-size: 14px; gap: 5px; }
.pick button img { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.35); }
.refbox { margin-top: 12px; }
/* магазин: кнопки администратора на карточке */
.gadm { position: absolute; top: -9px; left: 8px; display: flex; gap: 3px; }
.gadm .ga { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 18px; padding: 0 5px; border-radius: 9px; font: 700 11px Arial, sans-serif; text-decoration: none; color: #fff; border: 1px solid rgba(0,0,0,.4); }
.gadm .ga.e { background: linear-gradient(#f0ad4e, #eb9316); }
.gadm .ga.e img { width: 13px; height: 13px; }
.gadm .ga.n { background: linear-gradient(#7bbbe6, #4a90c8); cursor: default; }
.good .gtag.hot { left: auto; right: -8px; }

/* донат */
.dn-lead { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 14px; border-radius: 4px; font-size: 15px; line-height: 1.5; }
.dn-lead img.si, .dn-lead svg { flex: none; margin-top: 3px; }
.dn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.dn-tile { padding: 12px 14px; border-radius: 4px; display: flex; flex-direction: column; gap: 3px; }
.dn-tile span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; opacity: .75; }
.dn-tile b { font: 700 22px/1.2 Arial, sans-serif; }
.dn-tile small { font-size: 12.5px; opacity: .8; }
.pbody h3 { font-size: 15px; margin: 16px 0 8px; }
.dn-levels { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.dn-level { position: relative; min-width: 120px; padding: 8px 12px; border-radius: 4px; display: flex; flex-direction: column; text-align: center; }
.dn-level b { font: 700 18px Arial, sans-serif; }
.dn-level span { font-size: 12px; opacity: .8; }
.dn-level em { position: absolute; top: -8px; right: -6px; font: 700 10px Arial; font-style: normal; padding: 2px 6px; border-radius: 9px; background: #5cb85c; color: #fff; }
.dn-bar { height: 10px; margin: 6px 0; }
.dn-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.dn-quick button { min-width: 90px; }
.dn-sum { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 16px; align-items: start; margin: 0 0 14px; }
.dn-sum label { display: flex !important; flex-direction: column; gap: 6px; font-weight: 700; text-align: left !important; grid-template-columns: none !important; }
.dn-sum input { font-size: 20px !important; height: 44px !important; font-weight: 700; }
.dn-calc { padding: 10px 14px; border-radius: 4px; font-size: 14px; line-height: 1.6; }
.dn-calc .t { font-weight: 700; font-size: 17px; margin-top: 2px; }
.dn-calc .s { font-size: 12.5px; opacity: .75; }
.dn-calc .e { color: #d9534f; font-weight: 700; }
.dn-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin: 0 0 8px; border-radius: 4px; }
.dn-grp { flex: 0 0 100%; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; opacity: .75; }
.paybtn { min-width: 150px; font-weight: 700 !important; }
@media (max-width: 760px) { .dn-tiles, .dn-sum { grid-template-columns: 1fr; } }
/* проценты бонуса — простым жирным текстом, без подложки */
b.pct { color: #3c9a3c; font-size: 15px; }
.tag.ok { color: #fff; font-weight: 700; }
/* Топ 100: значения под заголовками (заголовки .tbl в темах по центру); имена — слева */
body .tbl table.toptab th, body .tbl table.toptab td { text-align: center; }
body .tbl table.toptab th.l, body .tbl table.toptab td.l { text-align: left; }
body .tbl table.toptab th:first-child { width: 44px; }
/* Топ 100: вкладки со значками и своим цветом (уровень — синий, время — зелёный, репутация — золото, кланы — фиолет) */
.toptabs a img, .clstabs a img { vertical-align: -3px; margin-right: 6px; }
.clstabs a img { vertical-align: -5px; margin-right: 5px; }
html body .shoptabs.toptabs a { font-weight: 700; border-width: 1px 1px 3px; }
html body .shoptabs.toptabs a.k-level { border-color: #3a8ee6; color: #5aa7ff; }
html body .shoptabs.toptabs a.k-played { border-color: #3fae5a; color: #5cc977; }
html body .shoptabs.toptabs a.k-rep { border-color: #d99a1e; color: #e8b13a; }
html body .shoptabs.toptabs a.k-clans { border-color: #9064d6; color: #ad86ec; }
html body .shoptabs.toptabs a.k-level.on { background: linear-gradient(#4a9cf0, #2a6fc0); color: #fff; }
html body .shoptabs.toptabs a.k-played.on { background: linear-gradient(#4fbf6a, #2e8a45); color: #fff; }
html body .shoptabs.toptabs a.k-rep.on { background: linear-gradient(#f0b53c, #b97c10); color: #fff; }
html body .shoptabs.toptabs a.k-clans.on { background: linear-gradient(#a27ae6, #6c45b0); color: #fff; }
html body .shoptabs.toptabs a:hover { filter: brightness(1.15); }
.clsn { white-space: nowrap; }
.clsn img { vertical-align: -5px; margin-right: 6px; }
/* Топ 100: первая тройка — золото, серебро, бронза */
.toptab .rk { display: inline-block; min-width: 24px; height: 24px; line-height: 24px; border-radius: 50%; font-weight: 700; font-size: 13px; }
html body .tbl table.toptab tr.r1 .rk { background: radial-gradient(circle at 35% 30%, #fff3b0, #f2c230 45%, #a87a08); color: #3a2a00; box-shadow: 0 0 8px rgba(242,194,48,.7); }
html body .tbl table.toptab tr.r2 .rk { background: radial-gradient(circle at 35% 30%, #ffffff, #c9d1dc 45%, #7d8794); color: #222a33; box-shadow: 0 0 6px rgba(201,209,220,.55); }
html body .tbl table.toptab tr.r3 .rk { background: radial-gradient(circle at 35% 30%, #ffd9b0, #d08a4a 45%, #8a4f1c); color: #2e1700; box-shadow: 0 0 6px rgba(208,138,74,.55); }
html body .tbl table.toptab tr.r1 td { background: rgba(242,194,48,.13); font-weight: 700; }
html body .tbl table.toptab tr.r2 td { background: rgba(201,209,220,.09); font-weight: 700; }
html body .tbl table.toptab tr.r3 td { background: rgba(208,138,74,.11); font-weight: 700; }
html body .tbl table.toptab tr.r1 td:first-child { box-shadow: inset 3px 0 #f2c230; }
html body .tbl table.toptab tr.r2 td:first-child { box-shadow: inset 3px 0 #c9d1dc; }
html body .tbl table.toptab tr.r3 td:first-child { box-shadow: inset 3px 0 #d08a4a; }
/* Топ 100: значки вкладок (SVG в цвет вкладки) */
.toptabs a .tki { width: 17px; height: 17px; vertical-align: -3px; margin-right: 7px; }
/* Топ 100: пьедестал первой тройки */
.podium { display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin: 18px 0 22px; padding-top: 26px; }
.pod { position: relative; width: 190px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pod.p1 { width: 220px; }
.pod .crown { width: 46px; height: 28px; fill: #f2c230; filter: drop-shadow(0 0 6px rgba(242,194,48,.8)); margin-bottom: -4px; }
.pod .pic { position: relative; width: 92px; height: 92px; margin-bottom: 12px; }
.pod.p1 .pic { width: 118px; height: 118px; }
.pod .pic > img:first-child, .pod .pic .flag { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--pc); box-shadow: 0 0 18px var(--pg); background: #1b1f25; }
.pod .pic .flag svg { width: 54%; height: 54%; color: var(--pc); }
.pod .pcls { position: absolute; left: -4px; bottom: 2px; width: 30px; height: 30px; }
.pod .medal { position: absolute; right: -10px; bottom: -12px; width: 34px; height: 44px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.pod.p1 .medal { width: 40px; height: 52px; }
.medal .rib { fill: #c0392b; }
.medal .disc { fill: var(--pc); }
.medal .ring { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
.medal text { font: 700 15px Arial, sans-serif; fill: #2a1d00; }
.pod .nm { font-size: 16px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod.p1 .nm { font-size: 19px; }
.pod .val { font-size: 13.5px; opacity: .85; margin-top: 2px; }
.pod .cl { font-size: 12px; opacity: .6; margin-top: 1px; }
.pod .step { width: 100%; margin-top: 10px; border-radius: 6px 6px 0 0; display: flex; align-items: flex-start; justify-content: center;
  background: linear-gradient(var(--pc), var(--pd)); box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 6px 14px rgba(0,0,0,.35); }
.pod .step span { font: 700 34px/1 Georgia, serif; color: rgba(0,0,0,.35); text-shadow: 0 1px 0 rgba(255,255,255,.35); margin-top: 10px; }
.pod.p1 { --pc: #f2c230; --pd: #a87a08; --pg: rgba(242,194,48,.55); }
.pod.p2 { --pc: #c9d1dc; --pd: #7d8794; --pg: rgba(201,209,220,.45); }
.pod.p3 { --pc: #d08a4a; --pd: #8a4f1c; --pg: rgba(208,138,74,.45); }
.pod.p1 .step { height: 96px; }
.pod.p2 .step { height: 68px; }
.pod.p3 .step { height: 48px; }
.pod.p2 .medal text, .pod.p3 .medal text { fill: #1f242b; }
@media (max-width: 700px) { .podium { gap: 8px; } .pod, .pod.p1 { width: 31%; } .pod .pic { width: 64px; height: 64px; } .pod.p1 .pic { width: 80px; height: 80px; } .pod .nm { font-size: 13px; } }

/* значки кланов (атлас клиента 16x16, увеличение без размытия) — для старых тем */
.gico { display: inline-block; flex: none; vertical-align: middle; image-rendering: auto; border-radius: 3px; }
.gname2 { display: inline-flex; align-items: center; gap: 8px; }

/* 17.11.2026: on phones the language list opened to the left of the flag and went off the screen */
.ddm { max-width: calc(100vw - 24px); }
@media (max-width: 760px) {
  .ddlang .ddm { right: auto; left: 0; z-index: 50; background: #071530 !important; }
}

/* 17.11.2026: the top bar (with the language and account lists) above the page content, the big titles drew over the open list */
.topbar { z-index: 100 !important; }
