:root{--gold:#e9bf77;--txt:#edf3fa;--muted:#a8bacb;--line:#344a60;--shadow:0 14px 36px #02081355}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 80% -25%,#1b354e 0,transparent 50%),linear-gradient(180deg,#0a1727,#09111f);color:var(--txt);font:15px/1.55 system-ui,-apple-system,'Segoe UI',sans-serif;min-height:100vh}a{color:var(--gold)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}input,select,textarea{width:100%;min-width:0;border:1px solid #435973;border-radius:10px;background:#0c1d30;color:#fff;padding:11px 12px;font-size:16px}textarea{resize:vertical;min-height:180px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,4.5vw,54px);letter-spacing:-.04em;line-height:1.09;margin-bottom:14px}h2{font-size:clamp(22px,2.6vw,30px);letter-spacing:-.025em}h3{font-size:18px}p{color:#b9c8d8}header.top{border-bottom:1px solid #33485e;background:#071424eb;position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.top-wrap{max-width:1260px;margin:auto;padding:11px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-logo{width:140px;height:auto;display:block}.top-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.top-links a{text-decoration:none;color:#c8d8e8;padding:9px 12px;border-radius:9px;font-size:13px;font-weight:750}.top-links a[aria-current="page"],.top-links a:hover{color:#f8d69d;background:#1e354a}.page{max-width:1230px;margin:auto;padding:0 20px 65px}.crumb{padding:24px 0 8px;font-size:12px;color:#9caec1}.crumb a{color:#d4b77e;text-decoration:none}.hero{padding:34px 0 27px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(240px,.65fr);gap:20px;align-items:stretch}.eyebrow{letter-spacing:.16em;color:#e9c58a;font-weight:850;font-size:11px;text-transform:uppercase;margin-bottom:12px}.intro{font-size:17px;max-width:690px;color:#bbcadb}.hero-art{border:1px solid #5f593e;border-radius:19px;background:linear-gradient(143deg,#293a4d,#122438);padding:21px;display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:175px}.hero-art strong{color:#ffdda0;font-size:23px}.hero-art span{color:#b9cad9;font-size:13px}.hero-art .deco{font-size:35px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{min-height:42px;border:1px solid #657688;border-radius:10px;background:#203a51;color:#f0f6fd;padding:10px 17px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.25}.btn.primary{background:linear-gradient(130deg,#f0cc8f,#d7a960);border-color:#e8bc72;color:#1b2532}.btn.min{min-height:34px;padding:7px 11px;font-size:12px}.btn.danger{color:#ffd4d4;background:#3c2431;border-color:#8e5766}.btn:hover:not(:disabled){filter:brightness(1.1)}.panel{border:1px solid #354e65;border-radius:16px;background:linear-gradient(150deg,#142c42,#101f32);padding:20px;box-shadow:0 12px 28px #0208162e;min-width:0}.info{background:#152c42;border-left:3px solid #d9aa63;color:#cbd7e5;padding:11px 14px;border-radius:0 9px 9px 0;font-size:13px}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:12px 0 18px}.toolbar h2{margin:0}.searchbar{display:flex;gap:10px;flex-wrap:wrap}.searchbar>*{flex:1;min-width:160px}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.guide-card{display:flex;flex-direction:column;min-width:0;background:linear-gradient(145deg,#162d44,#101f30);border:1px solid #39516a;border-radius:16px;overflow:hidden;text-decoration:none;color:#f5f7fc;min-height:267px}.guide-card:hover{border-color:#d7aa6a;transform:translateY(-1px)}.guide-card-cover{height:120px;background:linear-gradient(130deg,#28465b,#213047 55%,#4d422d);display:flex;align-items:center;justify-content:center;color:#f0c785;font-size:43px;overflow:hidden}.guide-card-cover img{width:100%;height:100%;object-fit:cover}.guide-card-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}.guide-card h3{font-size:18px;line-height:1.25;margin:0;overflow-wrap:anywhere}.guide-card p{font-size:13px;line-height:1.55;flex:1;margin:0}.guide-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#a9bed0;font-size:11px}.tag{display:inline-flex;border-radius:90px;border:1px solid #896d46;color:#f5d398;padding:3px 8px;background:#4f41294d;font-size:11px;font-weight:800}.guide-link{color:#edc787;font-weight:800;font-size:13px}.empty{padding:30px;background:#15283b;border:1px dashed #597088;border-radius:15px;color:#bed0e3;text-align:center;grid-column:1/-1}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:start}.article-main{min-width:0}.article-title{padding:23px 0 17px}.article-title h1{max-width:820px}.article-cover{width:100%;max-height:430px;object-fit:cover;border-radius:15px;border:1px solid #435d73;margin-bottom:14px}.article-prose{font-size:16px;line-height:1.82;overflow-wrap:anywhere}.article-prose h2{margin:34px 0 12px;color:#f1d5a5}.article-prose h3{margin:26px 0 10px;color:#e0e9f6}.article-prose p{margin-bottom:17px;color:#d7e2ed}.article-prose ol,.article-prose ul{padding-left:25px;color:#d9e5f1}.article-prose li{margin:8px 0}.article-prose strong{color:#fff}.article-prose a{overflow-wrap:anywhere}.article-prose blockquote{border-left:3px solid #d7b16d;margin:20px 0;padding:10px 18px;background:#192e42;color:#dce7f0}.photo-block{margin:24px 0}.photo-block img{display:block;max-width:100%;width:100%;max-height:550px;object-fit:contain;background:#102133;border:1px solid #39526a;border-radius:12px}.photo-block figcaption{font-size:12px;margin-top:7px;color:#a8b9ca;text-align:center}.side-card{position:sticky;top:80px}.side-card strong{color:#f2d3a0}.side-card p{font-size:13px}.side-card .btn{width:100%;margin:7px 0}.footer{padding:25px 20px 45px;border-top:1px solid #344b63;color:#a7b8c8;max-width:1230px;margin:35px auto 0;display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;font-size:12px}.footer a{margin-left:10px}.editor-banner{margin:12px 0 16px}.editor-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(310px,.9fr);gap:16px}.editor-field{display:flex;flex-direction:column;gap:6px}.editor-field>label{color:#dce7f3;font-weight:800;font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.editor-fields{display:flex;flex-direction:column;gap:15px}.editor-content{min-height:360px;font-size:15px;line-height:1.6}.formatbar{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:7px}.formatbar button{padding:5px 10px;min-height:34px;border:1px solid #445a70;background:#243b50;color:#f2dfbc;border-radius:8px;font-weight:850;font-size:12px}.preview-surface{padding:12px 18px;max-height:640px;overflow:auto;min-height:360px}.preview-surface .article-prose{font-size:14px}.preview-surface .article-prose h2{font-size:21px}.preview-surface .article-prose h3{font-size:16px}.photo-list{display:grid;gap:8px}.photo-entry{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px;border:1px solid #40566e;border-radius:11px;background:#102236}.photo-entry img{width:78px;height:70px;object-fit:cover;border-radius:7px}.photo-entry label{font-size:11px;color:#bed0df;display:block}.photo-entry input{min-height:34px;padding:7px;font-size:13px}.photo-entry .btn{min-height:34px}.photo-help{color:#b3c9dc;font-size:12px}.file-drop{border:1px dashed #7a805f;background:#21344780;padding:16px;text-align:center;border-radius:11px;position:relative;color:#dce7ef}.file-drop input{display:block;margin:8px auto 0;max-width:300px;font-size:13px}.editor-controls{display:flex;gap:8px;flex-wrap:wrap}.editor-controls>*{flex:1}.post-list{display:grid;gap:8px}.post-row{display:flex;gap:12px;justify-content:space-between;align-items:center;border-bottom:1px solid #30485f;padding:10px 0}.post-row:last-child{border:0}.post-row>div{min-width:0}.post-row strong{display:block;overflow-wrap:anywhere}.post-row small{color:#aabbcf}.status{font-size:12px;color:#d5c397;min-height:22px}.status.bad{color:#ffc1ba}.status.good{color:#9de3bc}.toggle{display:flex;align-items:center;gap:9px;font-size:13px}.toggle input{width:auto;min-height:auto;accent-color:#d8ac69}.notice{padding:12px 14px;border:1px solid #7a694f;background:#40372388;color:#eddcb6;border-radius:10px;font-size:13px}.muted{color:#aabbcd}.hidden{display:none!important} [hidden]{display:none!important}
@media(max-width:950px){.article-layout{grid-template-columns:1fr}.side-card{position:static}.hero{grid-template-columns:1fr}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-grid{grid-template-columns:1fr}.preview-surface{max-height:none;min-height:200px}}
@media(max-width:620px){.page{padding:0 13px 45px}.top-wrap{padding:10px 13px;gap:7px}.site-logo{width:105px}.top-links a{font-size:11px;padding:7px 8px}.hero{padding:20px 0 16px;gap:11px}.hero-art{min-height:100px;gap:2px;padding:13px}.hero-art .deco{font-size:23px}.hero-art strong{font-size:17px}.intro{font-size:14px}.guide-grid{grid-template-columns:1fr;gap:10px}.guide-card{min-height:0}.guide-card-cover{height:140px}.toolbar{align-items:stretch}.searchbar{width:100%}.searchbar>*{min-width:120px}.panel{padding:14px}.article-title{padding:12px 0}.article-prose{font-size:15px}.form-grid{grid-template-columns:1fr}.editor-content{min-height:270px}.photo-entry{grid-template-columns:66px minmax(0,1fr);gap:8px}.photo-entry img{width:66px;height:65px}.photo-entry .btn{grid-column:2;justify-self:start}.footer{padding:20px 13px 32px}}
@media(prefers-reduced-motion:reduce){.guide-card:hover{transform:none}}
