:root{
  --scale:.94;
  --bg:#10071f;
  --bg2:#1c0833;
  --panel:rgba(24,13,43,.92);
  --panel2:rgba(35,18,62,.94);
  --line:rgba(195,139,255,.22);
  --line2:rgba(125,72,211,.42);
  --text:#f5edff;
  --muted:#bdaed5;
  --soft:#8f7ca9;
  --accent:#b85cff;
  --accent2:#6fdbff;
  --green:#67f6b1;
  --red:#ff668c;
  --yellow:#ffd76f;
  --shadow:0 24px 70px rgba(0,0,0,.42);
  --radius:24px;
  --radius2:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.forum-page{
  margin:0;
  min-height:100vh;
  font-family:'Exo 2',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 15% 10%,rgba(151,75,255,.34),transparent 26%),
    radial-gradient(circle at 85% 18%,rgba(58,205,255,.18),transparent 23%),
    linear-gradient(135deg,#0b0616 0%,#140724 35%,#2d0c4a 70%,#12071f 100%);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.lc-bg-cubes{position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.8;background-image:linear-gradient(30deg,rgba(255,255,255,.03) 12%,transparent 12.5%,transparent 87%,rgba(255,255,255,.03) 87.5%,rgba(255,255,255,.03)),linear-gradient(150deg,rgba(255,255,255,.03) 12%,transparent 12.5%,transparent 87%,rgba(255,255,255,.03) 87.5%,rgba(255,255,255,.03)),linear-gradient(30deg,rgba(255,255,255,.03) 12%,transparent 12.5%,transparent 87%,rgba(255,255,255,.03) 87.5%,rgba(255,255,255,.03)),linear-gradient(150deg,rgba(255,255,255,.03) 12%,transparent 12.5%,transparent 87%,rgba(255,255,255,.03) 87.5%,rgba(255,255,255,.03));background-size:84px 147px;background-position:0 0,0 0,42px 74px,42px 74px}.lc-bg-cubes:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(184,92,255,.14) 1px,transparent 1px),linear-gradient(0deg,rgba(184,92,255,.1) 1px,transparent 1px);background-size:42px 42px;mask-image:radial-gradient(circle at center,black 0%,transparent 72%)}
.lc-topbar{width:min(1220px,calc(100% - 28px));margin:18px auto 0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(31,15,56,.92),rgba(15,8,29,.9));box-shadow:var(--shadow);position:sticky;top:12px;z-index:20;backdrop-filter:blur(12px)}
.lc-brand{display:flex;align-items:center;gap:10px;min-width:190px}.lc-brand__mark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#c65cff,#6824ff 55%,#35d6ff);font-weight:900;box-shadow:0 0 30px rgba(184,92,255,.45)}.lc-brand b{display:block;font-size:17px;letter-spacing:.3px}.lc-brand small{display:block;color:var(--muted);font-size:11px;margin-top:1px}.lc-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center}.lc-nav a{padding:9px 12px;border-radius:13px;color:#d8c9ef;font-size:13px;font-weight:800;letter-spacing:.04em}.lc-nav a:hover,.lc-nav a.is-active{background:rgba(184,92,255,.2);color:#fff;box-shadow:inset 0 0 0 1px rgba(184,92,255,.25)}.lc-userbar{display:flex;align-items:center;justify-content:flex-end;min-width:150px}.lc-userchip{display:flex;align-items:center;gap:8px;max-width:190px;padding:6px 9px;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid var(--line)}.lc-userchip span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-shell{width:min(1180px,calc(100% - 28px));margin:24px auto 34px;transform:scale(var(--scale));transform-origin:top center}.lc-hero{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow)}.lc-hero--banner{min-height:290px;padding:22px;background:linear-gradient(135deg,rgba(17,21,38,.16),rgba(60,36,120,.14)),url("forum-home-banner.png") center/cover no-repeat,linear-gradient(135deg,rgba(36,13,69,.96),rgba(18,8,31,.94) 55%,rgba(42,11,68,.96))}.lc-hero--banner:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,13,24,.08) 0%,rgba(12,13,24,.04) 46%,rgba(12,13,24,.66) 100%);pointer-events:none}.lc-hero__grid{position:relative;display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;z-index:1}.lc-hero__grid--banner{min-height:246px;grid-template-columns:1fr}.lc-hero__spacer{min-height:150px}.lc-hero__bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:auto}.lc-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lc-actions--hero{margin-top:0}.lc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:15px;border:1px solid transparent;background:linear-gradient(135deg,#b85cff,#6931ff);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 14px 32px rgba(104,49,255,.25);transition:.18s transform,.18s border-color,.18s background}.lc-btn:hover{transform:translateY(-1px)}.lc-btn--ghost{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.20);box-shadow:none;color:#fff;backdrop-filter:blur(6px)}.lc-btn--danger{background:linear-gradient(135deg,#ff668c,#b22654)}.lc-btn--small{padding:8px 11px;font-size:13px;border-radius:12px}.lc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;min-width:330px}.lc-stats--hero{min-width:330px}.lc-stat{padding:16px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);text-align:center;backdrop-filter:blur(8px)}.lc-stat b{display:block;font-size:28px}.lc-stat span{display:block;color:rgba(255,255,255,.82);font-size:12px;font-weight:700;margin-top:3px}.lc-grid{display:grid;grid-template-columns:1fr 330px;gap:18px;margin-top:18px}.lc-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);overflow:hidden}.lc-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(255,255,255,.045),transparent)}.lc-panel__head h2,.lc-panel__head h1{margin:0;font-size:21px}.lc-panel__body{padding:18px}.lc-category-list{display:grid;gap:12px;padding:14px}.lc-category-card{display:grid;grid-template-columns:54px 1fr auto;gap:14px;align-items:center;padding:15px;border-radius:19px;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.035));border:1px solid rgba(195,139,255,.16);transition:.18s transform,.18s border-color,.18s background}.lc-category-card:hover{transform:translateY(-2px);border-color:rgba(184,92,255,.45);background:linear-gradient(135deg,rgba(184,92,255,.16),rgba(255,255,255,.04))}.lc-category-card__icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(184,92,255,.28),rgba(87,214,255,.12));border:1px solid var(--line);overflow:hidden}.lc-category-card__icon img{width:34px;height:34px;object-fit:contain}.lc-category-card h3{margin:0 0 5px;font-size:19px}.lc-category-card p{margin:0;color:var(--muted);line-height:1.35}.lc-category-meta{display:flex;gap:10px;align-items:center;color:var(--soft);font-size:13px;white-space:nowrap}.lc-topic-list{display:grid;gap:10px;padding:14px}.lc-topic-row{display:grid;grid-template-columns:1fr auto;gap:14px;padding:15px;border:1px solid rgba(195,139,255,.16);border-radius:18px;background:rgba(255,255,255,.045)}.lc-topic-row:hover{border-color:rgba(184,92,255,.45);background:rgba(184,92,255,.09)}.lc-topic-row__main{min-width:0}.lc-topic-title{display:flex;align-items:center;gap:8px;min-width:0}.lc-topic-title a{font-size:18px;font-weight:900;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lc-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:#decfff;font-size:12px;font-weight:800;white-space:nowrap}.lc-badge--pin{color:#ffd76f;border-color:rgba(255,215,111,.35)}.lc-badge--lock{color:#ff9fb6;border-color:rgba(255,102,140,.35)}.lc-topic-excerpt{margin:7px 0 0;color:var(--muted);line-height:1.4}.lc-topic-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:9px;color:var(--soft);font-size:13px}.lc-topic-stats{display:flex;align-items:center;gap:8px}.lc-topic-stat{min-width:68px;text-align:center;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:rgba(0,0,0,.14)}.lc-topic-stat b{display:block;font-size:16px}.lc-topic-stat span{font-size:11px;color:var(--muted)}.lc-sidebar{display:grid;gap:18px;align-content:start}.lc-mini-list{display:grid;gap:10px}.lc-mini-item{padding:12px;border-radius:15px;border:1px solid rgba(195,139,255,.14);background:rgba(255,255,255,.045)}.lc-mini-item b{display:block;margin-bottom:4px}.lc-mini-item span{color:var(--muted);font-size:13px}.lc-form{display:grid;gap:14px}.lc-field{display:grid;gap:7px}.lc-field label{font-weight:900;color:#efe5ff}.lc-input,.lc-textarea,.lc-select{width:100%;border:1px solid var(--line);border-radius:16px;background:rgba(7,3,16,.65);color:var(--text);padding:12px 14px;outline:none}.lc-input:focus,.lc-textarea:focus,.lc-select:focus{border-color:rgba(184,92,255,.75);box-shadow:0 0 0 4px rgba(184,92,255,.14)}.lc-textarea{min-height:180px;resize:vertical;line-height:1.5}.lc-help{color:var(--muted);font-size:13px}.lc-breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px;color:var(--muted);font-size:14px}.lc-breadcrumbs a{color:#e9ddff}.lc-posts{display:grid;gap:14px}.lc-post{display:grid;grid-template-columns:190px 1fr;border:1px solid var(--line);border-radius:22px;background:var(--panel);box-shadow:0 16px 40px rgba(0,0,0,.22);overflow:hidden}.lc-post__user{padding:18px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border-right:1px solid var(--line)}.lc-post__user .lc-avatar{margin-bottom:10px}.lc-post__name{display:block;font-size:17px;font-weight:900}.lc-post__rank{display:inline-flex;margin-top:5px;color:#d783ff;font-size:12px;font-weight:800}.lc-post__main{min-width:0}.lc-post__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);color:var(--muted);font-size:13px}.lc-post__body{padding:18px;font-size:16px;line-height:1.58;color:#f8f1ff;word-break:break-word}.lc-post__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.lc-code{white-space:pre-wrap;overflow:auto;margin:12px 0;padding:12px;border-radius:14px;background:#07030d;border:1px solid rgba(255,255,255,.1);color:#e8ddff}.lc-reply-box{margin-top:18px}.lc-alert{padding:13px 16px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.07);margin:0 0 16px;font-weight:800}.lc-alert--success{border-color:rgba(103,246,177,.4);color:#b8ffd9}.lc-alert--error{border-color:rgba(255,102,140,.45);color:#ffc2cf}.lc-alert--info{color:#e9ddff}.lc-empty{padding:28px;text-align:center;color:var(--muted)}.lc-pagination{display:flex;justify-content:center;gap:8px;align-items:center;margin:18px 0 0;flex-wrap:wrap}.lc-pagination a{padding:8px 12px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:#e9ddff;font-weight:800}.lc-pagination a.is-active{background:linear-gradient(135deg,#b85cff,#6931ff);border-color:transparent;color:#fff}.lc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.lc-search{display:flex;gap:8px;align-items:center;flex:1;min-width:240px}.lc-search .lc-input{min-width:0}.lc-admin-table{width:100%;border-collapse:separate;border-spacing:0 8px}.lc-admin-table th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);text-align:left;padding:0 10px}.lc-admin-table td{padding:10px;background:rgba(255,255,255,.045);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.lc-admin-table td:first-child{border-left:1px solid var(--line);border-radius:14px 0 0 14px}.lc-admin-table td:last-child{border-right:1px solid var(--line);border-radius:0 14px 14px 0}.lc-avatar{display:inline-grid;place-items:center;border-radius:14px;object-fit:cover;border:1px solid var(--line);background:rgba(255,255,255,.08);vertical-align:middle}.lc-avatar--letter{font-weight:900;background:linear-gradient(135deg,#b85cff,#35d6ff);color:#fff}.lc-footer{width:min(1180px,calc(100% - 28px));margin:0 auto 28px;padding:15px 18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);border:1px solid var(--line);border-radius:20px;background:rgba(15,8,29,.75)}.lc-footer__links{display:flex;gap:12px}.lc-footer a{color:#e9ddff}.lc-danger-zone{border-color:rgba(255,102,140,.36);background:rgba(255,102,140,.06)}
@media(max-width:980px){:root{--scale:1}.lc-topbar{position:relative;top:0;flex-wrap:wrap}.lc-brand,.lc-userbar{min-width:auto}.lc-nav{order:3;width:100%;justify-content:flex-start}.forum-shell{transform:none}.lc-hero__grid,.lc-grid{grid-template-columns:1fr}.lc-hero__bottom{flex-direction:column;align-items:flex-start}.lc-stats,.lc-stats--hero{min-width:0;width:100%}.lc-post{grid-template-columns:1fr}.lc-post__user{border-right:0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.lc-post__user .lc-avatar{margin:0}}@media(max-width:640px){.lc-topbar,.forum-shell,.lc-footer{width:calc(100% - 18px)}.lc-hero{padding:22px}.lc-stats{grid-template-columns:1fr}.lc-category-card,.lc-topic-row{grid-template-columns:1fr}.lc-category-card__icon{display:none}.lc-topic-stats{justify-content:flex-start}.lc-topic-title{flex-wrap:wrap}.lc-topic-title a{white-space:normal}.lc-panel__head{align-items:flex-start;flex-direction:column}.lc-search{min-width:100%}}

/* ===== Rich text editor ===== */
.lc-rich-editor{
  position:relative;
  display:grid;
  gap:12px;
  padding:18px;
  border:1px solid rgba(214,168,255,.28);
  border-radius:26px;
  background:
    radial-gradient(circle at 10% 0%,rgba(184,92,255,.18),transparent 34%),
    linear-gradient(180deg,rgba(48,24,84,.92),rgba(28,14,49,.95));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 24px 70px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,255,255,.035);
  overflow:hidden;
}
.lc-rich-editor:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,transparent,rgba(184,92,255,.08),transparent),
    radial-gradient(circle at 100% 0%,rgba(111,219,255,.1),transparent 30%);
  opacity:.8;
}
.lc-editor-toolbar,
.lc-editor-surface-wrap,
.lc-rich-editor + .lc-help{
  position:relative;
  z-index:1;
}
.lc-editor-toolbar{
  display:grid;
  gap:9px;
  padding:12px 14px;
  border:1px solid rgba(223,188,255,.18);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.lc-editor-toolbar__row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.lc-editor-group{
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  padding:0 8px 0 0;
  border-right:1px solid rgba(223,188,255,.14);
}
.lc-editor-group:last-child{
  border-right:0;
  padding-right:0;
}
.lc-editor-toolbar button,
.lc-editor-select,
.lc-editor-color{
  min-height:36px;
  border:1px solid rgba(227,196,255,.22);
  border-radius:12px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
  color:#fbf7ff;
  font:800 13px/1 'Exo 2', Arial, sans-serif;
  outline:none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 8px 18px rgba(0,0,0,.14);
}
.lc-editor-toolbar button,
.lc-editor-select{
  padding:0 11px;
}
.lc-editor-select{
  min-width:132px;
  cursor:pointer;
  appearance:auto;
}
.lc-editor-select[data-size]{
  min-width:110px;
}
.lc-editor-toolbar button{
  cursor:pointer;
  transition:transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.lc-editor-toolbar button[data-cmd="bold"],
.lc-editor-toolbar button[data-cmd="italic"],
.lc-editor-toolbar button[data-cmd="underline"],
.lc-editor-toolbar button[data-cmd="strikeThrough"],
.lc-editor-toolbar button[data-cmd="justifyLeft"],
.lc-editor-toolbar button[data-cmd="justifyCenter"],
.lc-editor-toolbar button[data-cmd="justifyRight"],
.lc-editor-toolbar button[data-cmd="undo"],
.lc-editor-toolbar button[data-cmd="redo"]{
  min-width:36px;
  padding:0 9px;
  font-size:15px;
}
.lc-editor-toolbar button:hover,
.lc-editor-select:hover,
.lc-editor-color:hover{
  transform:translateY(-1px);
  border-color:rgba(184,92,255,.62);
  background:
    linear-gradient(180deg,rgba(255,255,255,.18),rgba(184,92,255,.12));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    0 0 0 3px rgba(184,92,255,.08),
    0 12px 24px rgba(0,0,0,.18);
}
.lc-editor-toolbar button:active{
  transform:translateY(0);
}
.lc-editor-select option{
  color:#160d24;
  background:#f5edff;
}
.lc-editor-color{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 10px;
  cursor:pointer;
}
.lc-editor-color b{
  font-size:15px;
  line-height:1;
}
.lc-editor-color input{
  width:44px;
  height:22px;
  padding:0;
  border:1px solid rgba(255,255,255,.28);
  border-radius:6px;
  background:transparent;
  cursor:pointer;
}
.lc-editor-surface-wrap{
  padding:0;
  border-radius:20px;
  background:
    linear-gradient(135deg,rgba(205,127,255,.56),rgba(111,219,255,.16),rgba(205,127,255,.50));
  box-shadow:
    0 0 0 1px rgba(232,203,255,.22),
    0 0 28px rgba(184,92,255,.30),
    inset 0 0 22px rgba(184,92,255,.14);
}
.lc-editor-surface{
  width:100%;
  min-height:340px;
  max-height:720px;
  resize:vertical;
  overflow:auto;
  padding:24px 26px;
  border:2px solid rgba(216,156,255,.92);
  border-radius:20px;
  background:
    radial-gradient(circle at 5% 0%,rgba(184,92,255,.10),transparent 32%),
    linear-gradient(180deg,rgba(18,9,34,.97),rgba(22,11,40,.97));
  color:#fbf7ff;
  outline:none;
  font-size:17px;
  line-height:1.72;
  overflow-wrap:anywhere;
  caret-color:#ffffff;
  box-shadow:
    inset 0 0 38px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.07);
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.lc-editor-surface:focus{
  border-color:#cf8cff;
  background:
    radial-gradient(circle at 5% 0%,rgba(184,92,255,.18),transparent 34%),
    linear-gradient(180deg,rgba(18,9,35,.98),rgba(23,11,42,.98));
  box-shadow:
    0 0 0 4px rgba(184,92,255,.14),
    0 0 34px rgba(184,92,255,.36),
    inset 0 0 38px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08);
}
.lc-reply-box .lc-editor-surface{
  min-height:250px;
}
.lc-editor-surface:empty:before{
  content:attr(data-placeholder);
  color:rgba(241,229,255,.46);
  pointer-events:none;
}
.lc-rich-editor + .lc-help{
  display:block;
  margin-top:10px;
  padding-left:2px;
  color:rgba(235,224,250,.86);
  font-size:14px;
  line-height:1.45;
}
.lc-editor-surface a,
.lc-post__body a{
  color:#79ffc4;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px dashed rgba(121,255,196,.55);
}
.lc-editor-surface img,
.lc-post__body img{
  display:block;
  max-width:100%;
  height:auto;
  border-radius:16px;
  margin:12px 0;
  border:1px solid rgba(184,140,255,.28);
  box-shadow:0 14px 34px rgba(0,0,0,.26);
}
.lc-editor-surface blockquote,
.lc-post__body blockquote{
  margin:12px 0;
  padding:12px 14px;
  border-left:4px solid rgba(121,255,196,.78);
  border-radius:13px;
  background:rgba(121,255,196,.08);
}
.lc-editor-surface pre,
.lc-post__body pre,
.lc-code{
  white-space:pre-wrap;
  overflow:auto;
  padding:13px;
  border-radius:13px;
  background:rgba(0,0,0,.32);
  border:1px solid rgba(184,140,255,.18);
  color:#e8ddff;
}
.lc-post__body{
  line-height:1.72;
}
.lc-post__body h2,
.lc-post__body h3,
.lc-post__body h4{
  margin:12px 0 8px;
  color:#fff;
}
.lc-post__body ul,
.lc-post__body ol,
.lc-editor-surface ul,
.lc-editor-surface ol{
  padding-left:24px;
}
@media(max-width:760px){
  .lc-rich-editor{padding:12px;border-radius:20px}
  .lc-editor-toolbar{padding:10px 10px 12px}
  .lc-editor-toolbar__row{gap:7px}
  .lc-editor-group{border-right:0;padding-right:0}
  .lc-editor-toolbar button,.lc-editor-select,.lc-editor-color{min-height:36px;font-size:12px}
  .lc-editor-select{min-width:112px}
  .lc-editor-surface{min-height:280px;padding:18px;font-size:16px}
  .lc-reply-box .lc-editor-surface{min-height:220px}
}

/* ===== Forum v4: blocks, roles, reactions, skin heads ===== */
.lc-forum-blocks{display:grid;gap:18px}.lc-block-panel{overflow:visible}.lc-block-titleline{display:flex;align-items:center;gap:12px}.lc-block-icon{width:46px;height:46px;flex:0 0 46px}.lc-block-icon img{width:30px;height:30px}.lc-grid-2{display:grid;grid-template-columns:1fr 220px;gap:10px}.lc-sep{border:0;border-top:1px solid var(--line);margin:18px 0}.lc-table-scroll{overflow:auto;padding-bottom:8px}.lc-select--mini{width:100%;min-width:116px;padding:7px 8px;border-radius:10px;font-size:12px;margin:2px 0}.lc-perm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px}.lc-perm-grid label{padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.045);font-weight:800;color:#e9ddff}.lc-role-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.lc-role-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;border:1px solid color-mix(in srgb,var(--role-color) 70%,transparent);background:color-mix(in srgb,var(--role-color) 18%,transparent);color:#fff;font-size:11px;font-weight:900;text-shadow:0 1px 8px rgba(0,0,0,.25);white-space:nowrap}.lc-skin-head{--head-size:42px;position:relative;width:var(--head-size);height:var(--head-size);min-width:var(--head-size);display:inline-block;overflow:hidden;border-radius:14px;border:1px solid rgba(195,139,255,.35);background:#1d1530;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 28px rgba(0,0,0,.25);image-rendering:pixelated;vertical-align:middle}.lc-head-layer{position:absolute;inset:0;background-image:var(--skin-url),var(--fallback-skin);background-repeat:no-repeat;background-size:calc(var(--head-size) * 8) calc(var(--head-size) * 8);background-position:calc(var(--head-size) * -1) calc(var(--head-size) * -1)}.lc-head-overlay{background-position:calc(var(--head-size) * -5) calc(var(--head-size) * -1)}.lc-userchip .lc-skin-head{--head-size:34px;border-radius:11px}.lc-post__user .lc-skin-head{--head-size:58px;border-radius:17px}.lc-reactions{display:flex;gap:7px;flex-wrap:wrap;padding:0 18px 18px}.lc-reactions form{margin:0}.lc-reaction{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;border:1px solid rgba(195,139,255,.22);background:rgba(255,255,255,.055);color:#f6eeff;font-weight:900;cursor:pointer;transition:.15s transform,.15s border-color,.15s background}.lc-reaction:hover{transform:translateY(-1px);border-color:rgba(184,92,255,.66);background:rgba(184,92,255,.14)}.lc-reaction.is-active{border-color:rgba(103,246,177,.58);background:rgba(103,246,177,.12);box-shadow:0 0 0 3px rgba(103,246,177,.06)}.lc-reaction:disabled{opacity:.55;cursor:not-allowed;transform:none}.lc-reaction span{font-size:12px;color:#d6c7ee}.lc-quote-ref{display:block;margin:0 0 12px;padding:11px 13px;border:1px solid rgba(121,255,196,.25);border-left:4px solid rgba(121,255,196,.78);border-radius:14px;background:rgba(121,255,196,.075);color:#eafff6}.lc-quote-ref b{display:block;margin-bottom:3px}.lc-quote-ref span{display:block;color:#c8bddc;font-size:13px}.lc-reply-target{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid rgba(121,255,196,.28);border-radius:14px;background:rgba(121,255,196,.08);color:#eafff6}.lc-admin-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.lc-admin-block{min-height:150px;padding:13px;border:1px solid rgba(195,139,255,.22);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035))}.lc-admin-block h3{margin:0 0 10px}.lc-admin-dropzone{display:grid;gap:8px;min-height:90px;padding:8px;border:1px dashed rgba(195,139,255,.24);border-radius:14px;background:rgba(0,0,0,.12)}.lc-admin-dropzone.is-over{border-color:rgba(103,246,177,.7);background:rgba(103,246,177,.08)}.lc-admin-cat{padding:10px 11px;border:1px solid rgba(195,139,255,.22);border-radius:12px;background:rgba(21,10,38,.72);font-weight:900;cursor:grab;box-shadow:0 10px 24px rgba(0,0,0,.18)}.lc-admin-cat.is-dragging{opacity:.55;cursor:grabbing}.lc-admin-table td .lc-select--mini{margin-bottom:5px}@media(max-width:760px){.lc-grid-2{grid-template-columns:1fr}.lc-admin-board{grid-template-columns:1fr}.lc-reactions{padding:0 14px 14px}.lc-block-titleline{align-items:flex-start}.lc-block-icon{display:none}}


/* ===== Canvas skin head renderer ===== */
.lc-skin-head{
  --head-size:42px;
  position:relative;
  width:var(--head-size);
  height:var(--head-size);
  min-width:var(--head-size);
  display:inline-grid;
  place-items:center;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(195,139,255,.35);
  background:#1d1530;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 28px rgba(0,0,0,.25);
  vertical-align:middle;
}
.lc-skin-head-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  image-rendering:pixelated;
}
.lc-userchip .lc-skin-head{--head-size:34px;border-radius:11px}
.lc-post__user .lc-skin-head{--head-size:58px;border-radius:17px}


/* ===== Forum v6: improved post user card / square heads ===== */
.lc-post{
  align-items:stretch;
}
.lc-post__user{
  padding:22px 16px;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));
  border-right:1px solid var(--line);
  text-align:center;
}
.lc-post__user-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
}
.lc-post__avatar-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 12px;
}
.lc-post__user .lc-skin-head{
  --head-size:84px;
  border-radius:4px;
  border:1px solid rgba(255,255,255,.12);
  background:#d8d8d8;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.lc-post__user .lc-skin-head-img{
  object-fit:cover;
  image-rendering:pixelated;
}
.lc-post__name{
  display:block;
  font-size:18px;
  font-weight:900;
  line-height:1.1;
  text-align:center;
  color:#fff;
  margin-bottom:8px;
  word-break:break-word;
}
.lc-post__user .lc-role-badges{
  width:100%;
  display:grid;
  gap:8px;
  justify-items:center;
  margin:10px 0 10px;
}
.lc-post__user .lc-role-badge{
  min-width:160px;
  justify-content:center;
  padding:9px 16px;
  border-radius:0;
  clip-path:polygon(8% 0,100% 0,92% 100%,0 100%);
  border:0;
  background:linear-gradient(135deg,var(--role-color), color-mix(in srgb,var(--role-color) 68%, #8f0015 32%));
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 12px 24px rgba(0,0,0,.18);
}
.lc-post__rank{display:none}
.lc-post__meta-block{
  margin-top:2px;
}
.lc-post__meta-label{
  display:block;
  color:#6d7691;
  font-size:12px;
  font-weight:800;
}
.lc-post__meta-value{
  display:block;
  margin-top:3px;
  color:#25324a;
  font-size:15px;
  font-weight:900;
  text-shadow:none;
}
.lc-post__meta-list{
  display:grid;
  gap:8px;
  width:100%;
  margin-top:12px;
}
.lc-post__meta-item{
  padding:10px 12px;
  border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(242,248,246,.86));
  border:1px solid rgba(131,152,174,.24);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82), 0 8px 18px rgba(111,147,160,.10);
}
.lc-post__meta-item b{
  display:block;
  color:#25324a;
  font-size:16px;
  margin-bottom:3px;
  line-height:1.1;
}
.lc-post__meta-item span{
  display:block;
  color:#66718f;
  font-size:12px;
  font-weight:700;
}
@media(max-width:980px){
  .lc-post__user{
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:16px;
  }
  .lc-post__user-card{
    flex-direction:row;
    align-items:flex-start;
    gap:14px;
    text-align:left;
  }
  .lc-post__avatar-link{margin:0;flex:0 0 auto}
  .lc-post__user .lc-skin-head{--head-size:72px}
  .lc-post__name{text-align:left;margin-bottom:6px}
  .lc-post__user .lc-role-badges{justify-items:start;margin:8px 0}
  .lc-post__user .lc-role-badge{min-width:0}
  .lc-post__meta-list{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
}
@media(max-width:640px){
  .lc-post__user-card{flex-direction:column;align-items:center;text-align:center}
  .lc-post__name{text-align:center}
  .lc-post__user .lc-role-badges{justify-items:center}
}


/* ===== Forum v7: role colors from admin + reliable CSS skin heads ===== */
.lc-color-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:10px;
}
.lc-color-grid label{
  display:grid;
  gap:6px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.045);
  color:#e9ddff;
  font-weight:800;
}
.lc-color-grid span{font-size:12px;color:var(--muted)}
.lc-color-grid input[type="color"]{
  min-height:42px;
  padding:4px;
  cursor:pointer;
}
.lc-post__user-card{
  --profile-name-color:#fff;
  --role-color:#b85cff;
  --role-border-color:#b85cff;
  --avatar-border-color:var(--role-border-color);
}
.lc-post__name{
  color:var(--profile-name-color,#fff);
  text-shadow:0 0 12px color-mix(in srgb,var(--profile-name-color,#fff) 32%,transparent);
}
.lc-role-badge{
  border-color:var(--role-border-color,var(--role-color)) !important;
}
.lc-post__user .lc-role-badge{
  background:linear-gradient(135deg,var(--role-color), color-mix(in srgb,var(--role-color) 72%,#2a0d35 28%));
  box-shadow:0 10px 24px color-mix(in srgb,var(--role-color) 28%,transparent);
}
.lc-post__user .lc-skin-head{
  border-color:var(--avatar-border-color,rgba(255,255,255,.16));
  box-shadow:0 0 0 3px color-mix(in srgb,var(--avatar-border-color,#b85cff) 18%,transparent),0 12px 26px rgba(0,0,0,.28);
}
.lc-skin-head{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#d8d8d8;
}
.lc-head-default,
.lc-head-layer{
  position:absolute;
  display:block;
  image-rendering:pixelated;
  pointer-events:none;
  user-select:none;
}
.lc-head-default{
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}
.lc-head-layer{
  width:calc(var(--head-size) * 8);
  height:auto;
  max-width:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  opacity:0;
  z-index:2;
}
.lc-head-base{
  left:calc(var(--head-size) * -1);
  top:calc(var(--head-size) * -1);
}
.lc-head-overlay{
  left:calc(var(--head-size) * -5);
  top:calc(var(--head-size) * -1);
  z-index:3;
}
.lc-skin-head.is-loaded .lc-head-layer{opacity:1}
.lc-skin-head.is-loaded .lc-head-default{opacity:0}
.lc-skin-head.is-failed .lc-head-layer{display:none}


/* ===== Forum v8: canvas skin head renderer exactly like homepage ===== */
.lc-skin-head{
  position:relative;
  width:var(--head-size);
  height:var(--head-size);
  min-width:var(--head-size);
  display:inline-grid;
  place-items:center;
  overflow:hidden;
  border-radius:4px;
  border:2px solid var(--avatar-border-color, rgba(195,139,255,.45));
  background:rgba(255,255,255,.08);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  vertical-align:middle;
}
.lc-skin-head-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  image-rendering:pixelated;
}
.lc-head-layer,
.lc-head-default{
  display:none !important;
}
.lc-userchip .lc-skin-head{
  border-radius:4px;
}
.lc-post__user .lc-skin-head{
  border-radius:4px;
}


/* ===== Forum v11: category page like classic board list ===== */
.lc-cat-page{display:grid;gap:18px}
.lc-cat-breadcrumbs{display:flex;align-items:center;gap:10px;color:#c7bbde;font-size:14px;flex-wrap:wrap}
.lc-cat-breadcrumbs a{color:#f1e8ff}
.lc-cat-hero,.lc-cat-panel{background:#f4f5f7;color:#1e2430;border-radius:18px;border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 30px rgba(0,0,0,.12)}
.lc-cat-hero{padding:26px 28px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.lc-cat-hero h1{margin:0 0 10px;font-size:28px;line-height:1.1;color:#111827}
.lc-cat-hero p{margin:0;color:#637189;max-width:880px;line-height:1.45}
.lc-cat-lock{display:inline-flex;margin-top:10px;padding:6px 10px;border-radius:999px;background:#fce5ea;color:#b1264e;font-size:12px;font-weight:800}
.lc-cat-hero__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.lc-cat-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:10px;background:#3c4458;color:#fff;font-weight:900}
.lc-cat-btn--ghost{background:#e6ebf1;color:#24324d}
.lc-cat-btn--muted{background:#eef1f5;color:#77839a}
.lc-cat-panel{overflow:hidden}
.lc-cat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #dde3ea;background:#fafbfc;flex-wrap:wrap}
.lc-cat-toolbar--bottom{border-top:1px solid #dde3ea;border-bottom:0}
.lc-cat-toolbar__left{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.lc-cat-pageinfo{color:#6d7b92;font-size:14px}
.lc-cat-page .lc-pagination{margin:0;justify-content:flex-start}
.lc-cat-page .lc-pagination a{background:#fff;color:#273142;border:1px solid #d7dee8;border-radius:8px;padding:8px 12px;box-shadow:none}
.lc-cat-page .lc-pagination a.is-active{background:#424957;border-color:#424957;color:#fff}
.lc-cat-sort{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lc-cat-sort label{font-size:13px;font-weight:800;color:#5c6a84;text-transform:uppercase;letter-spacing:.04em}
.lc-cat-sort__select{height:36px;padding:0 12px;border-radius:8px;border:1px solid #cfd7e2;background:#fff;color:#1f2937;font-weight:700}
.lc-cat-topiclist{display:grid}
.lc-cat-topicrow{display:grid;grid-template-columns:58px minmax(0,1fr) 170px 270px;gap:16px;align-items:center;padding:20px 18px;border-top:1px solid #e1e7ee;background:#f4f5f7;color:#1f2937}
.lc-cat-topicrow:first-child{border-top:0}
.lc-cat-topicrow:hover{background:#eef2f6}
.lc-cat-topicrow__lefticons{display:flex;align-items:center;gap:8px}
.lc-cat-miniicon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf2f6;color:#3c8a6b;font-size:14px;border:1px solid #d8e2ea}
.lc-cat-topicrow__main{min-width:0;display:grid;gap:8px}
.lc-cat-topicrow__title{font-size:22px;line-height:1.25;font-weight:500;color:#111827}
.lc-cat-topicrow__title:hover{color:#2f67b2}
.lc-cat-topicrow__meta{color:#70809c;font-size:14px}
.lc-cat-topicrow__stats{display:grid;gap:8px;justify-items:end}
.lc-cat-topicrow__stats div{text-align:right}
.lc-cat-topicrow__stats b{display:block;font-size:18px;line-height:1.1;color:#2c3647;font-weight:500}
.lc-cat-topicrow__stats span{font-size:13px;color:#6f7d94}
.lc-cat-topicrow__last{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-width:0}
.lc-cat-topicrow__avatar .lc-skin-head{--head-size:42px;border-radius:4px;border-color:#c7d0de;background:#fff;box-shadow:none}
.lc-cat-topicrow__avatar .lc-skin-head-img{border-radius:0}
.lc-cat-topicrow__lastinfo{min-width:0;display:grid;gap:4px}
.lc-cat-topicrow__lastinfo b{font-size:16px;font-weight:500;color:#2c3647;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-cat-topicrow__lastinfo span{font-size:13px;color:#71819a}
.lc-cat-topicrow__lastinfo--muted b,.lc-cat-topicrow__lastinfo--muted span{color:#95a0b0}
.lc-cat-empty{background:#f4f5f7;color:#64748b}
@media(max-width:1100px){.lc-cat-topicrow{grid-template-columns:58px minmax(0,1fr) 150px 220px}.lc-cat-topicrow__title{font-size:20px}}
@media(max-width:860px){.lc-cat-hero{padding:20px;flex-direction:column}.lc-cat-topicrow{grid-template-columns:1fr;gap:12px}.lc-cat-topicrow__lefticons,.lc-cat-topicrow__stats,.lc-cat-topicrow__last{justify-content:flex-start}.lc-cat-topicrow__stats div{text-align:left}.lc-cat-topicrow__title{font-size:19px}}
@media(max-width:640px){.lc-cat-panel,.lc-cat-hero{border-radius:16px}.lc-cat-toolbar{padding:14px}.lc-cat-topicrow{padding:16px 14px}.lc-cat-topicrow__lefticons{display:none}.lc-cat-sort{width:100%}.lc-cat-sort__select{width:100%}}


/* ===== Forum v14: warm neo-cubic light background ===== */
:root{
  --bg:#f5eee3 !important;
  --bg2:#fff7ef !important;
  --panel:rgba(255,248,241,.92) !important;
  --panel2:rgba(255,251,246,.97) !important;
  --line:rgba(201,142,103,.22) !important;
  --line2:rgba(224,160,115,.34) !important;
  --text:#402b2a !important;
  --muted:#896d6a !important;
  --soft:#a1817d !important;
  --accent:#ff8f5b !important;
  --accent2:#e96ec6 !important;
  --green:#4abf8a !important;
  --red:#e85e6f !important;
  --yellow:#f2b84a !important;
  --shadow:0 18px 44px rgba(110,68,42,.12) !important;
}
body.forum-page{
  color:var(--text) !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,184,108,.22), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(255,126,185,.16), transparent 22%),
    radial-gradient(circle at 18% 88%, rgba(255,151,105,.14), transparent 22%),
    linear-gradient(135deg,#fffaf4 0%, #f8efe4 38%, #f5ebe0 68%, #fff6ed 100%) !important;
}
.lc-bg-cubes{
  opacity:.7 !important;
  background-image:
    linear-gradient(30deg,rgba(255,175,120,.13) 12%,transparent 12.5%,transparent 87%,rgba(255,175,120,.13) 87.5%,rgba(255,175,120,.13)),
    linear-gradient(150deg,rgba(255,175,120,.13) 12%,transparent 12.5%,transparent 87%,rgba(255,175,120,.13) 87.5%,rgba(255,175,120,.13)),
    linear-gradient(30deg,rgba(255,138,176,.10) 12%,transparent 12.5%,transparent 87%,rgba(255,138,176,.10) 87.5%,rgba(255,138,176,.10)),
    linear-gradient(150deg,rgba(255,138,176,.10) 12%,transparent 12.5%,transparent 87%,rgba(255,138,176,.10) 87.5%,rgba(255,138,176,.10)) !important;
  background-size:92px 160px !important;
}
.lc-bg-cubes:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,178,131,.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,178,131,.07) 1px, transparent 1px) !important;
  background-size:46px 46px !important;
  mask-image:radial-gradient(circle at center, black 0%, transparent 76%) !important;
}

/* colorful panels while keeping warm light background */
.lc-topbar,
.lc-footer,
.lc-panel,
.lc-post,
.lc-hero,
.lc-rich-editor{
  border-color:rgba(214,152,104,.22) !important;
  box-shadow:0 18px 44px rgba(110,68,42,.10) !important;
}
.lc-topbar{
  background:linear-gradient(180deg, rgba(255,247,239,.94), rgba(255,240,230,.92)) !important;
  backdrop-filter:blur(10px) !important;
}
.lc-footer{
  background:linear-gradient(180deg, rgba(255,247,239,.92), rgba(255,240,230,.88)) !important;
}
.lc-panel{
  background:linear-gradient(180deg, rgba(255,249,243,.94), rgba(255,243,235,.94)) !important;
}
.lc-hero{
  background:
    linear-gradient(135deg, rgba(255,243,231,.96), rgba(255,233,217,.94) 55%, rgba(252,226,239,.90)) !important;
}
.lc-hero:before{
  background:conic-gradient(from 45deg, rgba(255,143,91,.48), rgba(233,110,198,.16), transparent, rgba(255,143,91,.42)) !important;
  opacity:.6 !important;
}
.lc-brand__mark{
  background:linear-gradient(135deg,#ffaf7a,#ff8f5b 52%,#e96ec6 100%) !important;
  box-shadow:0 10px 24px rgba(255,143,91,.24) !important;
}
.lc-brand b,.lc-title,.lc-panel__head h1,.lc-panel__head h2,.lc-post__name,.lc-topic-title a,.lc-category-card h3,
.lc-field label,.lc-topic-stat b,.lc-stat b,.lc-post__body,.lc-admin-table td,.lc-code{color:#4a2f2d !important}
.lc-brand small,.lc-subtitle,.lc-stat span,.lc-category-card p,.lc-topic-excerpt,.lc-topic-meta,.lc-help,.lc-breadcrumbs,
.lc-footer,.lc-mini-item span,.lc-post__head,.lc-post__rank,.lc-empty,.lc-admin-table th{color:#8d706d !important}
.lc-nav a{color:#7e6260 !important}
.lc-nav a:hover,.lc-nav a.is-active{
  background:rgba(255,143,91,.12) !important;
  color:#6b3b34 !important;
  box-shadow:inset 0 0 0 1px rgba(255,143,91,.18) !important;
}
.lc-userchip,
.lc-stat,
.lc-mini-item,
.lc-topic-stat,
.lc-badge,
.lc-alert,
.lc-admin-table td,
.lc-post__user,
.lc-category-card,
.lc-topic-row{
  background:linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,245,238,.72)) !important;
  border-color:rgba(219,164,126,.20) !important;
  box-shadow:none !important;
}
.lc-category-card:hover,.lc-topic-row:hover{
  background:linear-gradient(180deg, rgba(255,243,231,.95), rgba(255,235,225,.95)) !important;
  border-color:rgba(255,143,91,.28) !important;
}
.lc-category-card__icon{
  background:linear-gradient(135deg, rgba(255,159,109,.18), rgba(233,110,198,.10)) !important;
  border-color:rgba(255,143,91,.18) !important;
}
.lc-panel__head{
  background:linear-gradient(180deg, rgba(255,255,255,.46), rgba(255,247,240,.20)) !important;
  border-bottom:1px solid rgba(214,152,104,.18) !important;
}
.lc-eyebrow{
  background:rgba(255,255,255,.55) !important;
  border-color:rgba(214,152,104,.22) !important;
  color:#7e5650 !important;
}
.lc-title span{color:#ff8f5b !important;text-shadow:0 0 16px rgba(255,143,91,.18) !important}
.lc-btn{
  background:linear-gradient(135deg,#ffaf7a,#ff8f5b 54%,#e96ec6) !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:0 12px 24px rgba(255,143,91,.20) !important;
}
.lc-btn--ghost{
  background:rgba(255,255,255,.60) !important;
  color:#7a4f49 !important;
  border-color:rgba(214,152,104,.22) !important;
  box-shadow:none !important;
}
.lc-btn--danger{
  background:linear-gradient(135deg,#f27879,#e85e6f) !important;
}
.lc-badge{
  background:rgba(255,255,255,.66) !important;
  color:#946561 !important;
}
.lc-badge--pin{
  background:#fff3d9 !important;
  border-color:rgba(242,184,74,.26) !important;
  color:#ae7614 !important;
}
.lc-badge--lock{
  background:#ffe5ea !important;
  border-color:rgba(232,94,111,.22) !important;
  color:#bf4457 !important;
}
.lc-input,.lc-textarea,.lc-select{
  background:rgba(255,255,255,.72) !important;
  color:#4a2f2d !important;
  border-color:rgba(214,152,104,.24) !important;
}
.lc-input:focus,.lc-textarea:focus,.lc-select:focus{
  border-color:rgba(255,143,91,.58) !important;
  box-shadow:0 0 0 4px rgba(255,143,91,.12) !important;
}
.lc-code{background:#fff8f1 !important;border-color:rgba(214,152,104,.18) !important}
.lc-alert--success{background:#e9fbf3 !important;border-color:rgba(74,191,138,.20) !important;color:#2d9368 !important}
.lc-alert--error{background:#ffedf0 !important;border-color:rgba(232,94,111,.18) !important;color:#be4d5d !important}
.lc-alert--info{background:#fff4ea !important;border-color:rgba(255,143,91,.18) !important;color:#9b5e47 !important}
.lc-pagination a{
  background:rgba(255,255,255,.70) !important;
  color:#7a4f49 !important;
  border-color:rgba(214,152,104,.22) !important;
}
.lc-pagination a.is-active{
  background:linear-gradient(135deg,#ffaf7a,#ff8f5b 54%,#e96ec6) !important;
  color:#fff !important;
  border-color:transparent !important;
}
.lc-footer a,.lc-breadcrumbs a{color:#8f5e51 !important}

/* category page warm but light */
.lc-cat-breadcrumbs{color:#8d706d !important}
.lc-cat-breadcrumbs a{color:#8f5e51 !important}
.lc-cat-hero,.lc-cat-panel{
  background:linear-gradient(180deg, rgba(255,249,243,.96), rgba(255,243,235,.96)) !important;
  border-color:rgba(214,152,104,.22) !important;
  box-shadow:0 18px 44px rgba(110,68,42,.10) !important;
}
.lc-cat-hero h1,.lc-cat-topicrow__title,.lc-cat-topicrow__stats b,.lc-cat-topicrow__lastinfo b{color:#4a2f2d !important}
.lc-cat-hero p,.lc-cat-pageinfo,.lc-cat-topicrow__meta,.lc-cat-topicrow__stats span,.lc-cat-topicrow__lastinfo span{color:#8d706d !important}
.lc-cat-lock{background:#fff0df !important;color:#aa6733 !important}
.lc-cat-btn{
  background:linear-gradient(135deg,#ffaf7a,#ff8f5b 54%,#e96ec6) !important;
  color:#fff !important;
  border-color:transparent !important;
}
.lc-cat-btn--ghost{background:rgba(255,255,255,.70) !important;color:#7a4f49 !important;border-color:rgba(214,152,104,.22) !important}
.lc-cat-btn--muted{background:#f4e9e1 !important;color:#a18785 !important}
.lc-cat-toolbar{background:rgba(255,255,255,.42) !important;border-color:rgba(214,152,104,.18) !important}
.lc-cat-page .lc-pagination a{background:rgba(255,255,255,.70) !important;color:#7a4f49 !important;border-color:rgba(214,152,104,.22) !important}
.lc-cat-page .lc-pagination a.is-active{background:linear-gradient(135deg,#ffaf7a,#ff8f5b 54%,#e96ec6) !important;color:#fff !important;border-color:transparent !important}
.lc-cat-sort label{color:#8d706d !important}
.lc-cat-sort__select{background:rgba(255,255,255,.78) !important;border-color:rgba(214,152,104,.24) !important;color:#5b3b37 !important}
.lc-cat-topicrow,
.lc-cat-empty{
  background:#f4f5f7 !important;
  border-color:#ece3da !important;
}
.lc-cat-topicrow:hover{background:#efe9e2 !important}
.lc-cat-miniicon{
  background:#fff2e6 !important;
  border-color:rgba(214,152,104,.16) !important;
  color:#cb7d4e !important;
}
.lc-cat-topicrow__avatar .lc-skin-head{background:#fff !important;border-color:#dfc3b8 !important}

/* editor remains colorful on light bg */
.lc-rich-editor{
  background:linear-gradient(180deg, rgba(255,245,238,.96), rgba(255,239,230,.96)) !important;
  border-color:rgba(214,152,104,.22) !important;
}
.lc-rich-editor:before{
  background:
    linear-gradient(90deg,transparent,rgba(255,143,91,.08),transparent),
    radial-gradient(circle at 100% 0%,rgba(233,110,198,.08),transparent 30%) !important;
  opacity:1 !important;
}
.lc-editor-toolbar{
  background:rgba(255,255,255,.52) !important;
  border-color:rgba(214,152,104,.18) !important;
}
.lc-editor-group{border-right-color:rgba(214,152,104,.16) !important}
.lc-editor-toolbar button,
.lc-editor-select,
.lc-editor-color{
  background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,245,238,.82)) !important;
  border-color:rgba(214,152,104,.20) !important;
  color:#5b3b37 !important;
  box-shadow:none !important;
}
.lc-editor-toolbar button:hover,
.lc-editor-select:hover,
.lc-editor-color:hover{
  background:linear-gradient(180deg, rgba(255,243,231,.95), rgba(255,233,217,.95)) !important;
  border-color:rgba(255,143,91,.36) !important;
  box-shadow:0 0 0 3px rgba(255,143,91,.08) !important;
}
.lc-editor-select option{background:#fffaf6 !important;color:#4a2f2d !important}
.lc-editor-surface-wrap{
  background:linear-gradient(135deg, rgba(255,196,160,.40), rgba(255,226,200,.55), rgba(245,177,221,.32)) !important;
  box-shadow:0 0 0 1px rgba(214,152,104,.12) !important;
}
.lc-editor-surface{
  background:rgba(255,255,255,.88) !important;
  border-color:rgba(255,169,126,.72) !important;
  color:#4a2f2d !important;
  box-shadow:inset 0 0 24px rgba(255,226,200,.18) !important;
  caret-color:#5b3b37 !important;
}
.lc-editor-surface:focus{
  border-color:#ff9b6c !important;
  background:rgba(255,255,255,.94) !important;
}
.lc-rich-editor + .lc-help{color:#8d706d !important}


/* ===== Forum v15: light green-purple neo-cubic palette ===== */
:root{
  --bg:#eef8f4 !important;
  --bg2:#f7fbff !important;
  --panel:rgba(245,252,249,.92) !important;
  --panel2:rgba(250,255,253,.96) !important;
  --line:rgba(132,174,156,.20) !important;
  --line2:rgba(154,126,214,.24) !important;
  --text:#2b3344 !important;
  --muted:#69768d !important;
  --soft:#8592a7 !important;
  --accent:#7d66e8 !important;
  --accent2:#53c7a5 !important;
  --green:#45be95 !important;
  --red:#e46f95 !important;
  --yellow:#d9b44b !important;
  --shadow:0 18px 44px rgba(72,90,116,.10) !important;
}
body.forum-page{
  color:var(--text) !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(83,199,165,.16), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(125,102,232,.16), transparent 26%),
    radial-gradient(circle at 16% 88%, rgba(137,217,190,.12), transparent 24%),
    linear-gradient(135deg,#f7fcfa 0%, #eef8f4 36%, #edf2fb 68%, #f9fcff 100%) !important;
}
.lc-bg-cubes{
  opacity:.74 !important;
  background-image:
    linear-gradient(30deg,rgba(83,199,165,.12) 12%,transparent 12.5%,transparent 87%,rgba(83,199,165,.12) 87.5%,rgba(83,199,165,.12)),
    linear-gradient(150deg,rgba(83,199,165,.12) 12%,transparent 12.5%,transparent 87%,rgba(83,199,165,.12) 87.5%,rgba(83,199,165,.12)),
    linear-gradient(30deg,rgba(125,102,232,.09) 12%,transparent 12.5%,transparent 87%,rgba(125,102,232,.09) 87.5%,rgba(125,102,232,.09)),
    linear-gradient(150deg,rgba(125,102,232,.09) 12%,transparent 12.5%,transparent 87%,rgba(125,102,232,.09) 87.5%,rgba(125,102,232,.09)) !important;
  background-size:92px 160px !important;
}
.lc-bg-cubes:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(83,199,165,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(125,102,232,.06) 1px, transparent 1px) !important;
  background-size:46px 46px !important;
  mask-image:radial-gradient(circle at center, black 0%, transparent 76%) !important;
}

.lc-topbar,
.lc-footer,
.lc-panel,
.lc-post,
.lc-hero,
.lc-rich-editor{
  border-color:rgba(138,158,190,.18) !important;
  box-shadow:0 18px 44px rgba(72,90,116,.08) !important;
}
.lc-topbar{
  background:linear-gradient(180deg, rgba(245,252,249,.94), rgba(243,246,252,.92)) !important;
  backdrop-filter:blur(10px) !important;
}
.lc-footer{
  background:linear-gradient(180deg, rgba(245,252,249,.92), rgba(242,246,251,.90)) !important;
}
.lc-panel{
  background:linear-gradient(180deg, rgba(248,253,251,.94), rgba(244,247,252,.94)) !important;
}
.lc-hero{
  background:
    linear-gradient(135deg, rgba(242,252,248,.96), rgba(239,245,252,.95) 54%, rgba(245,240,255,.92)) !important;
}
.lc-hero:before{
  background:conic-gradient(from 45deg, rgba(83,199,165,.30), rgba(125,102,232,.16), transparent, rgba(83,199,165,.26)) !important;
  opacity:.65 !important;
}
.lc-brand__mark{
  background:linear-gradient(135deg,#73d0b4,#53c7a5 52%,#7d66e8 100%) !important;
  box-shadow:0 10px 24px rgba(83,199,165,.20) !important;
}
.lc-brand b,.lc-title,.lc-panel__head h1,.lc-panel__head h2,.lc-post__name,.lc-topic-title a,.lc-category-card h3,
.lc-field label,.lc-topic-stat b,.lc-stat b,.lc-post__body,.lc-admin-table td,.lc-code{color:#2e3344 !important}
.lc-brand small,.lc-subtitle,.lc-stat span,.lc-category-card p,.lc-topic-excerpt,.lc-topic-meta,.lc-help,.lc-breadcrumbs,
.lc-footer,.lc-mini-item span,.lc-post__head,.lc-post__rank,.lc-empty,.lc-admin-table th{color:#75839b !important}
.lc-nav a{color:#65758d !important}
.lc-nav a:hover,.lc-nav a.is-active{
  background:rgba(125,102,232,.10) !important;
  color:#4d4b76 !important;
  box-shadow:inset 0 0 0 1px rgba(125,102,232,.14) !important;
}
.lc-userchip,
.lc-stat,
.lc-mini-item,
.lc-topic-stat,
.lc-badge,
.lc-alert,
.lc-admin-table td,
.lc-post__user,
.lc-category-card,
.lc-topic-row{
  background:linear-gradient(180deg, rgba(255,255,255,.74), rgba(244,249,252,.76)) !important;
  border-color:rgba(151,170,201,.18) !important;
  box-shadow:none !important;
}
.lc-category-card:hover,.lc-topic-row:hover{
  background:linear-gradient(180deg, rgba(245,252,249,.98), rgba(239,244,250,.98)) !important;
  border-color:rgba(125,102,232,.20) !important;
}
.lc-category-card__icon{
  background:linear-gradient(135deg, rgba(83,199,165,.14), rgba(125,102,232,.10)) !important;
  border-color:rgba(83,199,165,.18) !important;
}
.lc-panel__head{
  background:linear-gradient(180deg, rgba(255,255,255,.44), rgba(244,250,248,.22)) !important;
  border-bottom:1px solid rgba(151,170,201,.18) !important;
}
.lc-eyebrow{
  background:rgba(255,255,255,.55) !important;
  border-color:rgba(151,170,201,.20) !important;
  color:#60718a !important;
}
.lc-title span{color:#6f5ee3 !important;text-shadow:0 0 16px rgba(125,102,232,.16) !important}
.lc-btn{
  background:linear-gradient(135deg,#73d0b4,#53c7a5 54%,#7d66e8) !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:0 12px 24px rgba(83,199,165,.18) !important;
}
.lc-btn--ghost{
  background:rgba(255,255,255,.65) !important;
  color:#58667f !important;
  border-color:rgba(151,170,201,.20) !important;
  box-shadow:none !important;
}
.lc-btn--danger{
  background:linear-gradient(135deg,#ee8aa8,#e46f95) !important;
}
.lc-badge{
  background:rgba(255,255,255,.66) !important;
  color:#667893 !important;
}
.lc-badge--pin{
  background:#eefaf6 !important;
  border-color:rgba(83,199,165,.22) !important;
  color:#3ea986 !important;
}
.lc-badge--lock{
  background:#f2ecff !important;
  border-color:rgba(125,102,232,.20) !important;
  color:#725dde !important;
}
.lc-input,.lc-textarea,.lc-select{
  background:rgba(255,255,255,.76) !important;
  color:#2e3344 !important;
  border-color:rgba(151,170,201,.20) !important;
}
.lc-input:focus,.lc-textarea:focus,.lc-select:focus{
  border-color:rgba(125,102,232,.46) !important;
  box-shadow:0 0 0 4px rgba(125,102,232,.10) !important;
}
.lc-code{background:#f7fbff !important;border-color:rgba(151,170,201,.18) !important}
.lc-alert--success{background:#edf9f5 !important;border-color:rgba(83,199,165,.18) !important;color:#389d7e !important}
.lc-alert--error{background:#fff0f4 !important;border-color:rgba(228,111,149,.18) !important;color:#c45f81 !important}
.lc-alert--info{background:#f3f6ff !important;border-color:rgba(125,102,232,.18) !important;color:#6f5edf !important}
.lc-pagination a{
  background:rgba(255,255,255,.70) !important;
  color:#65758d !important;
  border-color:rgba(151,170,201,.20) !important;
}
.lc-pagination a.is-active{
  background:linear-gradient(135deg,#73d0b4,#53c7a5 54%,#7d66e8) !important;
  color:#fff !important;
  border-color:transparent !important;
}
.lc-footer a,.lc-breadcrumbs a{color:#6878a4 !important}

/* category page */
.lc-cat-breadcrumbs{color:#75839b !important}
.lc-cat-breadcrumbs a{color:#6878a4 !important}
.lc-cat-hero,.lc-cat-panel{
  background:linear-gradient(180deg, rgba(248,253,251,.96), rgba(244,247,252,.96)) !important;
  border-color:rgba(151,170,201,.18) !important;
  box-shadow:0 18px 44px rgba(72,90,116,.08) !important;
}
.lc-cat-hero h1,.lc-cat-topicrow__title,.lc-cat-topicrow__stats b,.lc-cat-topicrow__lastinfo b{color:#2e3344 !important}
.lc-cat-hero p,.lc-cat-pageinfo,.lc-cat-topicrow__meta,.lc-cat-topicrow__stats span,.lc-cat-topicrow__lastinfo span{color:#75839b !important}
.lc-cat-lock{background:#edf9f5 !important;color:#3ea986 !important}
.lc-cat-btn{
  background:linear-gradient(135deg,#73d0b4,#53c7a5 54%,#7d66e8) !important;
  color:#fff !important;
  border-color:transparent !important;
}
.lc-cat-btn--ghost{background:rgba(255,255,255,.70) !important;color:#58667f !important;border-color:rgba(151,170,201,.20) !important}
.lc-cat-btn--muted{background:#eef3f8 !important;color:#94a0b1 !important}
.lc-cat-toolbar{background:rgba(255,255,255,.44) !important;border-color:rgba(151,170,201,.16) !important}
.lc-cat-page .lc-pagination a{background:rgba(255,255,255,.70) !important;color:#65758d !important;border-color:rgba(151,170,201,.20) !important}
.lc-cat-page .lc-pagination a.is-active{background:linear-gradient(135deg,#73d0b4,#53c7a5 54%,#7d66e8) !important;color:#fff !important;border-color:transparent !important}
.lc-cat-sort label{color:#75839b !important}
.lc-cat-sort__select{background:rgba(255,255,255,.78) !important;border-color:rgba(151,170,201,.20) !important;color:#4f5e79 !important}
.lc-cat-topicrow,
.lc-cat-empty{
  background:linear-gradient(180deg, rgba(255,255,255,.74), rgba(244,249,252,.76)) !important;
  border-color:rgba(151,170,201,.16) !important;
}
.lc-cat-topicrow:hover{background:linear-gradient(180deg, rgba(245,252,249,.98), rgba(239,244,250,.98)) !important}
.lc-cat-miniicon{
  background:#eff7f6 !important;
  border-color:rgba(151,170,201,.14) !important;
  color:#59b69b !important;
}
.lc-cat-topicrow__avatar .lc-skin-head{background:#fff !important;border-color:#d6deed !important}

/* editor */
.lc-rich-editor{
  background:linear-gradient(180deg, rgba(245,252,249,.96), rgba(242,246,252,.96)) !important;
  border-color:rgba(151,170,201,.18) !important;
}
.lc-rich-editor:before{
  background:
    linear-gradient(90deg,transparent,rgba(83,199,165,.08),transparent),
    radial-gradient(circle at 100% 0%,rgba(125,102,232,.08),transparent 30%) !important;
  opacity:1 !important;
}
.lc-editor-toolbar{
  background:rgba(255,255,255,.54) !important;
  border-color:rgba(151,170,201,.16) !important;
}
.lc-editor-group{border-right-color:rgba(151,170,201,.14) !important}
.lc-editor-toolbar button,
.lc-editor-select,
.lc-editor-color{
  background:linear-gradient(180deg, rgba(255,255,255,.84), rgba(244,249,252,.84)) !important;
  border-color:rgba(151,170,201,.18) !important;
  color:#4f5e79 !important;
  box-shadow:none !important;
}
.lc-editor-toolbar button:hover,
.lc-editor-select:hover,
.lc-editor-color:hover{
  background:linear-gradient(180deg, rgba(245,252,249,.95), rgba(239,244,250,.95)) !important;
  border-color:rgba(125,102,232,.28) !important;
  box-shadow:0 0 0 3px rgba(125,102,232,.06) !important;
}
.lc-editor-select option{background:#fbfdff !important;color:#2e3344 !important}
.lc-editor-surface-wrap{
  background:linear-gradient(135deg, rgba(115,208,180,.16), rgba(236,245,251,.42), rgba(125,102,232,.14)) !important;
  box-shadow:0 0 0 1px rgba(151,170,201,.10) !important;
}
.lc-editor-surface{
  background:rgba(255,255,255,.88) !important;
  border-color:rgba(151,170,201,.28) !important;
  color:#2e3344 !important;
  box-shadow:inset 0 0 24px rgba(236,245,251,.20) !important;
  caret-color:#4f5e79 !important;
}
.lc-editor-surface:focus{
  border-color:#7d66e8 !important;
  background:rgba(255,255,255,.94) !important;
}
.lc-rich-editor + .lc-help{color:#75839b !important}

/* ===== forum v16 admin ux + selection fix ===== */
::selection{background:rgba(125,102,232,.35);color:#243042}
::-moz-selection{background:rgba(125,102,232,.35);color:#243042}

.lc-admin-hero__grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:center}
.lc-admin-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lc-admin-tabs{position:sticky;top:88px;z-index:12;display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.lc-admin-tab{border:1px solid rgba(151,170,201,.24);background:rgba(255,255,255,.74);color:#596882;padding:10px 14px;border-radius:14px;font-weight:900;cursor:pointer}
.lc-admin-tab.is-active{background:linear-gradient(135deg,var(--accent2),var(--accent));color:#fff;border-color:transparent;box-shadow:0 12px 24px rgba(83,199,165,.16)}
.lc-admin-screen{display:none}
.lc-admin-screen.is-active{display:block}
.lc-admin-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lc-admin-shortcut{padding:16px 18px;border-radius:18px;border:1px solid rgba(151,170,201,.18);background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(244,249,252,.85));font-weight:900;color:#43526b;cursor:pointer;text-align:left}
.lc-admin-shortcut:hover{transform:translateY(-1px);border-color:rgba(125,102,232,.24)}
.lc-admin-stack{display:grid;gap:18px;align-content:start}
.lc-admin-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lc-admin-card{padding:14px;border-radius:20px;border:1px solid rgba(151,170,201,.18);background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(244,249,252,.80))}
.lc-admin-card summary{display:grid;gap:4px;cursor:pointer;list-style:none}
.lc-admin-card summary::-webkit-details-marker{display:none}
.lc-admin-card strong{font-size:18px;color:#2d3445}
.lc-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lc-color-grid label{display:grid;gap:6px;color:#5e6d86;font-weight:800}
.lc-color-grid .lc-input[type="color"]{padding:4px;height:46px;border-radius:14px}
.lc-perm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lc-perm-grid label{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.64);border:1px solid rgba(151,170,201,.16);color:#51607a;font-weight:700}
.lc-admin-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lc-admin-block{padding:14px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(244,249,252,.85));border:1px solid rgba(151,170,201,.18)}
.lc-admin-block h3{margin:0 0 10px;color:#344059}
.lc-admin-dropzone{display:grid;gap:8px;min-height:100px;padding:12px;border:2px dashed rgba(151,170,201,.20);border-radius:16px;background:rgba(255,255,255,.44)}
.lc-admin-dropzone.is-over{border-color:rgba(125,102,232,.42);background:rgba(125,102,232,.06)}
.lc-admin-cat{padding:10px 12px;border-radius:12px;background:linear-gradient(135deg,rgba(83,199,165,.12),rgba(125,102,232,.10));border:1px solid rgba(151,170,201,.18);cursor:grab;color:#38465e;font-weight:800}
.lc-admin-cat.is-dragging{opacity:.5}
.lc-role-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;border:1px solid var(--role-border-color,var(--role-color));background:var(--role-color,#7d66e8);color:#fff;font-weight:900;font-size:12px;letter-spacing:.03em}
.lc-table-scroll{overflow:auto}
.lc-select--mini{min-width:130px;margin-bottom:8px;padding:8px 10px;border-radius:12px}
.lc-theme-preview{padding:18px;border-radius:20px;background:linear-gradient(135deg,var(--panel),var(--panel2));border:1px solid rgba(151,170,201,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.lc-theme-preview__top{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.lc-theme-preview__top b{display:block;color:var(--text)}
.lc-theme-preview__top span{display:block;color:var(--muted);font-size:13px}
.lc-theme-preview__logo{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,var(--accent2),var(--accent));color:#fff;font-weight:900}
.lc-theme-preview__card{padding:16px;border-radius:18px;border:1px solid rgba(151,170,201,.16);background:rgba(255,255,255,.66)}
.lc-theme-preview__card b{display:block;color:var(--text);margin-bottom:6px}
.lc-theme-preview__card span{display:block;color:var(--muted);margin-bottom:12px}
.lc-theme-preview__buttons{display:flex;gap:10px;flex-wrap:wrap}
.lc-theme-preview__buttons i{font-style:normal;padding:10px 14px;border-radius:14px;font-weight:900}
.lc-theme-preview__buttons .is-main{background:linear-gradient(135deg,var(--accent2),var(--accent));color:#fff}
.lc-theme-preview__buttons .is-ghost{background:rgba(255,255,255,.75);border:1px solid rgba(151,170,201,.18);color:#55647d}
@media(max-width:980px){.lc-admin-hero__grid,.lc-admin-card-grid,.lc-admin-board,.lc-color-grid,.lc-perm-grid,.lc-admin-shortcuts{grid-template-columns:1fr}.lc-admin-tabs{top:12px;position:relative}}

/* ===== forum v17: main site header/navigation ===== */
.page{position:relative;z-index:1;min-height:100vh}
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:100;
  padding:16px 0;
}
.site-header::before{
  content:"";
  position:absolute;
  inset:8px 12px;
  border-radius:18px;
  background:rgba(245,252,249,.76);
  border:1px solid rgba(151,170,201,.22);
  box-shadow:0 14px 34px rgba(72,90,116,.12);
  backdrop-filter:blur(12px);
  z-index:-1;
}
.site-header__inner{
  width:min(1360px,calc(100% - 28px));
  margin:0 auto;
  min-height:58px;
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  align-items:center;
  gap:18px;
}
.brand-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.03em;
  color:var(--text);
}
.brand-logo-mini{
  width:46px;
  height:46px;
  border-radius:12px;
  position:relative;
  background:linear-gradient(135deg,var(--accent2),var(--accent));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 24px rgba(83,199,165,.18);
}
.brand-logo-mini::before,
.brand-logo-mini::after{
  content:"";
  position:absolute;
  background:rgba(255,255,255,.96);
  border-radius:3px;
}
.brand-logo-mini::before{width:13px;height:13px;left:8px;top:8px}
.brand-logo-mini::after{width:11px;height:11px;right:8px;bottom:8px}
.brand-text-main{font-size:1.12rem;color:var(--text)}
.site-nav{justify-self:center}
.site-nav__menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  padding:0;
}
.site-nav__menu>li{position:relative}
.site-nav__menu>li>a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  border-radius:12px;
  color:#65758d;
  font-weight:900;
  font-size:.92rem;
  letter-spacing:.04em;
  transition:background .22s ease,transform .22s ease,color .22s ease,box-shadow .22s ease;
}
.site-nav__menu>li>a:hover,
.site-nav__menu>li>a.is-active{
  background:linear-gradient(135deg,rgba(83,199,165,.16),rgba(125,102,232,.12));
  color:#394762;
  box-shadow:inset 0 0 0 1px rgba(125,102,232,.14);
  transform:translateY(-1px);
}
.site-nav__dropdown:hover .site-nav__submenu{opacity:1;visibility:visible;transform:translateY(0)}
.site-nav__submenu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:220px;
  list-style:none;
  margin:0;
  padding:10px;
  border-radius:16px;
  background:rgba(248,253,251,.98);
  border:1px solid rgba(151,170,201,.22);
  box-shadow:0 18px 38px rgba(72,90,116,.14);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:all .22s ease;
}
.site-nav__submenu a{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  color:#596882;
  font-weight:800;
}
.site-nav__submenu a:hover{background:rgba(125,102,232,.08);color:#394762}
.btn-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:12px;
  font-weight:900;
  letter-spacing:.03em;
  transition:transform .22s ease,box-shadow .22s ease;
}
.btn-pill--primary{
  color:#fff;
  background:linear-gradient(135deg,var(--accent2),var(--accent));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 16px 34px rgba(83,199,165,.18);
}
.btn-pill:hover{transform:translateY(-2px)}
.burger{
  display:none;
  width:50px;
  height:50px;
  border:0;
  border-radius:12px;
  background:rgba(255,255,255,.70);
  color:var(--text);
  padding:0;
  cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(151,170,201,.22);
}
.burger span{display:block;width:22px;height:2px;margin:5px auto;background:var(--text);border-radius:999px}
.forum-shell{margin-top:118px!important}
@media(max-width:1180px){
  .site-header__inner{grid-template-columns:auto 1fr auto;gap:12px}
  .site-nav{
    position:absolute;
    top:calc(100% + 8px);
    left:14px;
    right:14px;
    display:none;
  }
  .site-header.site-header--menu-open .site-nav{display:block}
  .site-nav__menu{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:14px;
    border-radius:18px;
    background:rgba(248,253,251,.98);
    border:1px solid rgba(151,170,201,.22);
    box-shadow:0 18px 38px rgba(72,90,116,.14);
  }
  .site-nav__menu>li>a{width:100%;justify-content:space-between}
  .site-nav__submenu{position:static;opacity:1;visibility:visible;transform:none;margin-top:8px;background:rgba(125,102,232,.04);box-shadow:none}
  .site-header__actions{display:none}
  .burger{display:inline-block;justify-self:end}
}
@media(max-width:560px){
  .site-header{padding:12px 0}
  .site-header::before{inset:6px 8px;border-radius:14px}
  .site-header__inner{width:calc(100% - 18px)}
  .brand-text-main{font-size:1rem}
  .brand-logo-mini{width:42px;height:42px}
  .forum-shell{margin-top:104px!important}
}

/* ===== forum v18: full report review + mute tools ===== */
.lc-report-list{display:grid;gap:14px}
.lc-report-card{
  border:1px solid rgba(151,170,201,.20);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.80),rgba(244,249,252,.84));
  overflow:hidden;
}
.lc-report-card summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  cursor:pointer;
  list-style:none;
  border-bottom:1px solid rgba(151,170,201,.14);
}
.lc-report-card summary::-webkit-details-marker{display:none}
.lc-report-card summary b{display:block;color:var(--text);font-size:18px;line-height:1.2}
.lc-report-card summary small{display:block;margin-top:5px;color:var(--muted);font-weight:700}
.lc-report-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:84px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  background:rgba(125,102,232,.10);
  color:#695bd2;
  border:1px solid rgba(125,102,232,.16);
}
.lc-report-status--new{background:rgba(232,111,149,.12);border-color:rgba(232,111,149,.20);color:#c45f81}
.lc-report-status--reviewed{background:rgba(83,199,165,.12);border-color:rgba(83,199,165,.20);color:#389d7e}
.lc-report-status--rejected{background:rgba(117,131,155,.12);border-color:rgba(117,131,155,.20);color:#66738a}
.lc-report-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;padding:18px}
.lc-report-main{display:grid;gap:14px;min-width:0}
.lc-report-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted)}
.lc-report-meta span{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.58);border:1px solid rgba(151,170,201,.14)}
.lc-report-meta b{color:var(--text)}
.lc-report-reason,
.lc-report-post{
  border:1px solid rgba(151,170,201,.16);
  border-radius:18px;
  background:rgba(255,255,255,.62);
  padding:14px;
}
.lc-report-reason>b,
.lc-report-post>b{display:block;margin-bottom:8px;color:var(--text);font-size:15px}
.lc-report-reason p{margin:0;color:var(--muted);line-height:1.55}
.lc-report-post__body{padding:14px!important;border-radius:14px;background:rgba(255,255,255,.72)!important;max-height:460px;overflow:auto}
.lc-report-actions{display:grid;gap:12px;align-content:start}
.lc-report-status-form,
.lc-mute-form{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.64);
  border:1px solid rgba(151,170,201,.16);
}
.lc-report-status-form label{font-weight:900;color:var(--text)}
.lc-mute-duration{display:grid;grid-template-columns:90px 1fr;gap:8px}
.lc-mute-item{border-color:rgba(232,111,149,.18)!important;background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,240,246,.56))!important}
.lc-mute-item p{margin:8px 0;color:var(--text);line-height:1.45}
@media(max-width:1100px){.lc-report-grid{grid-template-columns:1fr}.lc-report-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.lc-report-card summary{align-items:flex-start;flex-direction:column}.lc-report-actions{grid-template-columns:1fr}.lc-mute-duration{grid-template-columns:1fr}}

/* ===== forum v19: header skin head + player profiles ===== */
.site-nav__profile{display:flex;align-items:center}
.site-nav__profile-link{
  min-height:48px !important;
  width:54px;
  padding:0 !important;
  display:inline-grid !important;
  place-items:center;
  border-radius:18px !important;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(151,170,201,.20);
}
.site-nav__profile-link .lc-skin-head{
  --head-size:38px;
  border-radius:12px;
  margin:0;
  box-shadow:0 8px 18px rgba(72,90,116,.10);
}
.site-nav__profile-link:hover .lc-skin-head{transform:translateY(-1px)}

.lc-profile-page{
  --profile-accent:#7d66e8;
  --profile-card:#f8fdfb;
  --profile-text:#2b3344;
  position:relative;
  display:grid;
  gap:18px;
}
.lc-profile-page:before{
  content:"";
  position:absolute;
  inset:-18px;
  z-index:-1;
  border-radius:32px;
  background:
    var(--profile-bg, none),
    radial-gradient(circle at 10% 12%, color-mix(in srgb,var(--profile-accent) 18%, transparent), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(83,199,165,.16), transparent 26%);
  background-size:cover, auto, auto;
  background-position:center;
  opacity:.95;
}
.lc-profile-cover{
  min-height:250px;
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(151,170,201,.20);
  background:
    linear-gradient(90deg,rgba(31,41,55,.72),rgba(31,41,55,.18)),
    linear-gradient(135deg,color-mix(in srgb,var(--profile-accent) 60%,#53c7a5 40%),#7d66e8);
  background-size:cover;
  background-position:center;
  box-shadow:0 18px 44px rgba(72,90,116,.10);
}
.lc-profile-cover__inner{
  min-height:250px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:20px;
  align-items:end;
  padding:28px;
  color:#fff;
}
.lc-profile-cover__avatar .lc-skin-head{
  --head-size:96px;
  border-radius:24px;
  border:3px solid rgba(255,255,255,.70);
  box-shadow:0 18px 42px rgba(0,0,0,.28);
}
.lc-profile-cover__text h1{
  margin:12px 0 8px;
  font-size:clamp(32px,5vw,56px);
  line-height:.92;
  letter-spacing:-.04em;
  color:var(--profile-name-color,#fff);
  font-weight:var(--profile-name-weight,900);
  text-shadow:0 2px 18px rgba(0,0,0,.28),0 0 18px color-mix(in srgb,var(--profile-name-glow,#7d66e8) 56%,transparent),0 0 34px color-mix(in srgb,var(--profile-name-glow,#7d66e8) 32%,transparent);
}
.lc-profile-cover__text p{margin:0;color:rgba(255,255,255,.86);font-weight:800}
.lc-profile-grid{display:grid;grid-template-columns:300px 1fr;gap:18px;align-items:start}
.lc-profile-card{
  position:sticky;
  top:110px;
  border-radius:28px;
  padding:18px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--profile-card) 94%,#fff 6%),rgba(255,255,255,.82));
  border:1px solid color-mix(in srgb,var(--profile-accent) 22%,transparent);
  box-shadow:0 18px 44px rgba(72,90,116,.09);
  color:var(--profile-text);
}
.lc-profile-card__head{text-align:center;display:grid;justify-items:center;gap:10px}
.lc-profile-card__head .lc-skin-head{
  --head-size:112px;
  border-radius:24px;
  border:3px solid var(--profile-accent);
  box-shadow:0 16px 36px color-mix(in srgb,var(--profile-accent) 22%,transparent);
}
.lc-profile-card h2{margin:0;font-size:28px;line-height:1;color:var(--profile-name-color,var(--profile-text));font-weight:var(--profile-name-weight,900);text-shadow:0 0 14px color-mix(in srgb,var(--profile-name-glow,#7d66e8) 42%,transparent),0 0 26px color-mix(in srgb,var(--profile-name-glow,#7d66e8) 22%,transparent)}
.lc-profile-rank{display:grid;gap:4px;margin-top:4px;text-align:center}
.lc-profile-rank span{font-size:12px;color:var(--muted);font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.lc-profile-rank b{font-size:16px;color:var(--profile-accent)}
.lc-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}
.lc-profile-stats div{padding:12px 8px;border-radius:16px;background:rgba(255,255,255,.66);border:1px solid rgba(151,170,201,.18);text-align:center}
.lc-profile-stats b{display:block;font-size:22px;color:var(--profile-text);line-height:1}
.lc-profile-stats span{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase}
.lc-profile-facts{display:grid;gap:10px}
.lc-profile-facts div{padding:11px 12px;border-radius:16px;background:rgba(255,255,255,.55);border:1px solid rgba(151,170,201,.14)}
.lc-profile-facts b{display:block;margin-bottom:4px;color:var(--profile-text);font-size:13px}
.lc-profile-facts span,.lc-profile-facts a{color:var(--muted);font-size:13px}
.lc-profile-main{display:grid;gap:18px;min-width:0}
.lc-profile-bio{font-size:16px;line-height:1.65;color:var(--text)}
.lc-profile-list{display:grid;gap:10px}
.lc-profile-topic{display:grid;gap:5px;padding:14px 15px;border-radius:18px;background:rgba(255,255,255,.70);border:1px solid rgba(151,170,201,.16);color:inherit}
.lc-profile-topic:hover{border-color:color-mix(in srgb,var(--profile-accent) 30%,transparent);background:rgba(255,255,255,.92)}
.lc-profile-topic b{color:var(--text);font-size:16px}
.lc-profile-topic span{color:var(--muted);font-size:13px}
.lc-profile-topic em{font-style:normal;color:#69768d;line-height:1.45}

.lc-profile-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.lc-profile-settings-main{display:grid;gap:14px}
.lc-profile-settings-side{display:grid;gap:14px;position:sticky;top:110px}
.lc-profile-preview{
  display:grid;
  justify-items:center;
  gap:10px;
  text-align:center;
  padding:20px;
  border-radius:24px;
  background:linear-gradient(180deg,var(--profile-card),rgba(255,255,255,.82));
  border:1px solid color-mix(in srgb,var(--profile-accent) 22%,transparent);
  color:var(--profile-text);
}
.lc-profile-preview .lc-skin-head{
  --head-size:96px;
  border-radius:22px;
  border:3px solid var(--profile-accent);
}
.lc-profile-preview h2{margin:0;color:var(--profile-name-color,var(--profile-text));font-size:24px;font-weight:var(--profile-name-weight,900);text-shadow:0 0 14px color-mix(in srgb,var(--profile-name-glow,#7d66e8) 42%,transparent),0 0 26px color-mix(in srgb,var(--profile-name-glow,#7d66e8) 22%,transparent)}
.lc-profile-preview p{margin:0;color:var(--muted);font-weight:800}
.lc-profile-private{display:flex;gap:8px;align-items:flex-start;padding:13px;border-radius:16px;border:1px solid rgba(151,170,201,.18);background:rgba(255,255,255,.60);color:#596882;font-weight:800}
.lc-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lc-color-grid label{display:grid;gap:6px;color:#5e6d86;font-weight:800}
.lc-color-grid .lc-input[type="color"]{padding:4px;height:46px;border-radius:14px}
.lc-cat-topicrow__avatar{text-decoration:none}

@media(max-width:980px){
  .lc-profile-cover__inner{grid-template-columns:1fr;align-items:end}
  .lc-profile-grid,.lc-profile-settings-grid{grid-template-columns:1fr}
  .lc-profile-card,.lc-profile-settings-side{position:relative;top:auto}
}
@media(max-width:640px){
  .site-nav__profile-link{width:100%;justify-content:flex-start !important;padding:8px 12px !important}
  .lc-profile-cover__inner{padding:20px;min-height:220px}
  .lc-profile-cover__avatar .lc-skin-head{--head-size:78px}
  .lc-profile-stats{grid-template-columns:1fr}
  .lc-color-grid{grid-template-columns:1fr}
}

/* ===== forum v20 achievements ===== */
.lc-achievements-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lc-achievement{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border-radius:18px;border:1px solid color-mix(in srgb,var(--ach-color) 28%, transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--ach-color) 16%, #fff 84%),rgba(255,255,255,.72));box-shadow:0 10px 24px rgba(70,90,120,.08);overflow:hidden}
.lc-achievement:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--ach-color)}
.lc-achievement__icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--ach-color),color-mix(in srgb,var(--ach-color) 62%, #7d66e8 38%));color:#fff;font-size:22px;font-weight:900;box-shadow:0 10px 22px color-mix(in srgb,var(--ach-color) 25%, transparent)}
.lc-achievement__text{min-width:0;display:grid;gap:3px}
.lc-achievement__text b{color:#263044;font-size:15px;line-height:1.15}
.lc-achievement__text small{color:#738199;line-height:1.3}
.lc-achievement--locked{opacity:.56;filter:saturate(.55)}
.lc-achievement--locked .lc-achievement__icon{background:#c8d1dc;color:#fff;box-shadow:none}
.lc-achievement__bar{grid-column:1/-1;height:7px;border-radius:999px;background:rgba(120,140,165,.16);overflow:hidden}
.lc-achievement__bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--ach-color),#7d66e8)}
.lc-profile-ach-side{margin:16px 0;padding:14px;border-radius:18px;background:rgba(255,255,255,.54);border:1px solid rgba(151,170,201,.16)}
.lc-profile-ach-side h3{margin:0 0 12px;color:#2e3344;font-size:16px}
.lc-achievement-rail{position:relative;display:grid;gap:10px}
.lc-achievement-rail:before{content:"";position:absolute;left:15px;top:18px;bottom:18px;width:2px;background:rgba(140,155,180,.24)}
.lc-achievement-step{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:center;min-height:42px;opacity:.55}
.lc-achievement-step span{position:relative;z-index:1;width:32px;height:32px;border-radius:12px;display:grid;place-items:center;background:#d9e1eb;color:#fff;font-weight:900}
.lc-achievement-step b{color:#56647b;font-size:13px;line-height:1.1}
.lc-achievement-step small{grid-column:2;color:#8a96a8;font-size:12px;margin-top:-10px}
.lc-achievement-step.is-earned{opacity:1}
.lc-achievement-step.is-earned span{background:linear-gradient(135deg,var(--ach-color),#7d66e8);box-shadow:0 8px 18px color-mix(in srgb,var(--ach-color) 22%, transparent)}
.lc-achievement-step.is-earned b{color:#273044}
.lc-profile-achievements-panel .lc-panel__body{background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(244,249,252,.60))}
.lc-admin-card .lc-achievement{box-shadow:none;margin-bottom:8px}
.lc-admin-card .lc-achievement__text small{white-space:normal}
@media(max-width:860px){.lc-achievements-grid{grid-template-columns:1fr}}


/* ===== Forum v21: AJAX reactions ===== */
.lc-reactions.is-loading{opacity:.72;pointer-events:none}
.lc-reaction-form{display:inline-flex}
.lc-reaction.is-active span{color:inherit}


/* ===== Forum v22: clearer reaction counts + iPhone-like emoji feel ===== */
.lc-reactions{gap:10px}
.lc-reaction{
  min-height:44px;
  padding:8px 14px;
  gap:8px;
  border:1px solid rgba(169, 149, 216, .42);
  background:rgba(255,255,255,.78);
  color:#51446f;
  box-shadow:0 6px 18px rgba(125, 102, 175, .08);
}
.lc-reaction:hover{
  border-color:rgba(129, 110, 196, .72);
  background:rgba(255,255,255,.96);
}
.lc-reaction.is-active{
  border-color:rgba(109, 212, 177, .78);
  background:linear-gradient(180deg, rgba(232,255,248,.98), rgba(216,250,239,.96));
  color:#356557;
  box-shadow:0 0 0 3px rgba(109, 212, 177, .14), 0 8px 20px rgba(109, 212, 177, .12);
}
.lc-reaction__emoji{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  font-size:22px;
  line-height:1;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  font-variant-emoji: emoji;
}
.lc-reaction__count,
.lc-reaction span[data-reaction-count]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  padding:0 2px;
  font-size:14px;
  line-height:1;
  font-weight:900;
  color:#66557f;
  text-shadow:none;
}
.lc-reaction.is-active .lc-reaction__count,
.lc-reaction.is-active span[data-reaction-count]{
  color:#2f6958;
}
.lc-reaction:disabled .lc-reaction__emoji,
.lc-reaction:disabled .lc-reaction__count{
  opacity:.75;
}

/* ===== Forum v23: compact reaction buttons, bigger emojis ===== */
.lc-reactions{
  gap:8px;
}
.lc-reaction{
  min-height:36px;
  padding:5px 11px;
  gap:7px;
  border-radius:999px;
}
.lc-reaction__emoji{
  width:28px;
  height:28px;
  font-size:27px;
  line-height:1;
}
.lc-reaction__count,
.lc-reaction span[data-reaction-count]{
  min-width:18px;
  font-size:14px;
  font-weight:900;
}
@media(max-width:640px){
  .lc-reaction{
    min-height:34px;
    padding:5px 9px;
  }
  .lc-reaction__emoji{
    width:26px;
    height:26px;
    font-size:25px;
  }
}


/* ===== Forum v26: enlarged section/block icons without extra wrapper ===== */
/* Иконка блока в заголовке блока */
.lc-block-titleline{
  align-items:center;
  gap:18px;
}
.lc-block-titleline .lc-block-icon,
.lc-panel__head .lc-block-icon{
  width:74px !important;
  height:74px !important;
  flex:0 0 74px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.lc-block-titleline .lc-block-icon img,
.lc-panel__head .lc-block-icon img{
  width:74px !important;
  height:74px !important;
  max-width:none !important;
  object-fit:contain !important;
  image-rendering:auto;
  filter:drop-shadow(0 10px 18px rgba(92, 125, 160, .16));
}

/* Иконка раздела в строке раздела */
.lc-category-card{
  grid-template-columns:92px minmax(0,1fr) auto !important;
  align-items:stretch !important;
  min-height:104px;
  padding:0 18px 0 0 !important;
  gap:18px !important;
  overflow:hidden;
}
.lc-category-card__icon{
  width:92px !important;
  height:100% !important;
  min-height:104px !important;
  align-self:stretch !important;
  flex:0 0 92px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:6px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.lc-category-card__icon img{
  width:100% !important;
  height:100% !important;
  max-width:92px !important;
  max-height:104px !important;
  object-fit:contain !important;
  image-rendering:auto;
  filter:drop-shadow(0 10px 18px rgba(92, 125, 160, .14));
}
.lc-category-card__icon:not(:has(img)){
  font-size:44px;
  color:var(--accent);
}
.lc-category-card > span:nth-child(2){
  align-self:center;
  min-width:0;
}
.lc-category-meta{
  align-self:center;
}

@media(max-width:640px){
  .lc-category-card{
    grid-template-columns:76px minmax(0,1fr) !important;
    min-height:92px;
    padding:0 12px 0 0 !important;
  }
  .lc-category-card__icon{
    display:flex !important;
    width:76px !important;
    min-height:92px !important;
    flex-basis:76px !important;
  }
  .lc-category-card__icon img{
    max-width:76px !important;
    max-height:92px !important;
  }
  .lc-category-meta{
    grid-column:2;
    justify-content:flex-start;
  }
}

/* ===== Forum v29: real 20% desktop scale + scaled site header ===== */
@media (min-width: 981px){
  :root{
    --scale:1 !important;
  }

  .site-header{
    padding:12px 0 !important;
  }

  .site-header::before{
    inset:6px 10px !important;
    border-radius:16px !important;
  }

  .site-header__inner{
    width:min(1088px,calc(100% - 22px)) !important;
    min-height:46px !important;
    gap:14px !important;
  }

  .brand-link{gap:10px !important;}
  .brand-logo-mini{
    width:37px !important;
    height:37px !important;
    border-radius:10px !important;
  }
  .brand-logo-mini::before{
    width:10px !important;
    height:10px !important;
    left:6px !important;
    top:6px !important;
  }
  .brand-logo-mini::after{
    width:9px !important;
    height:9px !important;
    right:6px !important;
    bottom:6px !important;
  }
  .brand-text-main{font-size:.92rem !important;}

  .site-nav__menu{gap:6px !important;}
  .site-nav__menu > li > a{
    min-height:35px !important;
    padding:0 11px !important;
    border-radius:10px !important;
    font-size:.74rem !important;
  }

  .site-nav__submenu{
    min-width:176px !important;
    padding:8px !important;
    border-radius:13px !important;
  }
  .site-nav__submenu a{
    padding:10px 12px !important;
    border-radius:10px !important;
    font-size:.85rem !important;
  }

  .site-nav__profile-link{
    min-height:38px !important;
    width:44px !important;
    border-radius:14px !important;
  }
  .site-nav__profile-link .lc-skin-head{
    --head-size:30px !important;
    border-radius:10px !important;
  }

  .btn-pill{
    min-height:40px !important;
    padding:0 16px !important;
    border-radius:10px !important;
    font-size:.8rem !important;
  }

  .burger{
    width:40px !important;
    height:40px !important;
    border-radius:10px !important;
  }
  .burger span{
    width:18px !important;
    margin:4px auto !important;
  }

  .forum-shell{
    width:min(1475px, calc((100% - 44px) / .8)) !important;
    transform:scale(.8) !important;
    transform-origin:top center;
    margin:92px auto -78px !important;
  }

  .lc-footer{
    width:min(1475px, calc((100% - 44px) / .8)) !important;
    transform:scale(.8) !important;
    transform-origin:top center;
    margin:0 auto -8px !important;
  }
}

@media (max-width: 980px){
  :root{
    --scale:1 !important;
  }

  .forum-shell,
  .lc-footer{
    transform:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

/* ===== Forum v30: horizontal centering correction ===== */
@media (min-width: 981px){
  .site-header__inner,
  .forum-shell,
  .lc-footer{
    position:relative;
    left:clamp(-56px, -3vw, -32px) !important;
  }
}

@media (max-width: 980px){
  .site-header__inner,
  .forum-shell,
  .lc-footer{
    left:auto !important;
  }
}


/* ===== forum v31: profile nickname style settings ===== */
.lc-profile-name{
  color:var(--profile-name-color,var(--profile-text)) !important;
  font-weight:var(--profile-name-weight,900) !important;
  text-shadow:0 0 14px color-mix(in srgb,var(--profile-name-glow,#7d66e8) 45%,transparent),0 0 28px color-mix(in srgb,var(--profile-name-glow,#7d66e8) 24%,transparent);
}
.lc-profile-settings .lc-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:640px){.lc-profile-settings .lc-color-grid{grid-template-columns:1fr}}

/* ===== Forum v32: topic image loading + image resize handles ===== */
.lc-editor-surface img,
.lc-post__body img{
  max-width:100%;
  object-fit:contain;
}

.lc-editor-surface img{
  cursor:nwse-resize;
}

.lc-editor-surface img:hover{
  outline:2px solid rgba(125,102,232,.36);
  outline-offset:3px;
}

.lc-image-resizer{
  position:absolute;
  z-index:99999;
  display:none;
  pointer-events:none;
  border:2px solid rgba(125,102,232,.92);
  border-radius:10px;
  box-shadow:0 0 0 4px rgba(125,102,232,.12), 0 14px 30px rgba(42,52,74,.18);
}

.lc-image-resizer.is-visible{
  display:block;
}

.lc-image-resizer__handle{
  position:absolute;
  width:13px;
  height:13px;
  border-radius:50%;
  background:linear-gradient(135deg,#53c7a5,#7d66e8);
  border:2px solid #fff;
  box-shadow:0 4px 10px rgba(42,52,74,.20);
  pointer-events:auto;
}

.lc-image-resizer__handle--nw{left:-8px;top:-8px;cursor:nwse-resize}
.lc-image-resizer__handle--n{left:50%;top:-8px;transform:translateX(-50%);cursor:ns-resize}
.lc-image-resizer__handle--ne{right:-8px;top:-8px;cursor:nesw-resize}
.lc-image-resizer__handle--e{right:-8px;top:50%;transform:translateY(-50%);cursor:ew-resize}
.lc-image-resizer__handle--se{right:-8px;bottom:-8px;cursor:nwse-resize}
.lc-image-resizer__handle--s{left:50%;bottom:-8px;transform:translateX(-50%);cursor:ns-resize}
.lc-image-resizer__handle--sw{left:-8px;bottom:-8px;cursor:nesw-resize}
.lc-image-resizer__handle--w{left:-8px;top:50%;transform:translateY(-50%);cursor:ew-resize}

/* ===== Forum v34: stable editor commands + real image resize/alignment ===== */
.lc-editor-surface img,
.lc-post__body img{
  max-width:100%;
  object-fit:fill;
  background:transparent !important;
}

.lc-editor-surface img{
  cursor:nwse-resize;
  user-select:none;
}

.lc-editor-surface img.lc-editor-image-active{
  outline:2px solid rgba(125,102,232,.82);
  outline-offset:4px;
}

.lc-editor-toolbar button[data-action="imageCenter"],
.lc-editor-toolbar button[data-action="imageFull"]{
  min-width:76px;
}

.lc-post__body img[style*="margin-left:auto"],
.lc-editor-surface img[style*="margin-left:auto"]{
  margin-left:auto !important;
}

.lc-post__body img[style*="margin-right:auto"],
.lc-editor-surface img[style*="margin-right:auto"]{
  margin-right:auto !important;
}

.lc-post__body img[style*="width:100%"],
.lc-editor-surface img[style*="width:100%"]{
  width:100% !important;
  height:auto;
}

.lc-post__body img[style*="object-fit:fill"],
.lc-editor-surface img[style*="object-fit:fill"]{
  object-fit:fill !important;
}

.lc-image-resizer{
  background:rgba(125,102,232,.035);
}

/* ===== Forum v35: images without frame/card in topic body ===== */
.lc-post__body img,
.lc-editor-surface img{
  border:none !important;
  box-shadow:none !important;
  background:transparent !important;
  padding:0 !important;
}

.lc-post__body img{
  border-radius:0 !important;
}

.lc-editor-surface img:not(.lc-editor-image-active):not(:hover){
  outline:none !important;
}


/* ===== Forum v36: images keep natural/default size, not full row ===== */
.lc-post__body img,
.lc-editor-surface img{
  width:auto;
  max-width:min(100%, 860px) !important;
  height:auto;
}

.lc-post__body img[style*="width:100%"],
.lc-post__body img[style*="width: 100%"],
.lc-editor-surface img[style*="width:100%"],
.lc-editor-surface img[style*="width: 100%"]{
  width:100% !important;
  max-width:100% !important;
}

.lc-post__body img[style*="height:"],
.lc-editor-surface img[style*="height:"]{
  height:var(--lc-img-height, auto);
}

/* ===== Forum v37: category moderation rules and topic review statuses ===== */
.lc-topic-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-left:6px;
  font-weight:900;
}
.lc-topic-status--pending{
  background:#fff7d7 !important;
  border-color:rgba(217,180,75,.35) !important;
  color:#a47c16 !important;
}
.lc-topic-status--approved{
  background:#eafbf5 !important;
  border-color:rgba(83,199,165,.32) !important;
  color:#2f9678 !important;
}
.lc-topic-status--rejected{
  background:#fff0f4 !important;
  border-color:rgba(228,111,149,.30) !important;
  color:#c25b7e !important;
}

.lc-topic-status--comment{
  background:linear-gradient(135deg,rgba(126,255,210,.20),rgba(177,132,255,.18)) !important;
  border-color:rgba(125,102,232,.30) !important;
  color:#45516c !important;
  max-width:100%;
  white-space:normal;
  line-height:1.25;
  text-align:left;
}
.lc-topic-status-info{
  margin:0 22px 22px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(244,249,252,.80));
  border:1px solid rgba(151,170,201,.18);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  color:#52627c;
  font-weight:800;
}
.lc-topic-status-info small{
  flex-basis:100%;
  color:#74819a;
  font-weight:700;
}
.lc-topic-status-form{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding:8px;
  border-radius:16px;
  background:rgba(255,255,255,.54);
  border:1px solid rgba(151,170,201,.16);
}
.lc-topic-status-note{
  min-width:320px;
  width:min(520px, 100%);
  padding:9px 12px;
}
.lc-admin-optionbox{
  display:grid;
  gap:5px;
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(244,249,252,.78));
  border:1px solid rgba(151,170,201,.18);
}
.lc-admin-optionbox label{
  color:#33405a;
  font-weight:900;
}
.lc-admin-optionbox span{
  color:#73809a;
  font-size:13px;
  line-height:1.35;
}
.lc-cat-lock--moderation{
  background:#fff7d7 !important;
  color:#9a7418 !important;
  border-color:rgba(217,180,75,.30) !important;
}
.lc-cat-lock--status{
  background:#eef0ff !important;
  color:#6f5edf !important;
  border-color:rgba(125,102,232,.26) !important;
}
@media(max-width:760px){
  .lc-topic-status-form{align-items:stretch}
  .lc-topic-status-form .lc-select--mini,
  .lc-topic-status-note{width:100%;min-width:0}
}

/* ===== v40: moderation two separate rules ===== */
.lc-topic-status-select{
  min-width:210px;
  padding:9px 12px;
}
.lc-admin-optionbox + .lc-admin-optionbox{
  margin-top:8px;
}


/* ===== Forum v42: PNG home banner ===== */
.lc-hero--banner{
  min-height:290px;
  background:
    url("forum-home-banner.png") center center / cover no-repeat,
    linear-gradient(135deg,rgba(238,255,250,.95),rgba(242,236,255,.95)) !important;
}
.lc-hero--banner:before{
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 58%,rgba(20,24,42,.10) 100%) !important;
}
.lc-hero--banner .lc-stat{
  background:rgba(255,255,255,.72);
  border-color:rgba(205,216,232,.55);
  color:#2d3448;
}
.lc-hero--banner .lc-stat span{
  color:#697692;
}

/* ===== v44 complaints, notifications, mail ===== */
.site-nav__iconitem{display:flex;align-items:center}.site-nav__iconlink{position:relative;min-width:42px;min-height:42px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:14px;background:rgba(255,255,255,.62);border:1px solid rgba(151,170,201,.28);font-size:18px;padding:0!important;box-shadow:0 8px 20px rgba(95,116,150,.10)}.site-nav__iconlink span{position:absolute;right:-5px;top:-7px;min-width:19px;height:19px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,#ff4f7f,#db00ff);color:#fff;font-size:11px;font-weight:900;box-shadow:0 8px 18px rgba(219,0,255,.24)}
.lc-complaint-shell{margin-bottom:18px}.lc-complaint-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px 16px}.lc-complaint-nav a{padding:10px 13px;border-radius:14px;font-weight:900;color:#65728e;background:rgba(255,255,255,.42);border:1px solid rgba(151,170,201,.22)}.lc-complaint-nav a:hover,.lc-complaint-nav a.is-active{color:#fff;background:linear-gradient(135deg,var(--accent2),var(--accent));border-color:transparent}.lc-check{display:flex;align-items:center;gap:9px;font-weight:700;color:#6c7891}.lc-check input{width:18px;height:18px;accent-color:var(--accent)}#evidenceList{display:grid;gap:8px}.lc-complaint-list{display:grid;gap:12px}.lc-complaint-card{border:1px solid rgba(151,170,201,.24);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.76),rgba(246,250,252,.70));overflow:hidden}.lc-complaint-card summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px}.lc-complaint-card summary::-webkit-details-marker{display:none}.lc-complaint-body{padding:0 16px 16px;color:#39445a}.lc-complaint-body p{margin:8px 0}.lc-complaint-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;border:1px solid rgba(151,170,201,.24);background:#fff}.lc-complaint-status--new{color:#784dff;background:#efeaff}.lc-complaint-status--pending{color:#b47a00;background:#fff4d8}.lc-complaint-status--closed{color:#0d956b;background:#ddfff2}.lc-complaint-status--rejected{color:#d42f5f;background:#ffe4ed}.lc-complaint-review{margin-top:12px;padding-top:12px;border-top:1px solid rgba(151,170,201,.18)}
.lc-message-list{display:grid;gap:12px}.lc-message-item{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:14px;border-radius:18px;border:1px solid rgba(151,170,201,.22);background:linear-gradient(180deg,rgba(255,255,255,.80),rgba(245,250,252,.72));color:#2f3a52}.lc-message-item.is-unread{border-color:rgba(125,102,232,.38);box-shadow:0 0 0 3px rgba(125,102,232,.08)}.lc-message-item.is-own{background:linear-gradient(180deg,rgba(238,255,249,.88),rgba(244,240,255,.82))}.lc-message-item b{display:block;color:#2b3344}.lc-message-item span{display:block;color:#74809a;font-size:12px;font-weight:800;margin-top:3px}.lc-message-item p{margin:8px 0 0;color:#354058;line-height:1.55}.lc-mini-item.is-unread{border-color:rgba(125,102,232,.40);background:linear-gradient(135deg,rgba(230,255,248,.9),rgba(244,235,255,.88))}
.lc-empty--compact{padding:16px;font-size:13px}.lc-visitor-list{display:grid;gap:9px}.lc-visitor{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:10px 12px;border-radius:15px;border:1px solid rgba(151,170,201,.16);background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(244,249,252,.72));color:#2d3445}.lc-visitor:hover{transform:translateY(-1px);border-color:rgba(125,102,232,.26);background:linear-gradient(135deg,rgba(223,255,247,.88),rgba(241,232,255,.86))}.lc-visitor__dot{width:10px;height:10px;border-radius:999px;background:#b8c3d7;box-shadow:0 0 0 4px rgba(184,195,215,.14)}.lc-visitor__dot--online{background:#49d49d;box-shadow:0 0 0 4px rgba(73,212,157,.16),0 0 14px rgba(73,212,157,.35)}.lc-visitor__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:900;color:#2f3a52}.lc-visitor__time{white-space:nowrap;font-size:12px;font-weight:800;color:#73809b}
@media(max-width:980px){.site-nav__iconlink{min-width:38px;min-height:38px}.lc-grid[style]{grid-template-columns:1fr!important}.lc-message-item{display:grid}}

/* ===== v45: header cleanup + complaints page polish ===== */
@media (min-width:981px){
  .site-header__inner{
    grid-template-columns:auto 1fr auto !important;
  }
}

.lc-category-card--complaints{
  background:
    linear-gradient(135deg, rgba(255,248,242,.92), rgba(243,239,255,.86));
  border-color:rgba(214,126,88,.22);
}
.lc-category-card--complaints:hover{
  background:
    linear-gradient(135deg, rgba(255,241,230,.98), rgba(235,244,255,.94));
  border-color:rgba(214,126,88,.36);
}
.lc-category-card__icon--complaints{
  font-size:34px;
  background:linear-gradient(135deg, rgba(255,218,184,.78), rgba(198,179,255,.54));
  border-color:rgba(214,126,88,.22);
}

.lc-complaints-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:22px;
  padding:28px;
  margin-bottom:16px;
  background:
    radial-gradient(circle at 8% 12%, rgba(84,213,173,.18), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(125,102,232,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(242,251,248,.72));
}
.lc-complaints-hero:before{
  content:"";
  position:absolute;
  right:-70px;
  top:-90px;
  width:260px;
  height:260px;
  border-radius:42px;
  transform:rotate(20deg);
  background:linear-gradient(135deg, rgba(84,213,173,.22), rgba(125,102,232,.20));
  pointer-events:none;
}
.lc-complaints-hero__main,
.lc-complaints-hero__stats{
  position:relative;
  z-index:1;
}
.lc-complaints-kicker{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 13px;
  border-radius:999px;
  background:rgba(255,255,255,.68);
  border:1px solid rgba(151,170,201,.20);
  color:#66748f;
  font-size:13px;
  font-weight:900;
}
.lc-complaints-hero h1{
  margin:14px 0 8px;
  font-size:clamp(34px, 4vw, 56px);
  line-height:.95;
  letter-spacing:-.045em;
  color:#2b3448;
}
.lc-complaints-hero p{
  max-width:760px;
  margin:0;
  color:#687691;
  font-size:16px;
  line-height:1.55;
}
.lc-complaints-hero__stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(110px, 1fr));
  gap:10px;
}
.lc-complaints-hero__stats div{
  min-width:112px;
  padding:16px 14px;
  border-radius:20px;
  text-align:center;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(151,170,201,.18);
  box-shadow:0 12px 26px rgba(81,104,134,.10);
}
.lc-complaints-hero__stats b{
  display:block;
  color:#2b3448;
  font-size:24px;
  font-weight:900;
}
.lc-complaints-hero__stats span{
  display:block;
  margin-top:4px;
  color:#75829e;
  font-size:12px;
  font-weight:800;
}
.lc-complaint-tabs{
  margin-bottom:16px;
}
.lc-complaint-tabs .lc-complaint-nav{
  padding:10px;
}
.lc-complaint-tabs .lc-complaint-nav a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:14px;
  background:rgba(255,255,255,.70);
  color:#63728e;
}
.lc-complaint-tabs .lc-complaint-nav a.is-active,
.lc-complaint-tabs .lc-complaint-nav a:hover{
  color:#fff;
  background:linear-gradient(135deg,var(--accent2),var(--accent));
}
.lc-complaints-layout{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(420px, 1.1fr);
  gap:18px;
  align-items:start;
}
.lc-complaint-form-panel,
.lc-complaint-list-panel{
  background:
    radial-gradient(circle at 0 0, rgba(84,213,173,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(246,251,252,.74));
}
.lc-complaint-form .lc-field label,
.lc-complaint-review .lc-field label{
  color:#2f3b52;
}
.lc-complaint-form .lc-input,
.lc-complaint-form .lc-textarea,
.lc-complaint-form .lc-select,
.lc-complaint-review .lc-input,
.lc-complaint-review .lc-textarea,
.lc-complaint-review .lc-select{
  background:rgba(255,255,255,.90);
  border-color:rgba(151,170,201,.28);
  color:#2e394f;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.lc-complaint-form .lc-input::placeholder,
.lc-complaint-form .lc-textarea::placeholder{
  color:#99a4b8;
}
.lc-complaint-form__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.lc-evidence-box{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:start;
}
.lc-evidence-list{
  display:grid;
  gap:8px;
}
.lc-complaint-anon{
  padding:13px 14px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(243,255,251,.82), rgba(244,240,255,.78));
  border:1px solid rgba(151,170,201,.18);
}
.lc-complaint-anon span{
  display:grid;
  gap:2px;
}
.lc-complaint-anon b{
  color:#2f3b52;
}
.lc-complaint-anon em{
  color:#74809a;
  font-style:normal;
  font-size:13px;
}
.lc-complaint-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.lc-complaint-card summary>span:first-child{
  display:grid;
  gap:4px;
}
.lc-complaint-card summary em{
  font-style:normal;
  color:#78849e;
  font-size:12px;
  font-weight:800;
}
.lc-complaint-info{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:10px 0 12px;
}
.lc-complaint-info span{
  display:grid;
  gap:3px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(151,170,201,.16);
  color:#344057;
}
.lc-complaint-info b{
  color:#75829c;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.lc-report-reason--admin{
  border-color:rgba(84,213,173,.26) !important;
  background:linear-gradient(135deg, rgba(228,255,247,.90), rgba(241,235,255,.82)) !important;
}
@media(max-width:980px){
  .lc-complaints-hero,
  .lc-complaints-layout,
  .lc-complaint-form__grid,
  .lc-evidence-box,
  .lc-complaint-info{
    grid-template-columns:1fr;
  }
  .lc-complaint-actions{
    justify-content:flex-start;
  }
}


/* ===== Admin category permissions v47 ===== */
.lc-admin-perm-table th,
.lc-admin-perm-table td{
  vertical-align:top;
}
.lc-admin-perm-stack{
  display:grid;
  gap:8px;
  min-width:230px;
}
.lc-admin-perm-row{
  display:grid;
  grid-template-columns:1fr minmax(112px, 135px);
  gap:8px;
  align-items:center;
  padding:7px 8px;
  border:1px solid rgba(134,151,177,.16);
  border-radius:12px;
  background:rgba(255,255,255,.56);
}
.lc-admin-perm-row span{
  color:#4c5872;
  font-size:12px;
  font-weight:900;
  line-height:1.15;
}
.lc-admin-perm-row .lc-select{
  min-height:34px;
  padding:6px 10px;
  border-radius:10px;
  font-size:12px;
}

/* ===== Forum v49 editor numeric font size ===== */
.lc-editor-select[data-size]{
  min-width:96px;
}

/* ===== Forum v51: larger header notification, mail and profile buttons ===== */
.site-nav__iconitem,
.site-nav__profile{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.site-nav__iconlink,
.site-nav__profile-link{
  position:relative !important;
  width:56px !important;
  min-width:56px !important;
  height:56px !important;
  min-height:56px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:18px !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.96), rgba(255,255,255,.72) 54%, rgba(238,247,250,.72) 100%) !important;
  border:1px solid rgba(139,157,188,.34) !important;
  box-shadow:
    0 10px 22px rgba(103,119,160,.14),
    inset 0 1px 0 rgba(255,255,255,.86) !important;
  backdrop-filter:blur(8px);
  color:#2f3a52 !important;
  line-height:1 !important;
  overflow:visible !important;
}

.site-nav__iconlink{
  font-size:26px !important;
  text-shadow:0 1px 0 rgba(255,255,255,.75) !important;
}

.site-nav__iconlink:hover,
.site-nav__profile-link:hover{
  transform:translateY(-2px) !important;
  border-color:rgba(125,102,232,.48) !important;
  box-shadow:
    0 14px 26px rgba(103,119,160,.18),
    0 0 0 4px rgba(125,102,232,.08),
    inset 0 1px 0 rgba(255,255,255,.92) !important;
}

.site-nav__iconlink span{
  position:absolute !important;
  top:-7px !important;
  right:-7px !important;
  min-width:23px !important;
  height:23px !important;
  padding:0 6px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#ff4f91,#bf38ff) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1 !important;
  box-shadow:
    0 5px 14px rgba(191,56,255,.32),
    0 0 0 3px rgba(246,252,250,.96) !important;
  z-index:5 !important;
}

.site-nav__profile-link .lc-skin-head{
  --head-size:44px !important;
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  border-radius:14px !important;
  border:2px solid rgba(207,183,255,.90) !important;
  background:#fff !important;
  box-shadow:
    0 6px 14px rgba(125,102,232,.16),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
  margin:0 !important;
}

.site-nav__profile-link .lc-skin-head-img{
  border-radius:11px !important;
}

@media (min-width:981px){
  .site-nav__iconlink,
  .site-nav__profile-link{
    width:48px !important;
    min-width:48px !important;
    height:48px !important;
    min-height:48px !important;
    border-radius:16px !important;
  }

  .site-nav__iconlink{
    font-size:23px !important;
  }

  .site-nav__profile-link .lc-skin-head{
    --head-size:38px !important;
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    border-radius:13px !important;
  }
}

@media (max-width:760px){
  .site-nav__iconlink,
  .site-nav__profile-link{
    width:46px !important;
    min-width:46px !important;
    height:46px !important;
    min-height:46px !important;
    border-radius:15px !important;
  }

  .site-nav__iconlink{
    font-size:21px !important;
  }

  .site-nav__profile-link .lc-skin-head{
    --head-size:36px !important;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    border-radius:12px !important;
  }
}

/* ===== Forum v52: Quill editor integration ===== */
.lc-quill-editor{
  padding:18px;
  border-radius:26px;
  background:
    radial-gradient(circle at 10% 0%,rgba(108,214,184,.14),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.88),rgba(244,250,248,.82));
  border:1px solid rgba(151,170,201,.22);
  box-shadow:0 20px 48px rgba(43,58,86,.12);
}

.lc-quill-toolbar.ql-toolbar.ql-snow{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  padding:12px;
  border:1px solid rgba(151,170,201,.20);
  border-radius:20px 20px 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(239,248,246,.86));
  font-family:"Exo 2",system-ui,sans-serif;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-formats{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin:0;
  padding-right:9px;
  border-right:1px solid rgba(151,170,201,.16);
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-formats:last-child{
  border-right:0;
  padding-right:0;
}

.lc-quill-toolbar.ql-toolbar.ql-snow button,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-label{
  min-width:36px;
  min-height:36px;
  border-radius:12px;
  border:1px solid rgba(151,170,201,.22);
  background:rgba(255,255,255,.78);
  color:#2f3a52;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}

.lc-quill-toolbar.ql-toolbar.ql-snow button:hover,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-label:hover,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{
  border-color:rgba(125,102,232,.35);
  background:linear-gradient(135deg,rgba(221,255,247,.92),rgba(241,232,255,.88));
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker{
  color:#2f3a52;
  font-weight:900;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-options{
  border:1px solid rgba(151,170,201,.20);
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 34px rgba(43,58,86,.16);
  padding:6px;
  max-height:280px;
  overflow:auto;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-header{width:140px;}
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-font{width:135px;}
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-size{width:96px;}
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-color,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-background,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-align{width:48px;}

.lc-quill-toolbar.ql-toolbar.ql-snow .lc-quill-extra-btn{
  width:auto;
  min-width:42px;
  padding:0 10px;
  font-weight:900;
  font-size:15px;
  color:#5f44ba;
}

.lc-quill-surface.ql-container.ql-snow{
  border:1px solid rgba(151,170,201,.20);
  border-top:0;
  border-radius:0 0 20px 20px;
  background:rgba(255,255,255,.92);
  color:#2f3a52;
  font-family:"Exo 2",system-ui,sans-serif;
  font-size:17px;
  line-height:1.72;
  min-height:340px;
}

.lc-quill-surface.ql-container.ql-snow .ql-editor{
  min-height:340px;
  padding:22px 24px;
  color:#2f3a52;
  overflow-wrap:anywhere;
}

.lc-reply-box .lc-quill-surface.ql-container.ql-snow,
.lc-reply-box .lc-quill-surface.ql-container.ql-snow .ql-editor{
  min-height:250px;
}

.lc-quill-surface .ql-editor.ql-blank::before{
  color:rgba(86,98,126,.55);
  font-style:normal;
  left:24px;
  right:24px;
  font-family:"Exo 2",system-ui,sans-serif;
}

.lc-quill-surface .ql-editor a{
  color:#16b989;
  font-weight:900;
  text-decoration:none;
  border-bottom:1px dashed rgba(22,185,137,.45);
}

.lc-quill-surface .ql-editor img{
  display:block;
  max-width:100%;
  height:auto;
  margin:12px 0;
  border:0;
  box-shadow:none;
  border-radius:0;
}

.lc-quill-surface .ql-editor img.lc-quill-image-active{
  outline:3px solid rgba(125,102,232,.60);
  outline-offset:3px;
}

.lc-quill-surface .ql-editor blockquote{
  border-left:5px solid #7e66e8;
  margin:14px 0;
  padding:10px 14px;
  border-radius:0 14px 14px 0;
  background:rgba(126,102,232,.08);
  color:#46536e;
}

.lc-quill-surface .ql-editor pre.ql-syntax,
.lc-quill-surface .ql-editor pre{
  background:#182134;
  color:#eff7ff;
  border-radius:16px;
  padding:14px;
  white-space:pre-wrap;
}

.lc-quill-fallback{
  min-height:320px;
  padding:22px 24px;
  border:1px solid rgba(151,170,201,.20);
  border-radius:18px;
  background:#fff;
  color:#2f3a52;
  outline:none;
}

@media(max-width:760px){
  .lc-quill-editor{padding:12px;border-radius:20px;}
  .lc-quill-toolbar.ql-toolbar.ql-snow{gap:7px;padding:10px;border-radius:16px 16px 0 0;}
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-formats{border-right:0;padding-right:0;}
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-header,
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-font{width:118px;}
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-size{width:86px;}
  .lc-quill-surface.ql-container.ql-snow,
  .lc-quill-surface.ql-container.ql-snow .ql-editor{min-height:280px;}
  .lc-reply-box .lc-quill-surface.ql-container.ql-snow,
  .lc-reply-box .lc-quill-surface.ql-container.ql-snow .ql-editor{min-height:220px;}
}


/* ===== Forum v53: cleaner Quill editor toolbar + auto image URL mode ===== */
.lc-quill-editor{
  position:relative;
  padding:18px !important;
  border-radius:28px !important;
  border:1px solid rgba(135,155,185,.20) !important;
  background:
    radial-gradient(circle at 12% -8%,rgba(103,218,183,.18),transparent 34%),
    radial-gradient(circle at 100% 0%,rgba(160,125,245,.16),transparent 28%),
    linear-gradient(180deg,rgba(255,255,255,.92),rgba(244,251,248,.88)) !important;
  box-shadow:
    0 22px 54px rgba(48,64,92,.13),
    inset 0 1px 0 rgba(255,255,255,.82) !important;
  overflow:hidden;
}

.lc-quill-editor::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.18;
  background:
    linear-gradient(135deg,transparent 0 44%,rgba(126,102,232,.16) 44% 52%,transparent 52%),
    linear-gradient(45deg,transparent 0 45%,rgba(69,211,172,.12) 45% 52%,transparent 52%);
  background-size:84px 84px;
}

.lc-quill-toolbar.ql-toolbar.ql-snow,
.lc-quill-surface.ql-container.ql-snow{
  position:relative;
  z-index:1;
}

.lc-quill-toolbar.ql-toolbar.ql-snow{
  align-items:center !important;
  gap:10px !important;
  padding:14px 16px !important;
  border:1px solid rgba(135,155,185,.18) !important;
  border-bottom:0 !important;
  border-radius:22px 22px 0 0 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.92),rgba(248,252,251,.84)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    0 14px 28px rgba(56,74,106,.06) !important;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-formats{
  gap:7px !important;
  padding:6px 10px !important;
  border-right:0 !important;
  border-radius:17px !important;
  background:rgba(255,255,255,.58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 8px 18px rgba(68,85,115,.055) !important;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-link,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-image,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-imageCenter,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-imageFull,
.lc-quill-toolbar.ql-toolbar.ql-snow .lc-quill-extra-btn{
  display:none !important;
}

.lc-quill-toolbar.ql-toolbar.ql-snow button,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-label{
  min-width:38px !important;
  min-height:38px !important;
  border-radius:13px !important;
  border:1px solid rgba(127,150,183,.20) !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.94),rgba(237,247,246,.86)) !important;
  color:#34405a !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 5px 12px rgba(56,74,106,.06) !important;
}

.lc-quill-toolbar.ql-toolbar.ql-snow button:hover,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-label:hover,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,
.lc-quill-toolbar.ql-toolbar.ql-snow button.ql-active,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-label.ql-active{
  border-color:rgba(126,102,232,.42) !important;
  background:
    linear-gradient(135deg,rgba(211,255,244,.96),rgba(239,229,255,.94)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 0 0 4px rgba(126,102,232,.07),
    0 10px 18px rgba(56,74,106,.08) !important;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker{
  height:38px !important;
  color:#34405a !important;
  font-weight:900 !important;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-label{
  display:flex !important;
  align-items:center !important;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-options{
  border:1px solid rgba(127,150,183,.22) !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.98) !important;
  box-shadow:0 18px 40px rgba(56,74,106,.16) !important;
}

.lc-quill-toolbar.ql-toolbar.ql-snow .ql-header{width:150px !important;}
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-font{width:142px !important;}
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-size{width:108px !important;}
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-color,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-background,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-align{width:48px !important;}

.lc-quill-surface.ql-container.ql-snow{
  border:1px solid rgba(135,155,185,.18) !important;
  border-top:0 !important;
  border-radius:0 0 22px 22px !important;
  background:
    radial-gradient(circle at 12% 0%,rgba(103,218,183,.08),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(251,253,254,.94)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72) !important;
}

.lc-quill-surface.ql-container.ql-snow .ql-editor{
  padding:24px 26px !important;
  min-height:360px !important;
  color:#303a50 !important;
  font-size:17px !important;
  line-height:1.72 !important;
}

.lc-reply-box .lc-quill-surface.ql-container.ql-snow,
.lc-reply-box .lc-quill-surface.ql-container.ql-snow .ql-editor{
  min-height:260px !important;
}

.lc-quill-surface .ql-editor img{
  display:block !important;
  width:auto;
  max-width:100% !important;
  height:auto;
  margin:14px 0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  cursor:default;
}

.lc-quill-surface .ql-editor img.lc-quill-image-active{
  outline:3px solid rgba(126,102,232,.58) !important;
  outline-offset:5px !important;
  cursor:nwse-resize !important;
}

body.lc-quill-image-resizing,
body.lc-quill-image-resizing *{
  cursor:nwse-resize !important;
  user-select:none !important;
}

@media(max-width:760px){
  .lc-quill-editor{padding:12px !important;border-radius:22px !important;}
  .lc-quill-toolbar.ql-toolbar.ql-snow{gap:8px !important;padding:12px !important;border-radius:18px 18px 0 0 !important;}
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-formats{padding:5px 7px !important;}
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-header,
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-font{width:124px !important;}
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-size{width:92px !important;}
  .lc-quill-surface.ql-container.ql-snow .ql-editor{padding:18px !important;min-height:280px !important;}
}

/* ===== Forum v54: clearer topbar tools ===== */
.site-nav__menu .site-nav__iconitem,
.site-nav__menu .site-nav__profile{
  margin-left:8px !important;
}
.site-nav__iconlink,
.site-nav__profile-link{
  width:58px !important;
  min-width:58px !important;
  height:58px !important;
  min-height:58px !important;
  border-radius:19px !important;
  background:
    radial-gradient(circle at 28% 18%,rgba(255,255,255,1),rgba(255,255,255,.88) 44%,rgba(232,246,250,.96) 100%) !important;
  border:2px solid rgba(131,153,190,.36) !important;
  box-shadow:
    0 12px 26px rgba(75,96,137,.16),
    0 0 0 4px rgba(255,255,255,.34),
    inset 0 1px 0 rgba(255,255,255,.95) !important;
  backdrop-filter:blur(10px) saturate(1.15) !important;
  opacity:1 !important;
}
.site-nav__iconlink{
  font-size:28px !important;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",system-ui,sans-serif !important;
  filter:saturate(1.35) contrast(1.08) !important;
  text-shadow:0 2px 0 rgba(255,255,255,.9),0 8px 16px rgba(87,106,149,.20) !important;
}
.site-nav__iconlink[href*="notifications"]{
  background:
    radial-gradient(circle at 28% 18%,rgba(255,255,255,1),rgba(255,247,223,.96) 48%,rgba(236,248,244,.98) 100%) !important;
}
.site-nav__iconlink[href*="mail"]{
  background:
    radial-gradient(circle at 28% 18%,rgba(255,255,255,1),rgba(244,237,255,.98) 48%,rgba(237,250,248,.98) 100%) !important;
}
.site-nav__iconlink:hover,
.site-nav__profile-link:hover{
  transform:translateY(-2px) scale(1.025) !important;
  border-color:rgba(126,102,232,.62) !important;
  box-shadow:
    0 16px 30px rgba(75,96,137,.20),
    0 0 0 5px rgba(126,102,232,.10),
    inset 0 1px 0 rgba(255,255,255,1) !important;
}
.site-nav__iconlink span{
  top:-9px !important;
  right:-9px !important;
  min-width:25px !important;
  height:25px !important;
  padding:0 7px !important;
  font-size:12px !important;
  background:linear-gradient(135deg,#ff3f91 0%,#c500ff 100%) !important;
  box-shadow:
    0 7px 16px rgba(197,0,255,.30),
    0 0 0 4px rgba(246,252,250,.98) !important;
}
.site-nav__profile-link{
  background:
    radial-gradient(circle at 28% 18%,rgba(255,255,255,1),rgba(248,240,255,.96) 48%,rgba(234,249,246,.98) 100%) !important;
}
.site-nav__profile-link .lc-skin-head{
  --head-size:46px !important;
  width:46px !important;
  min-width:46px !important;
  height:46px !important;
  border-radius:16px !important;
  border:3px solid rgba(203,178,255,.96) !important;
  box-shadow:
    0 8px 18px rgba(126,102,232,.20),
    0 0 0 3px rgba(255,255,255,.88),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.site-nav__profile-link .lc-skin-head-img{
  border-radius:12px !important;
  image-rendering:pixelated !important;
}
@media (min-width:981px){
  .site-nav__iconlink,
  .site-nav__profile-link{
    width:54px !important;
    min-width:54px !important;
    height:54px !important;
    min-height:54px !important;
  }
  .site-nav__iconlink{font-size:26px !important;}
  .site-nav__profile-link .lc-skin-head{
    --head-size:43px !important;
    width:43px !important;
    min-width:43px !important;
    height:43px !important;
  }
}
@media (max-width:760px){
  .site-nav__menu .site-nav__iconitem,
  .site-nav__menu .site-nav__profile{margin-left:0 !important;}
  .site-nav__iconlink,
  .site-nav__profile-link{
    width:48px !important;
    min-width:48px !important;
    height:48px !important;
    min-height:48px !important;
  }
  .site-nav__iconlink{font-size:23px !important;}
  .site-nav__profile-link .lc-skin-head{
    --head-size:38px !important;
    width:38px !important;
    min-width:38px !important;
    height:38px !important;
  }
}

/* ===== v55 editor repair: stable local toolbar look ===== */
.lc-forum-editor,
.lc-quill-editor{
  padding:16px !important;
  border-radius:26px !important;
  border:1px solid rgba(153,174,205,.28) !important;
  background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(236,255,248,.68) 52%,rgba(245,237,255,.70)) !important;
  box-shadow:0 20px 46px rgba(94,109,150,.12), inset 0 1px 0 rgba(255,255,255,.88) !important;
}

.lc-editor-toolbar,
.lc-quill-toolbar.ql-toolbar.ql-snow{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  min-height:auto !important;
  padding:12px !important;
  border:0 !important;
  border-radius:20px !important;
  background:rgba(255,255,255,.72) !important;
  box-shadow:inset 0 0 0 1px rgba(153,174,205,.22), 0 12px 26px rgba(111,128,171,.10) !important;
  font-family:"Exo 2",system-ui,sans-serif !important;
}

.lc-editor-toolbar .ql-formats,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-formats{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  margin:0 !important;
  padding:4px 8px !important;
  border-right:1px solid rgba(139,160,195,.18) !important;
}

.lc-editor-toolbar .ql-formats:last-child,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-formats:last-child{
  border-right:0 !important;
}

.lc-editor-toolbar select,
.lc-quill-toolbar.ql-toolbar.ql-snow select,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-picker-label{
  height:38px !important;
  min-width:116px !important;
  padding:0 12px !important;
  border-radius:13px !important;
  border:1px solid rgba(153,174,205,.28) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(243,249,255,.88)) !important;
  color:#334057 !important;
  font-weight:900 !important;
  font-size:14px !important;
  box-shadow:0 6px 14px rgba(111,128,171,.08), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.lc-editor-toolbar .ql-size,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-size{min-width:88px !important;width:92px !important;}
.lc-editor-toolbar .ql-font,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-font{min-width:130px !important;width:130px !important;}
.lc-editor-toolbar .ql-header,
.lc-quill-toolbar.ql-toolbar.ql-snow .ql-header{min-width:150px !important;width:150px !important;}

.lc-editor-btn,
.lc-editor-toolbar button,
.lc-quill-toolbar.ql-toolbar.ql-snow button{
  width:auto !important;
  min-width:40px !important;
  height:38px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 12px !important;
  border:1px solid rgba(153,174,205,.28) !important;
  border-radius:13px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(241,248,255,.88)) !important;
  color:#334057 !important;
  font-family:"Exo 2",system-ui,sans-serif !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1 !important;
  box-shadow:0 6px 14px rgba(111,128,171,.08), inset 0 1px 0 rgba(255,255,255,.9) !important;
  cursor:pointer !important;
}

.lc-editor-toolbar button:hover,
.lc-quill-toolbar.ql-toolbar.ql-snow button:hover,
.lc-editor-toolbar select:hover{
  transform:translateY(-1px);
  border-color:rgba(126,111,236,.42) !important;
  background:linear-gradient(135deg,rgba(225,255,248,.96),rgba(242,232,255,.94)) !important;
  color:#2d3445 !important;
}

.lc-editor-toolbar .ql-stroke,
.lc-quill-toolbar .ql-stroke{stroke:currentColor !important;}
.lc-editor-toolbar .ql-fill,
.lc-quill-toolbar .ql-fill{fill:currentColor !important;}
.lc-editor-toolbar svg,
.lc-quill-toolbar svg{width:18px !important;height:18px !important;}

.lc-editor-color{
  height:38px !important;
  min-width:78px !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:0 10px !important;
  border:1px solid rgba(153,174,205,.28) !important;
  border-radius:13px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(241,248,255,.88)) !important;
  color:#334057 !important;
  font-size:15px !important;
  font-weight:900 !important;
  cursor:pointer !important;
  box-shadow:0 6px 14px rgba(111,128,171,.08), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.lc-editor-color input[type="color"]{
  width:32px !important;
  height:22px !important;
  padding:0 !important;
  border:1px solid rgba(93,105,130,.20) !important;
  border-radius:6px !important;
  background:transparent !important;
  cursor:pointer !important;
}

.lc-quill-surface.ql-container.ql-snow,
.lc-editor-surface,
.lc-quill-fallback{
  margin-top:12px !important;
  border:1px solid rgba(153,174,205,.26) !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 14px 32px rgba(111,128,171,.09) !important;
  overflow:hidden !important;
}

.lc-quill-surface .ql-editor,
.lc-editor-surface.ql-container .ql-editor,
.lc-quill-fallback .ql-editor{
  min-height:340px !important;
  padding:22px !important;
  color:#2d3445 !important;
  font-size:16px !important;
  line-height:1.65 !important;
  outline:none !important;
}

.lc-reply-box .lc-quill-surface .ql-editor,
.lc-reply-box .lc-quill-fallback .ql-editor{min-height:240px !important;}

.lc-quill-surface .ql-editor.ql-blank::before,
.lc-quill-fallback .ql-editor:empty::before{
  content:attr(data-placeholder);
  color:#91a0ba;
  font-style:normal !important;
  font-weight:700;
}

.lc-quill-surface .ql-editor img,
.lc-quill-fallback .ql-editor img,
.lc-post-body img{
  display:inline-block !important;
  width:auto;
  height:auto;
  max-width:100% !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  vertical-align:middle;
}

.lc-quill-surface .ql-editor img.lc-quill-image-active,
.lc-quill-fallback .ql-editor img.lc-quill-image-active{
  outline:3px solid rgba(126,111,236,.45) !important;
  outline-offset:4px !important;
  cursor:nwse-resize !important;
}

body.lc-quill-image-resizing,
body.lc-quill-image-resizing *{cursor:nwse-resize !important;user-select:none !important;}

/* ===== v55 header tools stronger visibility ===== */
.site-nav__profile-link,
.lc-header-tool,
.header-tool-btn,
.site-header .lc-notify-link,
.site-header .lc-mail-link{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(230,255,248,.82) 48%,rgba(244,235,255,.86)) !important;
  border:1px solid rgba(126,111,236,.28) !important;
  box-shadow:0 12px 26px rgba(92,109,150,.14), inset 0 1px 0 rgba(255,255,255,.95) !important;
  color:#334057 !important;
}

.site-header .lc-notify-link,
.site-header .lc-mail-link,
.lc-header-tool,
.header-tool-btn{
  font-size:25px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.site-nav__profile-link .lc-skin-head,
.site-header .lc-skin-head{
  --head-size:44px !important;
  width:44px !important;
  height:44px !important;
  border-radius:14px !important;
  border:2px solid rgba(202,175,255,.95) !important;
  box-shadow:0 0 0 4px rgba(126,111,236,.12), 0 8px 18px rgba(92,109,150,.16) !important;
}

.lc-header-badge,
.header-tool-btn__badge,
.site-header .lc-unread-badge{
  min-width:24px !important;
  height:24px !important;
  padding:0 7px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#ff5db1,#bf38ff) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
  box-shadow:0 0 0 3px rgba(246,250,250,.96), 0 6px 13px rgba(191,56,255,.30) !important;
}

@media (max-width: 760px){
  .lc-editor-toolbar,
  .lc-quill-toolbar.ql-toolbar.ql-snow{gap:7px !important;padding:10px !important;}
  .lc-editor-toolbar .ql-formats,
  .lc-quill-toolbar.ql-toolbar.ql-snow .ql-formats{gap:6px !important;padding:4px !important;border-right:0 !important;}
  .lc-editor-toolbar select,
  .lc-quill-toolbar.ql-toolbar.ql-snow select{min-width:100px !important;width:100px !important;font-size:13px !important;}
  .lc-editor-btn,
  .lc-editor-toolbar button,
  .lc-quill-toolbar.ql-toolbar.ql-snow button{min-width:36px !important;height:36px !important;padding:0 9px !important;font-size:13px !important;}
  .lc-quill-surface .ql-editor,
  .lc-quill-fallback .ql-editor{min-height:280px !important;padding:18px !important;}
  .site-nav__profile-link,
  .lc-header-tool,
  .header-tool-btn,
  .site-header .lc-notify-link,
  .site-header .lc-mail-link{width:48px !important;height:48px !important;min-width:48px !important;border-radius:15px !important;font-size:21px !important;}
  .site-nav__profile-link .lc-skin-head,
  .site-header .lc-skin-head{--head-size:36px !important;width:36px !important;height:36px !important;border-radius:12px !important;}
}

/* ===== Forum v56: TinyMCE full editor ===== */
.lc-tinymce-editor{
  padding:18px !important;
  border-radius:28px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.84), rgba(239,255,250,.76)),
    radial-gradient(circle at 8% 0%, rgba(112,224,205,.18), transparent 34%),
    radial-gradient(circle at 98% 20%, rgba(154,126,255,.18), transparent 34%) !important;
  border:1px solid rgba(170,190,220,.34) !important;
  box-shadow:0 20px 54px rgba(76,97,134,.12) !important;
  overflow:visible !important;
}

.lc-tinymce-editor .tox.tox-tinymce{
  border:1px solid rgba(156,176,210,.34) !important;
  border-radius:24px !important;
  overflow:hidden !important;
  background:rgba(255,255,255,.86) !important;
  box-shadow:0 16px 36px rgba(77,94,132,.12) !important;
}

.lc-tinymce-editor .tox .tox-editor-header{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,250,250,.9)) !important;
  border-bottom:1px solid rgba(157,178,208,.28) !important;
  box-shadow:none !important;
  padding:10px 12px !important;
}

.lc-tinymce-editor .tox .tox-menubar,
.lc-tinymce-editor .tox .tox-toolbar,
.lc-tinymce-editor .tox .tox-toolbar__primary,
.lc-tinymce-editor .tox .tox-toolbar-overlord{
  background:transparent !important;
}

.lc-tinymce-editor .tox .tox-mbtn,
.lc-tinymce-editor .tox .tox-tbtn,
.lc-tinymce-editor .tox .tox-split-button{
  border-radius:13px !important;
  color:#354158 !important;
}

.lc-tinymce-editor .tox .tox-tbtn{
  width:auto !important;
  min-width:36px !important;
  height:36px !important;
  margin:3px 2px !important;
  background:rgba(255,255,255,.72) !important;
  border:1px solid rgba(154,174,205,.22) !important;
}

.lc-tinymce-editor .tox .tox-tbtn:hover,
.lc-tinymce-editor .tox .tox-mbtn:hover,
.lc-tinymce-editor .tox .tox-tbtn--enabled,
.lc-tinymce-editor .tox .tox-tbtn--active{
  background:linear-gradient(135deg, rgba(106,218,194,.22), rgba(139,112,246,.20)) !important;
  border-color:rgba(124,112,232,.28) !important;
  color:#26314a !important;
}

.lc-tinymce-editor .tox .tox-tbtn svg{
  fill:#3b4863 !important;
}

.lc-tinymce-editor .tox .tox-edit-area__iframe{
  background:#ffffff !important;
}

.lc-tinymce-editor .tox .tox-statusbar{
  background:rgba(248,252,255,.95) !important;
  border-top:1px solid rgba(157,178,208,.25) !important;
  color:#70809c !important;
}

.lc-tinymce-editor textarea.lc-tinymce-fallback{
  display:block !important;
  width:100% !important;
  min-height:380px !important;
  padding:18px !important;
  border:1px solid rgba(157,178,208,.34) !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.86) !important;
  color:#2d3445 !important;
  resize:vertical !important;
}

.lc-post__content img,
.lc-topic-body img,
.lc-rendered-body img,
.lc-editor-surface img{
  max-width:100%;
  height:auto;
}

@media (max-width: 760px){
  .lc-tinymce-editor{padding:12px !important;border-radius:22px !important;}
  .lc-tinymce-editor .tox.tox-tinymce{border-radius:18px !important;}
  .lc-tinymce-editor .tox .tox-editor-header{padding:8px !important;}
}

/* ===== v57: restore compact header icons/profile ===== */
.site-nav__iconitem,
.site-nav__profile{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.site-nav__iconlink,
.site-nav__profile-link,
.site-header .lc-notify-link,
.site-header .lc-mail-link,
.lc-header-tool,
.header-tool-btn{
  width:44px !important;
  min-width:44px !important;
  height:44px !important;
  min-height:44px !important;
  padding:0 !important;
  border-radius:14px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(255,255,255,.52) !important;
  border:1px solid rgba(150,170,205,.24) !important;
  box-shadow:
    0 7px 16px rgba(84,105,145,.08),
    inset 0 1px 0 rgba(255,255,255,.72) !important;
  color:#526079 !important;
  font-size:18px !important;
  line-height:1 !important;
  text-shadow:none !important;
  overflow:visible !important;
  backdrop-filter:blur(8px) !important;
  transform:none !important;
}

.site-nav__iconlink:hover,
.site-nav__profile-link:hover,
.site-header .lc-notify-link:hover,
.site-header .lc-mail-link:hover,
.lc-header-tool:hover,
.header-tool-btn:hover{
  transform:translateY(-1px) !important;
  background:rgba(255,255,255,.68) !important;
  border-color:rgba(125,102,232,.32) !important;
  box-shadow:
    0 9px 18px rgba(84,105,145,.10),
    0 0 0 3px rgba(125,102,232,.055),
    inset 0 1px 0 rgba(255,255,255,.80) !important;
}

.site-nav__iconlink span,
.lc-header-badge,
.header-tool-btn__badge,
.site-header .lc-unread-badge{
  position:absolute !important;
  top:-5px !important;
  right:-5px !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#ff5db1,#bf38ff) !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:900 !important;
  line-height:1 !important;
  box-shadow:0 0 0 2px rgba(246,252,250,.96),0 4px 10px rgba(191,56,255,.20) !important;
  z-index:10 !important;
}

.site-nav__profile-link .lc-skin-head,
.site-header .lc-skin-head{
  --head-size:34px !important;
  width:34px !important;
  min-width:34px !important;
  height:34px !important;
  min-height:34px !important;
  border-radius:11px !important;
  border:2px solid rgba(205,185,255,.72) !important;
  background:rgba(255,255,255,.80) !important;
  box-shadow:0 4px 10px rgba(125,102,232,.10),inset 0 1px 0 rgba(255,255,255,.82) !important;
  margin:0 !important;
}

.site-nav__profile-link .lc-skin-head-img,
.site-header .lc-skin-head-img{
  border-radius:8px !important;
}

@media (max-width:760px){
  .site-nav__iconlink,
  .site-nav__profile-link,
  .site-header .lc-notify-link,
  .site-header .lc-mail-link,
  .lc-header-tool,
  .header-tool-btn{
    width:40px !important;
    min-width:40px !important;
    height:40px !important;
    min-height:40px !important;
    border-radius:13px !important;
    font-size:17px !important;
  }

  .site-nav__profile-link .lc-skin-head,
  .site-header .lc-skin-head{
    --head-size:30px !important;
    width:30px !important;
    min-width:30px !important;
    height:30px !important;
    min-height:30px !important;
    border-radius:10px !important;
  }
}

/* ===== v60: clean header icons, no outer frames ===== */
.site-nav__iconitem,
.site-nav__profile{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.site-nav__iconlink,
.site-nav__profile-link,
.site-header .lc-notify-link,
.site-header .lc-mail-link,
.lc-header-tool,
.header-tool-btn{
  width:42px !important;
  min-width:42px !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 !important;
  margin:0 2px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  outline:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  color:#5e6b84 !important;
  line-height:1 !important;
  text-shadow:none !important;
  overflow:visible !important;
  transform:none !important;
}

.site-nav__iconlink:hover,
.site-nav__profile-link:hover,
.site-header .lc-notify-link:hover,
.site-header .lc-mail-link:hover,
.lc-header-tool:hover,
.header-tool-btn:hover{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  transform:translateY(-1px) !important;
}

.site-nav__iconlink[href*="notifications"],
.site-header .lc-notify-link,
.lc-header-tool[href*="notifications"],
.header-tool-btn[href*="notifications"]{
  font-size:27px !important;
}

.site-nav__iconlink[href*="mail"],
.site-header .lc-mail-link,
.lc-header-tool[href*="mail"],
.header-tool-btn[href*="mail"]{
  font-size:28px !important;
}

.site-nav__iconlink[href*="notifications"]::first-letter,
.site-nav__iconlink[href*="mail"]::first-letter,
.site-header .lc-notify-link::first-letter,
.site-header .lc-mail-link::first-letter{
  font-size:inherit !important;
}

.site-nav__iconlink > svg,
.site-header .lc-notify-link > svg,
.site-header .lc-mail-link > svg,
.lc-header-tool > svg,
.header-tool-btn > svg{
  width:27px !important;
  height:27px !important;
  display:block !important;
}

.site-nav__profile-link .lc-skin-head,
.site-header .lc-skin-head{
  --head-size:42px !important;
  width:42px !important;
  min-width:42px !important;
  height:42px !important;
  min-height:42px !important;
  border-radius:13px !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  margin:0 !important;
}

.site-nav__profile-link .lc-skin-head-img,
.site-header .lc-skin-head-img,
.site-nav__profile-link .lc-head-layer,
.site-header .lc-head-layer{
  border-radius:13px !important;
}

.site-nav__iconlink span,
.lc-header-badge,
.header-tool-btn__badge,
.site-header .lc-unread-badge{
  top:-2px !important;
  right:-2px !important;
  min-width:19px !important;
  height:19px !important;
  padding:0 5px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#ff4fa3,#b934ff) !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:900 !important;
  box-shadow:0 0 0 2px rgba(247,252,250,.96),0 5px 12px rgba(185,52,255,.25) !important;
}

@media (max-width:760px){
  .site-nav__iconlink,
  .site-nav__profile-link,
  .site-header .lc-notify-link,
  .site-header .lc-mail-link,
  .lc-header-tool,
  .header-tool-btn{
    width:38px !important;
    min-width:38px !important;
    height:38px !important;
    min-height:38px !important;
  }

  .site-nav__iconlink[href*="notifications"],
  .site-header .lc-notify-link,
  .lc-header-tool[href*="notifications"],
  .header-tool-btn[href*="notifications"]{
    font-size:24px !important;
  }

  .site-nav__iconlink[href*="mail"],
  .site-header .lc-mail-link,
  .lc-header-tool[href*="mail"],
  .header-tool-btn[href*="mail"]{
    font-size:25px !important;
  }

  .site-nav__profile-link .lc-skin-head,
  .site-header .lc-skin-head{
    --head-size:36px !important;
    width:36px !important;
    min-width:36px !important;
    height:36px !important;
    min-height:36px !important;
    border-radius:12px !important;
  }
}


/* ===== v61: hero button colors ===== */
.lc-actions--hero .lc-btn--create{
  background:linear-gradient(135deg,#52d681 0%,#20b96a 48%,#12a85c 100%) !important;
  color:#fff !important;
  border-color:rgba(31,190,105,.36) !important;
  box-shadow:0 14px 32px rgba(32,185,106,.24), inset 0 1px 0 rgba(255,255,255,.28) !important;
}
.lc-actions--hero .lc-btn--search{
  background:linear-gradient(135deg,#8fe7ff 0%,#55c7ee 48%,#5f8dff 100%) !important;
  color:#fff !important;
  border-color:rgba(85,199,238,.38) !important;
  box-shadow:0 14px 32px rgba(85,199,238,.22), inset 0 1px 0 rgba(255,255,255,.30) !important;
}
.lc-actions--hero .lc-btn--admin{
  background:linear-gradient(135deg,#ff7b7b 0%,#ff3d64 48%,#d91f48 100%) !important;
  color:#fff !important;
  border-color:rgba(255,61,100,.40) !important;
  box-shadow:0 14px 32px rgba(255,61,100,.24), inset 0 1px 0 rgba(255,255,255,.28) !important;
}
.lc-actions--hero .lc-btn--create:hover,
.lc-actions--hero .lc-btn--search:hover,
.lc-actions--hero .lc-btn--admin:hover{
  transform:translateY(-2px);
  filter:saturate(1.06) brightness(1.02);
}

/* ===== v62: reliable Minecraft skin head renderer + better permission UI ===== */
.lc-skin-head{
  position:relative;
  width:var(--head-size);
  height:var(--head-size);
  min-width:var(--head-size);
  display:inline-grid;
  place-items:center;
  overflow:hidden;
  isolation:isolate;
  image-rendering:pixelated;
  vertical-align:middle;
}
.lc-skin-head .lc-head-fallback-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  image-rendering:pixelated;
  border:0 !important;
  box-shadow:none !important;
  margin:0 !important;
}
.lc-skin-head .lc-head-fallback-img{
  position:relative;
  z-index:1;
}
.lc-skin-head .lc-head-layer{
  position:absolute !important;
  inset:0 !important;
  display:none;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  opacity:1 !important;
  pointer-events:none;
  user-select:none;
  background-image:var(--skin-url) !important;
  background-repeat:no-repeat !important;
  background-size:calc(var(--head-size) * 8) auto !important;
  image-rendering:pixelated;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  margin:0 !important;
}
.lc-skin-head.has-skin .lc-head-layer{
  display:block !important;
}
.lc-skin-head.has-skin .lc-head-base{
  z-index:2;
  background-position:calc(var(--head-size) * -1) calc(var(--head-size) * -1) !important;
}
.lc-skin-head.has-skin .lc-head-overlay{
  z-index:3;
  background-position:calc(var(--head-size) * -5) calc(var(--head-size) * -1) !important;
}
.lc-profile-cover__avatar .lc-skin-head,
.lc-profile-card__head .lc-skin-head,
.lc-profile-preview .lc-skin-head{
  background:rgba(255,255,255,.72);
}
.lc-profile-cover__avatar .lc-skin-head{border-radius:24px}
.lc-profile-card__head .lc-skin-head{border-radius:24px}
.lc-profile-preview .lc-skin-head{border-radius:22px}

.lc-permission-intro .lc-panel__head{align-items:flex-start}
.lc-permission-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  gap:16px;
  align-items:stretch;
}
.lc-permission-guide{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.lc-permission-guide div{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(151,170,201,.18);
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(244,249,252,.78));
}
.lc-permission-guide b{
  display:block;
  color:#2e3344;
  font-size:15px;
  margin-bottom:4px;
}
.lc-permission-guide span{
  display:block;
  color:#75839b;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
}
.lc-permission-search{
  display:grid;
  gap:8px;
  align-content:start;
}
.lc-permission-search label{
  color:#5f6f88;
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.lc-permission-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin-top:18px;
}
.lc-permission-form{display:grid;gap:14px}
.lc-permission-scope-list{display:grid;gap:12px}
.lc-permission-scope{
  border:1px solid rgba(151,170,201,.18);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(244,249,252,.76));
  overflow:hidden;
}
.lc-permission-scope[open]{box-shadow:0 14px 30px rgba(72,90,116,.06)}
.lc-permission-scope summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.lc-permission-scope summary::-webkit-details-marker{display:none}
.lc-permission-scope summary span{display:grid;gap:4px;min-width:0}
.lc-permission-scope summary b{
  color:#2e3344;
  font-size:18px;
  line-height:1.15;
}
.lc-permission-scope summary small{
  color:#75839b;
  font-weight:800;
  line-height:1.35;
}
.lc-permission-scope summary em{
  flex:0 0 auto;
  font-style:normal;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(125,102,232,.10);
  color:#6f5edf;
  font-size:12px;
  font-weight:900;
}
.lc-permission-role-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:12px;
  padding:0 14px 14px;
}
.lc-permission-role-card{
  border:1px solid color-mix(in srgb,var(--role-color,#7d66e8) 22%,rgba(151,170,201,.18));
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(248,252,255,.84));
  overflow:hidden;
}
.lc-permission-role-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 13px;
  border-bottom:1px solid rgba(151,170,201,.14);
  background:linear-gradient(90deg,color-mix(in srgb,var(--role-color,#7d66e8) 14%,transparent),transparent);
}
.lc-permission-role-card__head b{
  color:#2e3344;
  font-size:15px;
  line-height:1.15;
}
.lc-permission-role-card__head span{
  color:color-mix(in srgb,var(--role-color,#7d66e8) 72%,#2e3344 28%);
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.lc-permission-fields{display:grid;gap:8px;padding:12px}
.lc-permission-field{
  display:grid;
  grid-template-columns:minmax(0,1fr) 124px;
  gap:10px;
  align-items:center;
  padding:9px 10px;
  border:1px solid rgba(151,170,201,.14);
  border-radius:14px;
  background:rgba(255,255,255,.60);
}
.lc-permission-field span{display:grid;gap:2px;min-width:0}
.lc-permission-field b{
  color:#3a465d;
  font-size:13px;
  line-height:1.15;
}
.lc-permission-field small{
  color:#7c89a1;
  font-size:11px;
  line-height:1.25;
  font-weight:700;
}
.lc-permission-field .lc-select{
  min-height:34px;
  padding:6px 8px;
  border-radius:10px;
  font-size:12px;
}
.lc-permission-actions{
  position:sticky;
  bottom:12px;
  z-index:5;
  display:flex;
  justify-content:flex-end;
  padding:12px;
  border:1px solid rgba(151,170,201,.16);
  border-radius:18px;
  background:rgba(248,253,251,.86);
  backdrop-filter:blur(10px);
  box-shadow:0 12px 30px rgba(72,90,116,.08);
}
@media(max-width:980px){
  .lc-permission-toolbar{grid-template-columns:1fr}
  .lc-permission-guide{grid-template-columns:1fr}
  .lc-permission-role-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .lc-permission-scope summary{align-items:flex-start;flex-direction:column}
  .lc-permission-field{grid-template-columns:1fr}
  .lc-permission-actions{position:static;justify-content:stretch}
  .lc-permission-actions .lc-btn{width:100%}
}

/* ===== v63: final skin-head safety after file restore ===== */
.lc-skin-head{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate !important;
  image-rendering:pixelated !important;
}
.lc-skin-head .lc-head-fallback-img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  image-rendering:pixelated !important;
  margin:0 !important;
  border:0 !important;
  box-shadow:none !important;
}
.lc-skin-head .lc-head-layer{
  position:absolute !important;
  inset:0 !important;
  display:none !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  background-image:var(--skin-url) !important;
  background-repeat:no-repeat !important;
  background-size:calc(var(--head-size) * 8) auto !important;
  image-rendering:pixelated !important;
  pointer-events:none !important;
  user-select:none !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.lc-skin-head.has-skin .lc-head-layer{
  display:block !important;
}
.lc-skin-head.has-skin .lc-head-base{
  z-index:2 !important;
  background-position:calc(var(--head-size) * -1) calc(var(--head-size) * -1) !important;
}
.lc-skin-head.has-skin .lc-head-overlay{
  z-index:3 !important;
  background-position:calc(var(--head-size) * -5) calc(var(--head-size) * -1) !important;
}

/* ===== v64: красивое оформление ограничений в админке ===== */
.lc-admin-screen[data-admin-screen="permissions"]{
  display:none;
  gap:18px;
}
.lc-admin-screen[data-admin-screen="permissions"].is-active{
  display:grid;
}
.lc-admin-screen[data-admin-screen="permissions"] .lc-panel{
  overflow:visible;
}
.lc-admin-screen[data-admin-screen="permissions"] .lc-panel__head{
  align-items:flex-start;
  gap:16px;
}
.lc-permission-intro{
  border-radius:28px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(125,102,232,.12), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(83,199,165,.14), transparent 28%),
    linear-gradient(180deg, rgba(248,253,251,.96), rgba(242,248,252,.92)) !important;
}
.lc-permission-intro .lc-panel__head h2{
  margin:0 0 8px;
  color:#57306f !important;
  font-size:24px;
  line-height:1.15;
}
.lc-permission-intro .lc-help{
  margin:0;
  max-width:980px;
  color:#4a5470 !important;
  font-size:14px;
  line-height:1.5;
}
.lc-perm-guide{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.lc-perm-guide div{
  position:relative;
  padding:15px 16px;
  border-radius:20px;
  border:1px solid rgba(151,170,201,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(246,251,250,.82));
  box-shadow:0 12px 26px rgba(81,96,126,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.lc-perm-guide div:before{
  content:"";
  position:absolute;
  left:14px;
  top:14px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--accent2,#53c7a5), var(--accent,#7d66e8));
  box-shadow:0 0 0 5px rgba(125,102,232,.10);
}
.lc-perm-guide b{
  display:block;
  padding-left:18px;
  color:#26324a;
  font-size:15px;
  font-weight:900;
  line-height:1.15;
}
.lc-perm-guide span{
  display:block;
  margin-top:6px;
  color:#748098;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
}
.lc-perm-form{
  display:grid;
  gap:16px;
}
.lc-admin-perm-cards{
  display:grid;
  gap:14px;
}
.lc-admin-perm-card{
  border:1px solid rgba(151,170,201,.22);
  border-radius:24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(244,250,249,.80));
  overflow:hidden;
  box-shadow:0 16px 34px rgba(82,96,124,.07);
}
.lc-admin-perm-card[open]{
  border-color:rgba(125,102,232,.28);
  box-shadow:0 22px 46px rgba(82,96,124,.11), 0 0 0 4px rgba(125,102,232,.05);
}
.lc-admin-perm-card summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  cursor:pointer;
  list-style:none;
  user-select:none;
  background:
    linear-gradient(90deg, rgba(125,102,232,.10), rgba(83,199,165,.08), transparent);
}
.lc-admin-perm-card summary::-webkit-details-marker{display:none}
.lc-admin-perm-card summary:before{
  content:"▸";
  flex:0 0 auto;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#6a55e8;
  background:rgba(125,102,232,.11);
  font-weight:900;
  transition:transform .18s ease, background .18s ease;
}
.lc-admin-perm-card[open] summary:before{
  transform:rotate(90deg);
  background:rgba(83,199,165,.15);
  color:#389979;
}
.lc-admin-perm-card summary span{
  display:grid;
  gap:4px;
  min-width:0;
  margin-right:auto;
}
.lc-admin-perm-card summary b{
  color:#27324a;
  font-size:18px;
  line-height:1.15;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lc-admin-perm-card summary em{
  color:#79859b;
  font-style:normal;
  font-size:12px;
  font-weight:800;
  line-height:1.25;
}
.lc-admin-perm-card summary i{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 11px;
  border-radius:999px;
  border:1px solid rgba(125,102,232,.18);
  background:rgba(125,102,232,.09);
  color:#6a55e8;
  font-style:normal;
  font-size:12px;
  font-weight:900;
}
.lc-admin-perm-rolegrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
  gap:14px;
  padding:0 16px 16px;
}
.lc-admin-perm-rolecard{
  --perm-role-color:#7d66e8;
  --perm-role-border:#7d66e8;
  overflow:hidden;
  border:1px solid color-mix(in srgb, var(--perm-role-border) 28%, rgba(151,170,201,.28));
  border-radius:22px;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--perm-role-color) 16%, transparent), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(248,252,253,.86));
  box-shadow:0 14px 28px rgba(82,96,124,.08);
}
.lc-admin-perm-rolecard.is-guest{
  --perm-role-color:#667085;
  --perm-role-border:#9aa4b2;
  background:
    radial-gradient(circle at 0% 0%, rgba(102,112,133,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.88));
}
.lc-admin-perm-rolecard header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 15px;
  border-bottom:1px solid rgba(151,170,201,.16);
  background:linear-gradient(90deg, color-mix(in srgb, var(--perm-role-color) 16%, transparent), transparent);
}
.lc-admin-perm-rolecard header b{
  min-width:0;
  color:#26324a;
  font-size:16px;
  line-height:1.15;
  font-weight:900;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lc-admin-perm-rolecard header span{
  flex:0 0 auto;
  color:color-mix(in srgb, var(--perm-role-color) 72%, #2e3344 28%);
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.lc-admin-perm-presets{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:12px 14px 0;
}
.lc-admin-perm-presets button{
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(151,170,201,.22);
  background:rgba(255,255,255,.76);
  color:#526078;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 16px rgba(82,96,124,.06), inset 0 1px 0 rgba(255,255,255,.9);
  transition:transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.lc-admin-perm-presets button:hover{
  transform:translateY(-1px);
  color:#2d374f;
  border-color:color-mix(in srgb, var(--perm-role-color) 35%, rgba(151,170,201,.24));
  background:color-mix(in srgb, var(--perm-role-color) 9%, rgba(255,255,255,.90));
}
.lc-admin-perm-stack{
  display:grid;
  gap:9px;
  min-width:0;
  padding:12px 14px 14px;
}
.lc-admin-perm-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(136px, 160px);
  gap:12px;
  align-items:center;
  padding:11px 12px;
  border:1px solid rgba(151,170,201,.16);
  border-radius:16px;
  background:rgba(255,255,255,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82);
}
.lc-admin-perm-row span{
  display:grid;
  gap:3px;
  min-width:0;
}
.lc-admin-perm-row b{
  color:#344057;
  font-size:13px;
  line-height:1.15;
  font-weight:900;
}
.lc-admin-perm-row small{
  color:#7a879d;
  font-size:11px;
  line-height:1.28;
  font-weight:700;
}
.lc-admin-perm-row .lc-select,
.lc-admin-perm-row .lc-select--mini,
.lc-admin-perm-select{
  width:100%;
  min-height:38px;
  margin:0 !important;
  padding:7px 11px !important;
  border-radius:13px !important;
  border:1px solid rgba(151,170,201,.34) !important;
  background:#fff !important;
  color:#334155 !important;
  font-size:12px !important;
  font-weight:900 !important;
  box-shadow:0 8px 16px rgba(82,96,124,.06), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.lc-admin-perm-select[data-perm-state="allow"]{
  border-color:rgba(36,181,123,.34) !important;
  background:linear-gradient(180deg,#f0fff8,#ffffff) !important;
  color:#16845b !important;
}
.lc-admin-perm-select[data-perm-state="deny"]{
  border-color:rgba(232,94,111,.36) !important;
  background:linear-gradient(180deg,#fff3f5,#ffffff) !important;
  color:#b4233f !important;
}
.lc-admin-perm-select[data-perm-state="inherit"]{
  border-color:rgba(151,170,201,.30) !important;
  background:linear-gradient(180deg,#f8fafc,#ffffff) !important;
  color:#64748b !important;
}
.lc-perm-form > .lc-btn{
  justify-self:end;
  position:sticky;
  bottom:12px;
  z-index:6;
  box-shadow:0 14px 32px rgba(83,199,165,.20), 0 0 0 4px rgba(125,102,232,.08);
}
@media(max-width:980px){
  .lc-perm-guide{grid-template-columns:1fr}
  .lc-admin-perm-rolegrid{grid-template-columns:1fr}
  .lc-perm-form > .lc-btn{position:static;justify-self:stretch}
}
@media(max-width:640px){
  .lc-admin-perm-card summary{
    align-items:flex-start;
    flex-wrap:wrap;
    padding:15px;
  }
  .lc-admin-perm-card summary b{white-space:normal}
  .lc-admin-perm-card summary i{margin-left:42px}
  .lc-admin-perm-rolegrid{padding:0 10px 10px}
  .lc-admin-perm-row{grid-template-columns:1fr}
}

/* ===== Forum fix: search page footer overlap + stable search form ===== */
body.forum-page .forum-shell{
  margin-bottom:34px !important;
}
body.forum-page .lc-footer{
  position:relative !important;
  z-index:0 !important;
  clear:both !important;
  margin-top:24px !important;
}
body.forum-page .lc-panel{
  position:relative;
  z-index:1;
}
body.forum-page .lc-panel__body{
  position:relative;
  z-index:2;
}
body.forum-page .lc-panel__body > .lc-search{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  width:100%;
  min-width:0 !important;
  margin:0;
}
body.forum-page .lc-panel__body > .lc-search .lc-input{
  min-width:0 !important;
  width:100% !important;
  height:52px;
  padding:0 18px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.78) !important;
  color:#2e3448 !important;
}
body.forum-page .lc-panel__body > .lc-search .lc-input::placeholder{
  color:rgba(102,112,133,.62) !important;
}
body.forum-page .lc-panel__body > .lc-search .lc-btn{
  min-width:128px;
  height:52px;
  padding:0 22px !important;
  border-radius:18px !important;
  white-space:nowrap;
}
/* Повторно фиксируем кнопку сохранения ограничений, чтобы поздние старые правила её не делали sticky. */
.lc-perm-form > .lc-btn{
  position:static !important;
  bottom:auto !important;
  top:auto !important;
  right:auto !important;
  left:auto !important;
  z-index:auto !important;
  justify-self:end !important;
  margin:6px 0 0 auto !important;
  transform:none !important;
}
.lc-perm-form > .lc-btn:hover{
  transform:translateY(-1px) !important;
}
.lc-perm-form > .lc-btn:active{
  transform:none !important;
}
@media(max-width:980px){
  body.forum-page .forum-shell{
    margin-bottom:24px !important;
  }
  body.forum-page .lc-footer{
    margin-top:18px !important;
  }
  .lc-perm-form > .lc-btn{
    justify-self:stretch !important;
    width:100% !important;
    margin-left:0 !important;
  }
}
@media(max-width:640px){
  body.forum-page .lc-panel__body > .lc-search{
    grid-template-columns:1fr;
  }
  body.forum-page .lc-panel__body > .lc-search .lc-btn{
    width:100%;
  }
}
