@font-face{font-family:Montserrat;src:url(studio/assets/fonts/montserrat.ttf);font-weight:100 900}@font-face{font-family:Oswald;src:url(studio/assets/fonts/oswald.ttf);font-weight:200 700}@font-face{font-family:'Cormorant Garamond';src:url(studio/assets/fonts/cormorantgaramond.ttf);font-weight:300 700}@font-face{font-family:Caveat;src:url(studio/assets/fonts/caveat.ttf);font-weight:400 700}
*{box-sizing:border-box}body{margin:0;background:#F3EFE9;color:#141312;font:14px/1.55 Manrope,Arial,sans-serif}button,input,select{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2{font-family:'Playfair Display',Georgia,serif;font-weight:400;margin:0}h1{font-size:clamp(30px,3.2vw,44px)}h2{font-size:30px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #6B645B;outline-offset:4px}[hidden]{display:none!important}
.projects-page{max-width:1500px;margin:0 auto;padding:calc(var(--aya-header-height) + 44px) var(--aya-pad) 64px}.projects-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}.eyebrow{font-size:10px;letter-spacing:.18em;color:#6B645B;margin:0 0 10px}.local-note{font-size:12px;color:#6B645B;margin:18px 0 30px}.sort-label{font-size:11px;color:#6B645B;display:grid;gap:5px}select,input{padding:10px 12px;border:1px solid #D6CCBD;background:#fffdf9;border-radius:0;max-width:100%}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:28px 22px;align-items:start}.new-project{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:#fffdf9;border:1px solid #D6CCBD;aspect-ratio:4/3;width:100%;font-size:13px}.new-project span{font-size:48px;font-weight:400;color:#A59C8F}.new-project:hover{background:#EFE8DE}.project-card{min-width:0}.project-preview{position:relative;aspect-ratio:4/3;background:#EFE8DE;overflow:hidden;border:1px solid #E2DACE;display:block}.preview-world{position:absolute;transform-origin:0 0;pointer-events:none}.preview-frame{position:absolute;overflow:hidden;background:#F3EFE9}.preview-frame>img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.preview-item{position:absolute;transform-origin:0 0;white-space:pre-wrap;overflow-wrap:break-word;line-height:1.15}.project-empty{height:100%;display:grid;place-items:center;font:24px 'Playfair Display',serif;color:#9F9383}.project-meta{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-top:11px}.project-title{font:400 22px/1.3 'Playfair Display',serif;overflow-wrap:anywhere}.project-date{font-size:11px;color:#6B645B;margin:5px 0 0}.project-menu{position:relative}.project-menu summary{cursor:pointer;list-style:none;font-size:22px;line-height:1;padding:0 6px}.project-menu>div{position:absolute;right:0;top:28px;z-index:5;background:#fffdf9;border:1px solid #D6CCBD;box-shadow:0 5px 15px #0001;padding:6px;min-width:160px}.project-menu button{display:block;width:100%;text-align:left;background:none;border:0;font-size:12px;padding:8px}.project-menu button:hover{background:#EFE8DE}.project-menu .danger{color:#934B3B}dialog{background:#F3EFE9;border:1px solid #D6CCBD;padding:32px;width:440px;max-width:calc(100vw - 28px);color:#141312}dialog::backdrop{background:#0e0d0c88}dialog label{display:block;font-size:12px;margin:18px 0 6px}dialog input,dialog select{width:100%}.close{float:right;background:none;border:0;font-size:24px}.action{background:#191715;color:#F3EFE9;border:0;padding:12px 20px;margin-top:14px;width:100%}#dialog-note{font-size:12px;color:#6B645B}#storage-status{color:#934B3B;font-size:12px}
@media(max-width:600px){.projects-page{padding-top:calc(var(--aya-header-height) + 28px)}.projects-heading{align-items:start;flex-direction:column;gap:18px}.sort-label{width:100%}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.project-title{font-size:18px}.project-date{font-size:10px}.new-project{font-size:11px}.new-project span{font-size:32px}.local-note{font-size:11px}}
@media(max-width:360px){.projects-grid{grid-template-columns:1fr}}
/* Единый вид кнопок (29.10.2026): скругления как на главной. */
.action{border-radius:14px;font:500 15px/1.4 Manrope,Arial,sans-serif}
.new-project{border-radius:18px}
dialog{border-radius:20px}
dialog input,dialog select{border-radius:12px}
