@font-face{font-family:IT;src:url(/fonts/inter-tight-cyr.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;font-weight:100 900;font-display:swap}@font-face{font-family:IT;src:url(/fonts/inter-tight-lat.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2212;font-weight:100 900;font-display:swap}:root{--night: #0d0400;--ink: #1a0800;--ink2: #2a1208;--ink3: #3a1c0f;--cream: #fef8e8;--soft: #ffd4c1;--accent: #f2440f;--accent-btn: #d63a0a;--orange: #ff6a2a;--muted: #b9a89a;--line: rgb(254 248 232 / .12);--grad: linear-gradient(135deg, #ac2102, #e23401 35%, #fd6501 70%, #fc8902);--r: 28px;--r2: 20px;--r3: 14px;--ease: cubic-bezier(.22, 1, .36, 1)}*{box-sizing:border-box;margin:0}html,body{background:var(--night);color:var(--cream);font-family:IT,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased}body{min-height:100vh}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}h1,h2,h3{font-weight:400;letter-spacing:-.03em}:focus-visible{outline:2px solid var(--orange);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:13px}.row{display:flex;align-items:center}.between{justify-content:space-between}.center{justify-content:center}.gap8{gap:8px}.mt8{margin-top:8px}.mt16{margin-top:16px}.pill{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:5px 5px 5px 22px;border-radius:999px;font-size:16px;text-decoration:none;transition:background-color .3s var(--ease),transform .15s var(--ease);white-space:nowrap}.pill:active:not(:disabled){transform:scale(.98)}.pill .pill-ico{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;transition:transform .45s var(--ease)}.pill:hover:not(:disabled) .pill-ico{transform:rotate(45deg)}.pill.accent{background:var(--accent-btn);color:#fff}.pill.accent:hover:not(:disabled){background:var(--accent)}.pill.accent .pill-ico{background:#fff;color:var(--accent-btn)}.pill.ghost{border:1px solid rgb(254 248 232 / .35)}.pill.ghost:hover{border-color:var(--cream)}.pill.ghost .pill-ico{background:var(--cream);color:var(--ink)}.pill.small{min-height:42px;font-size:15px;padding-left:18px}.pill.small .pill-ico{width:32px;height:32px}.chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;border:1px solid var(--line);font-size:13px;transition:border-color .25s,background-color .25s}.chip:hover:not(:disabled){border-color:#fef8e866}.chip.accent{background:var(--accent-btn);border-color:var(--accent-btn);color:#fff}.chip.danger{background:#b4230b;border-color:#b4230b;color:#fff}.icon-btn{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:var(--muted);transition:background-color .2s,color .2s}.icon-btn:hover:not(:disabled){background:#fef8e814;color:var(--cream)}.icon-btn.danger:hover:not(:disabled){color:#ff8a6b}.link{text-decoration:underline;text-underline-offset:3px;color:var(--soft);font-size:13px}.link.danger{color:#ff9c82}.badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:12px;background:#fef8e814;color:var(--muted);margin-left:8px}.badge.orange{background:#f2440f2e;color:var(--orange)}.spinner{display:inline-block;width:14px;height:14px;border:2px solid rgb(254 248 232 / .25);border-top-color:var(--orange);border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px;margin-right:6px}.spinner.big{width:34px;height:34px;border-width:3px;margin:0}@keyframes spin{to{transform:rotate(360deg)}}.glass{background:#1a080073;border:1px solid rgb(255 255 255 / .16);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.splash{min-height:100vh;display:grid;place-items:center}.login{min-height:100vh;display:grid;place-items:center;padding:20px;background:var(--grad);position:relative;overflow:hidden}.login-bg{position:absolute;left:50%;bottom:-.12em;transform:translate(-50%);font-size:24vw;line-height:.8;letter-spacing:-.07em;white-space:nowrap;color:var(--cream);user-select:none}.login-bg .dark{color:var(--ink)}.login-card{position:relative;width:100%;max-width:420px;border-radius:var(--r);padding:32px;display:grid;gap:14px;animation:rise .8s var(--ease) both}.login-logo{height:28px;justify-self:start}.login-card h1{font-size:32px;margin-top:8px}.login-card .pill{justify-self:stretch;margin-top:4px}@keyframes rise{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.app{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.side{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:8px;padding:22px 14px;background:var(--ink);border-right:1px solid var(--line)}.side-top{padding:4px 10px 18px}.logo{height:24px;display:block}.side-sub{display:block;margin-top:8px;font-size:13px;color:var(--muted)}.nav{display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:var(--r3);font-size:15px;text-align:left;color:#fef8e8c7;transition:background-color .25s,color .25s;position:relative}.nav-item:hover{background:#fef8e80f;color:var(--cream)}.nav-item.active{background:var(--cream);color:var(--ink)}.nav-item .dot{width:7px;height:7px;border-radius:50%;background:var(--orange);margin-left:auto}.nav-sep{height:1px;background:var(--line);margin:8px 10px}.muted-item{color:var(--muted)}.main{min-width:0}.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:16px;padding:14px 32px;background:#0d0400d1;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.status{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:13px;color:var(--muted)}.save{display:inline-flex;align-items:center;gap:6px}.save.error{color:#ff9c82}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.content{max-width:880px;padding:36px 32px 80px}.page-head{margin-bottom:24px}.page-head h1{font-size:44px;line-height:1}.page-head p{margin-top:10px}.foot{margin-top:28px;text-align:center}.group{background:var(--ink);border:1px solid var(--line);border-radius:var(--r);padding:24px;margin-bottom:16px;animation:rise .5s var(--ease) both}.group h3{font-size:22px;margin-bottom:4px}.group>.muted{margin-bottom:4px}.fields{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px}.field{flex:1 1 100%;display:flex;flex-direction:column;gap:7px;min-width:0}.field.half{flex:1 1 calc(50% - 8px)}.label{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted)}.counter{font-variant-numeric:tabular-nums}.counter.over{color:#ff9c82}.input{width:100%;background:var(--ink2);border:1px solid transparent;border-radius:var(--r3);padding:12px 14px;font-size:15px;line-height:1.45;transition:border-color .25s,background-color .25s;resize:vertical}.input:hover{border-color:#fef8e824}.input:focus{outline:none;border-color:var(--orange);background:var(--ink3)}.input.big{padding:15px 18px;font-size:16px;background:#1a08008c}select.input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b9a89a' stroke-width='2'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}select.input option{background:var(--ink2)}.hint{font-size:12.5px;color:var(--muted);line-height:1.4}.hint.warn{color:#ffb199}.preview-heading{margin-top:6px;padding:14px 16px;border-radius:var(--r3);background:var(--night);font-size:26px;line-height:1.05;letter-spacing:-.03em}.preview-heading .acc{color:var(--orange)}.strings{display:flex;flex-direction:column;gap:6px}.string-row{display:flex;align-items:center;gap:4px}.add-btn{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;margin-top:6px;padding:10px 16px;border-radius:999px;border:1px dashed rgb(254 248 232 / .3);font-size:14px;color:var(--soft);transition:border-color .25s,background-color .25s}.add-btn:hover{border-color:var(--orange);background:#f2440f14}.cards{display:flex;flex-direction:column;gap:8px}.card-item{border-radius:var(--r2);background:var(--ink2);border:1px solid transparent;transition:border-color .3s}.card-item.open{border-color:#f2440f80}.card-head{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 14px;cursor:pointer;min-height:56px}.card-head .num{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;width:22px}.card-head .thumb{width:36px;height:36px;border-radius:50%;object-fit:cover;object-position:50% 20%}.card-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.card-actions{display:flex;align-items:center;gap:2px}.confirm{display:inline-flex;align-items:center;gap:6px;font-size:13px;margin:0 4px}.chev{display:grid;place-items:center;width:34px;height:34px;color:var(--muted);transition:transform .35s var(--ease)}.chev.up{transform:rotate(180deg)}.card-body{padding:0 16px 18px}.card-body .fields{margin-top:0}.card-item:not(.open) .card-body{display:none}.dropzone{position:relative;width:100%;max-height:360px;border-radius:var(--r2);overflow:hidden;background:var(--ink2);border:1.5px dashed rgb(254 248 232 / .22);cursor:pointer;transition:border-color .25s,background-color .25s}.image-field:not(.half) .dropzone{max-width:520px}.image-field.portrait .dropzone{max-width:240px}.dropzone.has{border-style:solid;border-color:transparent}.dropzone.over,.dropzone:hover{border-color:var(--orange)}.dropzone img{width:100%;height:100%;object-fit:cover;display:block}.dz-empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:10px;text-align:center;color:var(--muted);font-size:14px}.dz-over,.dz-busy{position:absolute;inset:auto 10px 10px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;border-radius:999px;background:#1a0800b3;backdrop-filter:blur(10px);font-size:14px;opacity:0;transition:opacity .25s}.dropzone:hover .dz-over,.dz-busy{opacity:1}.history{list-style:none;padding:0;margin-top:16px;display:flex;flex-direction:column;gap:6px}.history li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:var(--r3);background:var(--ink2)}.history b{font-weight:500}.modal-back{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#0d0400b3;backdrop-filter:blur(8px);animation:fade .3s both}.modal{width:100%;max-width:440px;padding:32px;border-radius:var(--r);background:var(--ink);border:1px solid var(--line);text-align:center;animation:rise .5s var(--ease) both}.modal h2{font-size:28px;margin-top:18px}.modal .muted{margin-top:8px;line-height:1.45}.pub-anim{display:grid;place-items:center;width:72px;height:72px;margin:0 auto;border-radius:50%;background:var(--grad);color:#fff}.pub-anim.ok{background:#2fbf71}.pub-anim.bad{background:#b4230b}.pub-anim .spinner.big{border-color:#ffffff59;border-top-color:#fff}.progress{height:6px;border-radius:3px;background:var(--ink2);margin-top:22px;overflow:hidden}.progress span{display:block;height:100%;background:var(--grad);border-radius:3px;transition:width .4s linear}@keyframes fade{0%{opacity:0}}.toasts{position:fixed;right:20px;bottom:20px;z-index:120;display:flex;flex-direction:column;gap:8px}.toast{padding:12px 18px;border-radius:999px;background:var(--cream);color:var(--ink);font-size:14px;box-shadow:0 10px 30px #00000059;animation:rise .4s var(--ease) both}.toast.bad{background:#b4230b;color:#fff}.mobile-only{display:none}@media(max-width:900px){.app{grid-template-columns:1fr}.side{position:fixed;z-index:60;left:0;top:0;width:280px;transform:translate(-100%);transition:transform .35s var(--ease)}.side.open{transform:none}.side-back{position:fixed;inset:0;z-index:50;background:#00000080}.mobile-only{display:grid}.desktop-only{display:none!important}.top{padding:10px 14px;gap:8px}.status .badge{display:none}.content{padding:24px 14px 60px}.page-head h1{font-size:34px}.group{padding:18px;border-radius:var(--r2)}.field.half{flex-basis:100%}.card-actions .icon-btn[title=\414\443\431\43b\438\440\43e\432\430\442\44c]{display:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
