:root { --bg:#0a100e; --card:#13201b; --ink:#e4ebe7; --muted:#97a8a0; --accent:#c3ccc8; --accent2:#2e7d57; --line:#2c4038; --parch:#d5ded9; --serif:"Palatino Linotype","Book Antiqua",Palatino,"Cormorant Garamond",Georgia,serif; }
* { box-sizing:border-box; }
body { margin:0; font:17px/1.55 var(--serif); background:var(--bg) radial-gradient(1200px 600px at 50% -10%, #1c3329 0%, transparent 70%) fixed; color:var(--ink); }
h1, h2 { font-family:var(--serif); letter-spacing:.04em; color:var(--accent); text-shadow:0 0 14px rgba(195,204,200,.3); }
h1::after { content:"✦ ✦ ✦"; display:block; font-size:13px; letter-spacing:.6em; color:var(--accent2); margin-top:4px; text-shadow:none; }
a { color:inherit; }
header.top { display:flex; align-items:center; justify-content:space-between; padding:14px 24px; background:linear-gradient(#10281e,#08130e); border-bottom:2px solid var(--accent); box-shadow:0 4px 18px rgba(0,0,0,.7); }
header.top .logo { display:grid; grid-template-columns:34px auto auto; column-gap:12px; align-items:center; line-height:1.15; text-decoration:none; color:var(--accent); }
header.top .logo-mark { grid-column:1; grid-row:1 / span 2; width:34px; height:34px; align-self:center; background:url("/favicon.svg") center/contain no-repeat; filter:drop-shadow(0 0 6px rgba(143,224,189,.45)); }
header.top .logo-name { grid-column:2; grid-row:1; }
header.top .logo-sub { grid-column:2; grid-row:2; }
header.top .logo::after { content:""; grid-column:3; grid-row:1 / span 2; width:106px; height:86px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='70 90 350 290'%3E%3Cdefs%3E%3ClinearGradient id='h' gradientUnits='userSpaceOnUse' x1='90' y1='0' x2='400' y2='0'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.6' stop-color='%23d4e9ff'/%3E%3Cstop offset='1' stop-color='%238fc8ff'/%3E%3C/linearGradient%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3Cfilter id='s' x='-10%25' y='-10%25' width='120%25' height='120%25'%3E%3CfeGaussianBlur stdDeviation='.8'/%3E%3C/filter%3E%3Cg id='k' fill='%23cfe6ff' fill-opacity='.07' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M130 108L148 232M130 108L262 212L244 244M130 108L205 270'/%3E%3Cpath d='M90 258L138 232L160 233L148 248zM148 248L185 360M160 233L196 270L190 322L185 360'/%3E%3Cpath d='M190 322L240 244L196 270M240 244L275 268M185 360L228 330'/%3E%3Cpath d='M190 322L275 268L400 357zM190 322L400 357M228 330L400 357M214 292L400 357'/%3E%3Cpath d='M285 265L392 162L330 272L275 268zM392 162L300 270'/%3E%3C/g%3E%3C/defs%3E%3Cg stroke='url(%23h)' stroke-width='12' filter='url(%23b)' opacity='.85'%3E%3Cuse href='%23k'/%3E%3C/g%3E%3Cg stroke='url(%23h)' stroke-width='3.6' filter='url(%23s)'%3E%3Cuse href='%23k'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='130' cy='108' r='4'/%3E%3Ccircle cx='90' cy='258' r='4'/%3E%3Ccircle cx='392' cy='162' r='4'/%3E%3Ccircle cx='400' cy='357' r='4'/%3E%3Ccircle cx='185' cy='360' r='3.5'/%3E%3Ccircle cx='262' cy='212' r='3' opacity='.8'/%3E%3Ccircle cx='240' cy='244' r='3' opacity='.8'/%3E%3Ccircle cx='100' cy='150' r='2.5' opacity='.7'/%3E%3Ccircle cx='330' cy='120' r='2.5' opacity='.7'/%3E%3Ccircle cx='86' cy='330' r='2.2' opacity='.6'/%3E%3Ccircle cx='360' cy='230' r='2.2' opacity='.6'/%3E%3Ccircle cx='300' cy='372' r='2' opacity='.5'/%3E%3C/g%3E%3Cpath d='M150 378C220 386 330 384 410 366' fill='none' stroke='%238fc8ff' stroke-width='2.2' stroke-linecap='round' opacity='.45' filter='url(%23s)'/%3E%3C/svg%3E") center/contain no-repeat; filter:drop-shadow(0 0 6px rgba(160,205,255,.55)); }
header.top .logo-name { font-family:"Segoe Script","Brush Script MT","Lucida Handwriting","Apple Chancery","URW Chancery L","Z003",cursive; font-size:28px; font-weight:700; letter-spacing:.03em; color:var(--accent); text-shadow:0 0 14px rgba(195,204,200,.35); }
header.top .logo-sub { font-family:"Segoe Script","Brush Script MT","Lucida Handwriting","Apple Chancery","URW Chancery L","Z003",cursive; font-size:25px; font-weight:700; color:#5fcf9a; }
header.top a:not(.logo) { color:var(--parch); text-decoration:none; border-bottom:1px dotted var(--accent); }
header.top { flex-wrap:wrap; gap:10px 24px; }
.nav { display:flex; flex-wrap:wrap; align-items:center; gap:6px 22px; }
header.top .nav a { font-size:16px; letter-spacing:.04em; }
header.top .nav a:last-child:not(.nav-link) { opacity:.6; font-size:14px; }
header.top .nav a.nav-link:hover { color:#fff; border-bottom-style:solid; }
html { scroll-behavior:smooth; }
section[id] { scroll-margin-top:18px; }
.searchbar { margin:0 0 22px; }
.searchbar input { max-width:460px; padding:11px 18px; border-radius:99px; border:1px solid var(--accent); background:#0f1a15; color:var(--ink); box-shadow:inset 0 0 10px rgba(0,0,0,.5); }
.searchbar input::placeholder { color:var(--muted); }
.searchbar input:focus { outline:none; box-shadow:0 0 14px rgba(46,160,110,.5), inset 0 0 10px rgba(0,0,0,.5); }
section.info { margin:46px 0 0; padding:22px 26px; background:linear-gradient(#17271f,#0f1a15); border:1px solid var(--accent); border-radius:8px; outline:1px solid rgba(195,204,200,.2); outline-offset:-6px; }
section.info h2 { margin:0 0 10px; }
section.info p { margin:0 0 14px; max-width:680px; }
section.info .btn { display:inline-block; text-decoration:none; }
.idea-form { max-width:680px; }
.idea-form label { margin:12px 0 0; }
.idea-form textarea, .idea-form input { margin-top:4px; }
.idea-hint { margin:6px 0 0; font-size:13px; }
.idea-form .btn { margin-top:16px; }
main { max-width:1100px; margin:0 auto; padding:24px; }
h1 { margin:0 0 16px; }
h1.hero .nw { white-space:nowrap; }
.hero-spark { --star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cdefs%3E%3ClinearGradient id='sg' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23a5ecd0'/%3E%3C/linearGradient%3E%3CradialGradient id='cg'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='.95'/%3E%3Cstop offset='.35' stop-color='%23cfe6ff' stop-opacity='.6'/%3E%3Cstop offset='1' stop-color='%238fc0ff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle r='9' fill='url(%23cg)'/%3E%3Cg fill='%23cfeee2' fill-opacity='.14' stroke='url(%23sg)' stroke-width='1.100' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M0-10.500C1.500-3.500 3.500-1.500 10.500 0C3.500 1.500 1.500 3.500 0 10.500C-1.500 3.500-3.500 1.500-10.500 0C-3.500-1.500-1.500-3.500 0-10.500z'/%3E%3Cpath fill='none' stroke-width='.5' opacity='.6' d='M0-11.500V11.500M-11.500 0H11.500'/%3E%3C/g%3E%3Ccircle r='1.600' fill='%23ffffff'/%3E%3C/svg%3E"); position:relative; display:inline-block; width:.8em; height:.8em; margin:0 .55em 0 .25em; vertical-align:-.05em; background:var(--star) center/contain no-repeat; filter:drop-shadow(0 0 3px rgba(150,200,255,.7)) drop-shadow(0 0 8px rgba(120,170,255,.4)); animation:twinkle 3.2s ease-in-out infinite; -webkit-text-fill-color:initial; }
.hero-spark::before, .hero-spark::after { content:""; position:absolute; background:var(--star) center/contain no-repeat; }
.hero-spark::before { width:.42em; height:.42em; right:-.5em; top:-.3em; animation:twinkle 2.4s ease-in-out -.8s infinite; }
.hero-spark::after { width:.3em; height:.3em; right:-.4em; bottom:-.12em; animation:twinkle 2.9s ease-in-out -1.6s infinite; }
@keyframes twinkle { 0%,100% { opacity:.55; transform:scale(.85); } 50% { opacity:1; transform:scale(1.05); } }
@media (prefers-reduced-motion:reduce) { .hero-spark, .hero-spark::before, .hero-spark::after { animation:none; } }
h1.hero .hero-title { font-size:clamp(26px,3.4vw,38px); line-height:1.2; background:linear-gradient(100deg,#ffffff 0%,#c3ccc8 45%,#8fe0bd 100%); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; filter:drop-shadow(0 0 12px rgba(143,224,189,.3)); }
h1.hero::after { content:""; display:block; width:min(320px,70%); height:1px; margin-top:12px; background:linear-gradient(90deg,var(--accent),rgba(143,224,189,.5),transparent); font-size:0; }.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:22px; }
.card { text-decoration:none; display:flex; flex-direction:column; transition:transform .15s; }
.pic { position:relative; aspect-ratio:709/1280; filter:drop-shadow(0 6px 14px rgba(0,0,0,.55)); transition:filter .15s; }
.pic::before { content:""; position:absolute; inset:0; background:url("/img/frame.svg") center/100% 100% no-repeat; }
.pframe { --ticket-win:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 386' preserveAspectRatio='none'%3E%3Cpath d='M35.600 0H224.400A54 54 0 0 0 260 35.600V350.400A54 54 0 0 0 224.400 386H35.600A54 54 0 0 0 0 350.400V35.600A54 54 0 0 0 35.600 0Z'/%3E%3C/svg%3E"); position:relative; width:100%; aspect-ratio:300/426; filter:drop-shadow(0 8px 18px rgba(0,0,0,.55)); }
.pframe::before { content:""; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 426' fill='none'%3E%3Cpath fill='%23111a16' stroke='%23c9d8cf' stroke-width='4' stroke-linejoin='round' d='M42 4H258A38 38 0 0 0 296 42V384A38 38 0 0 0 258 422H42A38 38 0 0 0 4 384V42A38 38 0 0 0 42 4Z'/%3E%3Cpath stroke='%23c9d8cf' stroke-width='1.600' stroke-linejoin='round' d='M53.300 17H246.700A51 51 0 0 0 283 53.300V372.700A51 51 0 0 0 246.700 409H53.300A51 51 0 0 0 17 372.700V53.300A51 51 0 0 0 53.300 17Z'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.card:hover { transform:translateY(-4px); }
.card:hover .pic { filter:drop-shadow(0 0 10px rgba(46,160,110,.5)) drop-shadow(0 8px 16px rgba(0,0,0,.6)); }
.card .ph { --win:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408 866' preserveAspectRatio='none'%3E%3Cpath d='M0 853L12 866H396L408 853V286C408 178 310 68 204 0C98 68 0 178 0 286z'/%3E%3C/svg%3E"); position:absolute; left:21.15%; top:20.48%; width:57.5%; height:67.7%; background:#1e3028 center/cover no-repeat; -webkit-mask:var(--win) center/100% 100% no-repeat; mask:var(--win) center/100% 100% no-repeat; }
.card .body { margin-top:12px; padding:0 4px; text-align:center; }
.card .title { font-weight:600; }
.price { color:var(--accent); font-weight:700; text-shadow:0 0 8px rgba(195,204,200,.25); }
.muted { color:var(--muted); font-size:14px; }
.badge { display:inline-block; font-size:13px; padding:2px 10px; border-radius:99px; background:#123a28; color:#8fe0b0; border:1px solid #2e7d57; }
.badge.wait { background:#222b28; color:#c3ccc8; border-color:#6b7a74; }
.product { display:grid; grid-template-columns:1.2fr 1fr; gap:28px; }
@media (max-width:800px) { .product { grid-template-columns:1fr; } }
.gallery .main { position:absolute; left:6.67%; top:4.69%; width:86.67%; height:90.6%; background:#1e3028 center/cover no-repeat; -webkit-mask:var(--ticket-win) center/100% 100% no-repeat; mask:var(--ticket-win) center/100% 100% no-repeat; }
.thumbs { display:flex; gap:8px; margin-top:8px; flex-wrap:wrap; }
.thumbs button { width:64px; height:64px; border:2px solid var(--line); border-radius:4px; background:#1e3028 center/cover; cursor:pointer; padding:0; }
.thumbs button.on { border-color:var(--accent); }
.vw-mark { position:absolute; inset:0; pointer-events:none; opacity:.07; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='120'%3E%3Ctext x='90' y='64' font-family='Georgia,serif' font-size='22' fill='white' text-anchor='middle' transform='rotate(-24 90 60)'%3ELLight3d%3C/text%3E%3C/svg%3E"); }
#viewer { width:100%; aspect-ratio:4/5; border-radius:6px; border:2px solid var(--accent); background:radial-gradient(circle at 50% 40%,#264236,#070d0a); margin-top:12px; touch-action:none; }
.btn { background:linear-gradient(#d7dedb,#8e9a95); color:#0c1a13; font-family:var(--serif); font-weight:700; letter-spacing:.05em; border:1px solid #4f5d57; border-radius:6px; padding:11px 22px; font-size:17px; cursor:pointer; box-shadow:0 0 12px rgba(195,204,200,.3); transition:box-shadow .2s, transform .2s; }
.btn:hover { box-shadow:0 0 22px rgba(46,160,100,.6); transform:translateY(-1px); }
.btn.sec { background:#13201b; color:var(--parch); border:1px solid var(--accent); box-shadow:none; }
.btn.danger { background:linear-gradient(#a8323f,#6e1620); color:#fff; border-color:#3d0a10; }
.btn:disabled { opacity:.6; cursor:default; }
input, textarea, select { width:100%; padding:9px 11px; border:1px solid var(--line); border-radius:4px; font:inherit; background:#e6ede9; color:#0f1d17; }
label { display:block; margin:10px 0 4px; font-size:14px; color:var(--muted); }
dialog { border:2px solid var(--accent); background:var(--card); color:var(--ink); border-radius:6px; padding:22px; max-width:420px; width:92%; box-shadow:0 20px 50px rgba(0,0,0,.5); }
dialog::backdrop { background:rgba(0,0,0,.6); }
.row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.msg { margin-top:10px; min-height:1.4em; }
.msg.err { color:#ff8d8d; } .msg.ok { color:#8fe0b0; }
table { width:100%; border-collapse:collapse; background:#13201b; border:1px solid var(--accent); }
th, td { text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); font-size:15px; vertical-align:middle; }
th { color:var(--accent); font-variant:small-caps; letter-spacing:.05em; }
.admin-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:24px; }
@media (max-width:900px) { .admin-layout { grid-template-columns:1fr; } }
.panel { background:linear-gradient(#17271f,#0f1a15); border:1px solid var(--accent); border-radius:6px; padding:16px; }
.files { display:flex; gap:8px; flex-wrap:wrap; margin:8px 0; }
.files .f { border:1px solid var(--line); border-radius:4px; padding:4px 8px; font-size:13px; cursor:pointer; background:#0f1a15; }
.files .f.on { border-color:var(--accent); background:#1d4a35; }
footer { border-top:1px solid var(--line); font-style:italic; text-align:center; color:var(--muted); padding:30px; font-size:14px; }

@keyframes flicker { 0%,100% { opacity:.9 } 50% { opacity:1 } }
::selection { background:var(--accent2); color:#f2f7f4; }
