:root{color-scheme:dark;--ink:#fff7e9;--muted:#dacde5;--orange:#ff9e1a;--line:#9872a259;--surface:#271433cc}*{box-sizing:border-box}body{display:flow-root;margin:0;color:var(--ink);background:#100c19 url('assets/fondo.png') center top/100% auto no-repeat fixed;font:18px/1.6 Georgia,serif;min-height:100vh}header{max-width:1200px;margin:105px auto 0;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{width:185px;height:63px;overflow:hidden;display:block}.brand img{width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1)}nav{display:flex;gap:24px}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}nav button,.text-button{background:none;border:0;padding:8px 0}nav button:hover,.text-button:hover{color:var(--orange)}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:4px}.primary,.outline{border-radius:28px;padding:11px 26px;border:1px solid var(--orange);display:inline-block;font-weight:700;text-decoration:none}.primary{background:var(--orange);color:#241406}.primary:hover{background:#ffb743}.outline{background:transparent;color:var(--orange)}main{max-width:1120px;margin:auto;padding:35px 28px 80px;min-height:70vh}.hero{text-align:center;max-width:880px;margin:25px auto 45px}h1{font-size:clamp(32px,4.3vw,56px);line-height:1.13;margin:0 0 22px;font-weight:600}h1 em{color:var(--orange);font-style:normal}.hero p{font-size:21px;max-width:700px;margin:0 auto 28px;color:var(--muted)}h2{font-size:30px;font-weight:500;line-height:1.2}h3{font-size:23px;line-height:1.2;margin:10px 0}p{white-space:pre-line}input,textarea{display:block;width:100%;background:#24152e;color:var(--ink);border:1px solid #9b7baf77;border-radius:10px;padding:12px 14px;margin-top:6px}input:focus,textarea:focus{outline:2px solid var(--orange)}label{display:block;font-size:16px;margin:16px 0}input::placeholder{color:#c3b1cc}textarea{resize:vertical;min-height:110px}.search{max-width:610px;margin:0 auto 36px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{text-align:center;border:1px solid var(--line);background:var(--surface);padding:20px 20px 25px;border-radius:16px}.mini-photo{width:145px;height:178px;object-fit:cover;border:8px ridge #815734;box-shadow:0 0 28px #e9911640;margin:10px auto}.years{color:var(--muted);margin:8px 0 19px}.empty{text-align:center;padding:36px;color:var(--muted);border-top:1px solid var(--line)}.empty h2{color:var(--ink)}footer{text-align:center;color:var(--muted);font-size:14px;padding:20px;border-top:1px solid var(--line)}.back{margin-bottom:15px}.memorial{text-align:center;max-width:900px;margin:auto}.memorial .motto{font-size:28px;line-height:1.25;max-width:590px;margin:18px auto}.scene{position:relative;max-width:900px;margin:0 auto}.scene .altar{display:block;width:100%;height:auto;mix-blend-mode:screen}.scene .portrait{position:absolute;left:43%;top:17.3%;width:13.7%;height:21.8%;object-fit:cover}.memorial h1{font-size:42px;margin-top:-15px}.dedication{max-width:650px;margin:22px auto 40px}.rule{width:70%;border:0;border-top:1px dotted var(--orange);margin:22px auto}.memories{max-width:850px;margin:20px auto}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.section-head h2{color:var(--orange)}.memory{border-top:1px solid var(--line);padding:22px 0}.memory p{margin:12px 0;color:var(--ink)}.byline{font-size:15px;color:var(--muted)}.actions{display:flex;gap:12px;margin:14px 0}.pending{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:24px;margin:30px 0}.pending h2{margin-top:0}.small{font-size:14px;color:var(--muted)}dialog{width:min(570px,calc(100% - 28px));max-height:90vh;padding:34px;color:var(--ink);background:#21132e;border:1px solid #886294;border-radius:18px}dialog::backdrop{background:#08040bc9;backdrop-filter:blur(6px)}dialog h2{margin-top:0;padding-right:20px}dialog p{color:var(--muted)}.close{position:absolute;right:14px;top:8px;background:none;border:0;font-size:30px}.form-end{display:flex;gap:20px;align-items:center;margin-top:24px}.form-error{color:#ffba9e;margin:12px 0}.date-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);padding:12px 24px;background:#f9e5bc;color:#2c172f;border-radius:12px;box-shadow:0 4px 30px #0008;display:none;z-index:10}.photo-preview{width:85px;height:110px;object-fit:cover;border-radius:8px}.accountbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.loading{text-align:center;padding:80px}
@media(min-width:1600px){body{background-size:cover}}@media(max-width:700px){body{background-size:auto 100vh;background-attachment:scroll}header{margin-top:74px;padding:8px 18px}.brand{width:120px;height:45px}nav{gap:14px;font-size:14px}main{padding:24px 18px 60px}.hero{margin-top:20px}.hero p{font-size:18px}.grid{grid-template-columns:repeat(2,1fr);gap:12px}.card{padding:14px 8px}.mini-photo{width:110px;height:140px}.card h3{font-size:20px}.card .outline{padding:7px 14px;font-size:15px}.section-head{align-items:flex-start;flex-direction:column;gap:4px}.section-head h2{margin-bottom:10px}.memorial .motto{font-size:24px}.memorial h1{font-size:32px;margin-top:0}.scene{margin:15px -15px 0}.dedication{font-size:17px}.date-row{grid-template-columns:1fr}.form-end{flex-wrap:wrap}dialog{padding:26px 22px}.accountbar{align-items:flex-start}.pending{padding:18px}}@media(max-width:370px){.grid{grid-template-columns:1fr}nav{gap:10px}.brand{width:100px}}


