*{box-sizing:border-box} :root{color-scheme:dark;--bg:#0b1018;--panel:#142031;--line:#29384b;--txt:#edf1f6;--muted:#91a0b3;--gold:#c6a15a} body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -22%,#26374c 0,#0b1018 58%);color:var(--txt);font:15px/1.6 Inter,system-ui,Segoe UI,Arial,sans-serif}a{color:inherit;text-decoration:none}header{border-bottom:1px solid var(--line);background:#0b1018ed} .headrow{width:min(1160px,calc(100% - 40px));min-height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:.16em}.brand img{width:44px;height:56px;object-fit:contain}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid var(--line);border-radius:9px;background:#172538;color:var(--txt);font-weight:750;font-size:13px;cursor:pointer}.btn:hover{border-color:#718096;transform:translateY(-1px)}.btn.primary{background:var(--gold);border-color:var(--gold);color:#171717}.btn.danger{color:#f09b9b}.hero{width:min(850px,calc(100% - 32px));margin:0 auto;min-height:calc(100vh - 140px);display:flex;flex-direction:column;justify-content:center;text-align:center;padding:55px 0}.eyebrow{font-size:11px;color:var(--gold);font-weight:850;letter-spacing:.22em}.hero h1,.narrow h1,.admin h1{font-size:clamp(42px,8vw,78px);line-height:1.03;letter-spacing:-.06em;margin:18px 0}.hero h1 span,.project h2 span{color:var(--gold)}.lead{max-width:620px;margin:0 auto;color:#aeb9c8;font-size:17px}.rule{width:64px;height:2px;background:var(--gold);margin:34px auto}.panel{background:linear-gradient(155deg,#172638,#101925);border:1px solid var(--line);border-radius:16px;padding:22px;margin:18px 0;box-shadow:0 18px 55px #0003}.project{max-width:650px;width:100%;margin:0 auto;text-align:left}.projecthead{display:flex;align-items:center;justify-content:space-between;gap:12px}.project h2{font-size:19px;margin:0}.muted{color:var(--muted)}.actions{display:flex;gap:9px;flex-wrap:wrap}.pill{border:1px solid #6c5b3d;border-radius:30px;padding:4px 9px;color:var(--gold);font-size:11px}.hero .actions{margin-top:18px}footer{border-top:1px solid var(--line);padding:19px max(20px,calc((100% - 1160px)/2));display:flex;justify-content:space-between;color:#738196;font-size:11px}.narrow,.admin{width:min(900px,calc(100% - 32px));margin:55px auto}.narrow{max-width:430px}.narrow h1,.admin h1{font-size:42px}label{display:block;color:var(--muted);font-size:12px;margin:13px 0}input:not([type=checkbox]),textarea{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:#0b1420;color:var(--txt);margin-top:6px;font:inherit}.notice{padding:12px;background:#26374c;border-radius:9px}.toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.toolbar button{background:#1a2a3d;color:var(--txt);border:1px solid var(--line);border-radius:6px;padding:7px;cursor:pointer}.editor{min-height:190px;border:1px solid var(--line);border-radius:9px;background:#0b1420;padding:12px;outline:none}.check{display:flex;align-items:center;gap:8px}.newsrow,.userrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.newsrow small{display:block;color:var(--muted)}.userrow span{color:var(--muted);font-size:12px}.article h2{font-size:26px}.rich{line-height:1.8}.rich blockquote{border-left:3px solid var(--gold);padding-left:14px;color:#b9c3d0}.rich a{color:var(--gold);text-decoration:underline}@media(max-width:600px){.headrow{width:calc(100% - 26px);min-height:68px}.brand img{width:37px;height:49px}.brand{font-size:13px}.headrow>.btn{font-size:11px;padding:9px}.projecthead{align-items:flex-start;flex-direction:column}.hero{min-height:calc(100vh - 125px)}footer{gap:10px;flex-wrap:wrap}.newsrow,.userrow{align-items:flex-start;flex-direction:column}}

.home-news{width:min(850px,calc(100% - 32px));margin:55px auto 75px;text-align:center;min-height:calc(100vh - 190px)}
.home-news>h1{font-size:clamp(38px,6vw,58px);letter-spacing:-.055em;margin:10px 0 28px}
.home-article,.home-empty{text-align:left;margin:16px 0}
.home-article h2,.home-empty h2{font-size:23px;margin:7px 0 10px}
.home-article .rich{overflow-wrap:anywhere}
.home-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:28px 0}
@media(max-width:600px){.home-news{margin:38px auto 55px}.home-article,.home-empty{padding:17px}.home-article h2{font-size:20px}}

/* Home news layout correction */
main.home-news{
  display:block !important;
  box-sizing:border-box !important;
  width:min(900px,calc(100% - 36px)) !important;
  max-width:900px !important;
  margin:52px auto 70px !important;
  padding:0 !important;
  text-align:center !important;
  min-height:calc(100vh - 190px) !important;
}
main.home-news > .eyebrow,
main.home-news > h1 {text-align:center !important}
main.home-news > h1 {font-size:clamp(38px,6vw,58px) !important;line-height:1.08 !important;margin:12px 0 28px !important}
main.home-news .home-article,
main.home-news .home-empty {width:100% !important;max-width:100% !important;margin:16px 0 !important;text-align:left !important}
main.home-news .home-article h2 {font-size:23px !important;margin:7px 0 10px !important}
main.home-news .home-links {display:flex !important;justify-content:center !important;gap:10px !important;flex-wrap:wrap !important;margin:28px 0 !important}
@media(max-width:600px){
 main.home-news{width:calc(100% - 28px) !important;margin:38px auto 55px !important}
 main.home-news .home-article,main.home-news .home-empty{padding:17px !important}
 main.home-news .home-article h2{font-size:20px !important}
}

.header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.brand{letter-spacing:.04em}
.toolbar button{font-size:12px}
.editor img{max-width:100%;height:auto;border-radius:8px}
@media(max-width:600px){.header-actions{gap:6px}.header-actions .btn{font-size:10px;padding:8px 9px}.headrow{flex-wrap:wrap;padding:8px 0}.brand{max-width:48%}.brand img{flex:none}}

.news-image,.rich img{display:block;max-width:100%;height:auto;margin:14px auto;border-radius:10px}.rich a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
