@font-face { font-family: "DrKufi"; src: url("./fonts/NotoKufiArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DrKufi"; src: url("./fonts/NotoKufiArabic-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
html, body { margin: 0; min-height: 100%; background: #0a0908; }
html { scroll-behavior: smooth; }
:root { --bg:#0a0908; --bg2:#12100e; --ink:#efe8dc; --ink2:#a69d90; --gold:#c9a45c; --line:rgba(239,232,220,.14); }
.ed, .dr-gate, .dr-toast, .ed *, .dr-gate * { font-family: "DrKufi","Noto Kufi Arabic",system-ui,-apple-system,"Segoe UI",sans-serif; box-sizing: border-box; color: var(--ink); }
.ed-btn.pri, .ed-btn.pri * { color: #0a0908; } .ed .ed-btn.dng { color: #ff8b80; } .dr-gate-err { color: #ff8b80 !important; } .dr-toast { color: #fff !important; }
.ed h2, .ed-sec > h2 { color: var(--gold) !important; } .ed .hint, .ed small, .ed-note, .ed-reset p, .dr-gate-box p { color: var(--ink2) !important; }
.dr-root {
  background: var(--bg); color: var(--ink); font-family: "DrKufi","Noto Kufi Arabic",system-ui,-apple-system,"Segoe UI",sans-serif; font-size: 16px; line-height: 1.7; overflow-x: clip; position: relative; }
.dr-root *, .dr-root *::before, .dr-root *::after { box-sizing: border-box; }
.dr-root a { color: inherit; text-decoration: none; }
.dr-root button { font: inherit; color: inherit; cursor: pointer; }
.dr-root h1, .dr-root h2, .dr-root h3, .dr-root p { margin: 0; }
.dr-root h1, .dr-root h2, .dr-root h3 { font-weight: 700; line-height: 1.25; }

/* nav */
.dr-nav { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 40px 20px 0; }
.dr-brand { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.dr-links { display: none; gap: 28px; font-size: 14px; color: var(--ink2); }
.dr-links a:hover { color: var(--ink); }
.dr-lang { min-width: 44px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10,9,8,.35); backdrop-filter: blur(6px); font-size: 13px; }
.dr-lang:hover { border-color: var(--gold); color: var(--gold); }

/* hero */
.dr-hero { position: relative; min-height: 720px; display: grid; align-items: end; justify-items: center; overflow: hidden; isolation: isolate; }
.dr-hero-bg, .dr-hero-img { position: absolute; inset: -4%; z-index: -3; animation: dr-ken 28s ease-in-out infinite alternate; }
.dr-hero-img { width: 108%; height: 108%; object-fit: cover; }
.dr-hero-bg { background:
  radial-gradient(60% 50% at 70% 28%, rgba(201,164,92,.42), transparent 70%),
  radial-gradient(50% 60% at 15% 70%, rgba(120,52,38,.5), transparent 70%),
  linear-gradient(160deg, #1b1613 0%, #0d0b0a 60%, #070606 100%); }
.dr-beam { position: absolute; top: -20%; width: 18%; height: 140%; background: linear-gradient(180deg, rgba(255,236,200,.22), transparent 75%); filter: blur(22px); transform: rotate(18deg); }
.dr-beam.b1 { inset-inline-start: 52%; animation: dr-sweep 9s ease-in-out infinite alternate; }
.dr-beam.b2 { inset-inline-start: 72%; width: 10%; opacity: .6; animation: dr-sweep 13s ease-in-out infinite alternate-reverse; }
.dr-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.1) 35%, rgba(10,9,8,.88) 88%, var(--bg) 100%); }
.dr-grain svg { width: 100%; height: 100%; display: block; }
.dr-grain { position: absolute; inset: -50%; z-index: -1; opacity: .16; pointer-events: none; mix-blend-mode: overlay; animation: dr-grain 1.2s steps(6) infinite; }
.dr-bar { position: absolute; inset-inline: 0; height: 28px; background: #000; z-index: 1; }
.dr-bar-t { top: 0; } .dr-bar-b { bottom: 0; }
.dr-hero-body { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 140px 24px 96px; }
.dr-eyebrow { color: var(--gold); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.dr-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.dr-title { font-size: clamp(40px, 12vw, 120px); letter-spacing: -.01em; line-height: 1.1; max-width: 12ch; }
.dr-root[lang="en"] .dr-title { letter-spacing: -.035em; font-weight: 700; }
.dr-tag { margin-top: 20px; max-width: 34ch; font-size: 18px; color: var(--ink2); }
.dr-play { margin-top: 36px; display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 26px 6px 6px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10,9,8,.4); backdrop-filter: blur(8px); transition: border-color .3s, background .3s; }
.dr-root[dir="rtl"] .dr-play { padding: 6px 6px 6px 26px; }
.dr-play:hover { border-color: var(--gold); background: rgba(201,164,92,.12); }
.dr-play-ico { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #0a0908; display: grid; place-items: center; flex: none; }
.dr-play-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: dr-pulse 2.4s ease-out infinite; }
.dr-scroll { position: absolute; z-index: 2; bottom: 44px; inset-inline-end: 24px; display: none; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; color: var(--ink2); }
.dr-scroll i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: dr-drip 2s ease-in-out infinite; transform-origin: top; }

.dr-perf { height: 22px; background: #000; border-block: 1px solid #1a1714;
  background-image: repeating-linear-gradient(90deg, transparent 0 14px, #1f1b17 14px 26px); background-size: 26px 8px; background-repeat: repeat-x; background-position: 0 7px; }

/* sections */
.dr-sec { padding: 72px 0; }
.dr-sec-alt { background: var(--bg2); }
.dr-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.dr-sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.dr-sec-head h2 { font-size: clamp(28px, 6vw, 44px); }
.dr-kicker { color: var(--gold); font-size: 13px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.dr-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.dr-filters button { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: 14px; color: var(--ink2); transition: all .25s; }
.dr-filters button:hover { color: var(--ink); border-color: var(--ink2); }
.dr-filters button.is-on { background: var(--ink); color: #0a0908; border-color: var(--ink); font-weight: 700; }

.dr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
.dr-card { display: block; min-width: 0; }
.dr-card h3 { margin-top: 14px; font-size: 16px; }
.dr-card p { margin-top: 4px; color: var(--ink2); font-size: 13px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; }
.dr-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); display: inline-block; }
.dr-poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: #17130f; border: 1px solid var(--line); }
.dr-poster-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.dr-poster-ph { position: absolute; inset: 0; display: grid; place-items: center; color: hsla(var(--h), 40%, 78%, .55);
  background: radial-gradient(80% 60% at 50% 30%, hsla(var(--h), 55%, 40%, .55), transparent 75%), linear-gradient(170deg, hsl(var(--h), 30%, 14%), #0a0908); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.dr-poster-n { font-size: clamp(54px, 18vw, 96px); font-weight: 700; line-height: 1; opacity: .35; font-variant-numeric: tabular-nums; }
.dr-poster-ico { position: absolute; bottom: 14px; inset-inline-start: 14px; opacity: .7; }
.dr-type { position: absolute; top: 10px; inset-inline-start: 10px; padding: 2px 10px; border-radius: 99px; background: rgba(10,9,8,.7); backdrop-filter: blur(4px); font-size: 11px; line-height: 1.8; border: 1px solid var(--line); }
.dr-watch { position: absolute; inset-inline: 0; bottom: 0; padding: 36px 12px 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.85)); opacity: 0; transform: translateY(8px); transition: all .35s; }
a.dr-card:hover .dr-poster > :first-child, .dr-card:hover .dr-poster > :first-child { transform: scale(1.06); }
.dr-card:hover .dr-watch, .dr-card:focus-visible .dr-watch { opacity: 1; transform: none; }
.dr-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (hover: none) { .dr-watch { display: none; } }

/* about */
.dr-about { display: grid; gap: 36px; }
.dr-photo { position: relative; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #17130f; }
.dr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-photo-ph { position: absolute; inset: 0; display: grid; place-items: end center; color: rgba(239,232,220,.12); background: radial-gradient(70% 50% at 50% 35%, rgba(201,164,92,.25), transparent 75%), linear-gradient(180deg, #1a1612, #0d0b0a); }
.dr-photo-ph svg { display: block; }
.dr-photo-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 16px 14px; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.dr-bio { color: #d4ccbf; font-size: 17px; line-height: 1.95; margin-bottom: 14px; max-width: 56ch; }
.dr-stats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.dr-stats b { display: block; font-size: 30px; color: var(--gold); line-height: 1.2; }
.dr-stats span { font-size: 13px; color: var(--ink2); }

/* clients */
.dr-logos + .dr-logos { margin-top: 32px; }
.dr-logos h3 { font-size: 13px; letter-spacing: .12em; color: var(--ink2); font-weight: 400; margin-bottom: 14px; }
.dr-logos ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.dr-logos li { display: grid; place-items: center; text-align: center; min-height: 84px; padding: 12px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); color: var(--ink2); font-size: 15px; transition: color .3s, background .3s; }
.dr-logos li:hover { color: var(--ink); background: rgba(239,232,220,.03); }
.dr-fest { color: var(--gold) !important; }
.dr-fest::before { content: "❦"; display: none; }

/* contact */
.dr-lead { font-size: clamp(24px, 5.4vw, 40px); font-weight: 700; line-height: 1.4; margin-bottom: 36px; max-width: 18ch; }
.dr-cgrid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.dr-cgrid > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dr-cgrid span { color: var(--ink2); font-size: 12px; letter-spacing: .14em; }
.dr-cgrid a { font-size: 19px; width: fit-content; transition: color .25s; }
.dr-cgrid a:hover { color: var(--gold); }
.dr-soc { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 17px; }
.dr-soc em { font-style: normal; color: var(--ink2); }
.dr-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 28px 20px 110px; font-size: 12px; color: var(--ink2); border-top: 1px solid var(--line); }

/* fab */
.dr-fab { position: fixed; z-index: 40; bottom: 18px; inset-inline-end: 18px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 99px; background: var(--gold); color: #0a0908; font-weight: 700; font-size: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1) inset; transition: transform .25s, background .25s; }
.dr-fab:hover { transform: translateY(-2px); background: #dcb86c; }

/* modal */
.dr-modal { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(4,3,3,.88); backdrop-filter: blur(10px); animation: dr-fade .25s ease; }
.dr-modal-box { position: relative; width: 100%; max-width: 1040px; animation: dr-pop .35s cubic-bezier(.2,.8,.2,1); }
.dr-x { position: absolute; top: -52px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 26px; line-height: 1; }
.dr-x:hover { border-color: var(--gold); color: var(--gold); }
.dr-screen { aspect-ratio: 16 / 9; width: 100%; background: #000; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.dr-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.dr-demo { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; color: var(--gold);
  background: radial-gradient(60% 70% at 50% 40%, rgba(201,164,92,.18), transparent 70%), #050403; }
.dr-demo b { color: var(--ink); font-size: 18px; }
.dr-demo span { color: var(--ink2); font-size: 13px; max-width: 34ch; }
.dr-open { display: inline-block; margin-top: 12px; color: var(--ink2); font-size: 13px; text-decoration: underline !important; }

/* reveal (only when JS observer is ready) */
.dr-js .dr-rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.dr-js .dr-rv.dr-in { opacity: 1; transform: none; }
.dr-hero-body > * { animation: dr-rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.dr-hero-body > :nth-child(2) { animation-delay: .12s; } .dr-hero-body > :nth-child(3) { animation-delay: .24s; } .dr-hero-body > :nth-child(4) { animation-delay: .36s; }

@keyframes dr-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes dr-ken { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes dr-sweep { from { transform: rotate(14deg) translateX(-4%); opacity: .5; } to { transform: rotate(22deg) translateX(6%); opacity: 1; } }
@keyframes dr-grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
@keyframes dr-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes dr-drip { 0%,100% { transform: scaleY(.2); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes dr-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dr-pop { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }

@media (min-width: 768px) {
  .dr-nav { padding: 58px 48px 0; } .dr-links { display: flex; }
  .dr-hero { min-height: 780px; } .dr-hero-body { padding: 160px 48px 120px; } .dr-scroll { display: flex; inset-inline-end: 48px; }
  .dr-tag { font-size: 21px; } .dr-bar { height: 44px; }
  .dr-sec { padding: 120px 0; } .dr-wrap { padding: 0 48px; }
  .dr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; } .dr-card h3 { font-size: 19px; } .dr-card p { font-size: 14px; }
  .dr-about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
  .dr-logos ul { grid-template-columns: repeat(3, minmax(0,1fr)); } .dr-logos li { min-height: 110px; font-size: 17px; }
  .dr-cgrid { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 48px; }
  .dr-fab { bottom: 28px; inset-inline-end: 32px; }
  .dr-foot { padding: 32px 48px 110px; }
}
@media (min-width: 1100px) { .dr-logos ul.x, .dr-logos ul { grid-template-columns: repeat(6, minmax(0,1fr)); } .dr-logos:last-of-type ul { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (prefers-reduced-motion: reduce) { .dr-root *, .dr-root *::before, .dr-root *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.dr-reel-on .dr-nav { visibility: hidden; }
.dr-cta { margin-inline-start: auto; min-height: 44px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--gold); color: #0a0908; font-weight: 700; font-size: 14px; }
.dr-nav .dr-links { margin-inline: auto; }
.dr-modal-box { margin-top: 24px; }
@media (min-width: 768px) { .dr-cta { margin-inline-start: 0; } }
.dr-modal { place-items: start center; padding-top: 110px; }
.dr-modal-box { margin-top: 0; }

.dr-hero-body { justify-self: center; margin: 0; }
.dr-grain { inset: -20%; opacity: .5; mix-blend-mode: soft-light;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px), radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px);
  background-size: auto, auto, 7px 7px; }

/* foot edit link */
.dr-foot { align-items: center; padding-bottom: 96px; }
.dr-edit-link { background: none; border: 0; color: var(--ink2); opacity: .45; font-size: 12px; padding: 12px 8px; min-height: 44px; }
.dr-edit-link:hover { opacity: 1; color: var(--gold); }
.dr-hero-img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; z-index: -3; animation: dr-ken 28s ease-in-out infinite alternate; }
.dr-modal { position: fixed; z-index: 100; padding: 16px; place-items: center; }
.dr-js .dr-rv.dr-now { opacity: 1; transform: none; transition: none; }
.dr-toast { position: fixed; z-index: 400; inset-inline: 16px; bottom: 20px; margin: 0 auto; max-width: 420px; padding: 16px 20px; border-radius: 14px; background: #1e8e5a; color: #fff; font-weight: 700; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.5); animation: dr-pop .3s ease; }
.dr-toast.err { background: #b3372f; }
/* code gate */
.dr-gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(4,3,3,.92); backdrop-filter: blur(10px); }
.dr-gate-box { width: 100%; max-width: 380px; background: #14110f; border: 1px solid var(--line); border-radius: 14px; padding: 28px 22px; text-align: center; }
.dr-gate-box h2 { font-size: 22px; margin-bottom: 6px; } .dr-gate-box p { color: var(--ink2); font-size: 14px; margin-bottom: 18px; }
.dr-gate-box input { width: 100%; height: 64px; text-align: center; font-size: 32px; letter-spacing: .5em; background: #0a0908; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; font-family: inherit; direction: ltr; padding-inline-start: .5em; }
.dr-gate-box input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.dr-gate-err { color: #ff8b80; min-height: 24px; font-size: 14px; margin: 10px 0; }
.dr-row { display: flex; gap: 10px; } .dr-row > * { flex: 1; }
/* editor */
.ed { position: fixed; inset: 0; z-index: 250; background: #0f0d0b; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ed-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(15,13,11,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.ed-bar h1 { font-size: 18px; flex: 1; margin: 0; }
.ed-wrap { max-width: 760px; margin: 0 auto; padding: 18px 16px 140px; }
.ed-sec { margin: 26px 0 0; padding: 20px 16px; background: #16130f; border: 1px solid var(--line); border-radius: 14px; }
.ed-sec > h2 { font-size: 20px; color: var(--gold); margin: 0 0 4px; }
.ed-sec > .hint { color: var(--ink2); font-size: 14px; margin: 0 0 14px; }
.ed label { display: block; font-size: 15px; font-weight: 700; margin: 14px 0 6px; color: var(--ink); }
.ed label small { font-weight: 400; color: var(--ink2); margin-inline-start: 6px; }
.ed input[type=text], .ed input[type=url], .ed input[type=email], .ed input[type=tel], .ed select, .ed textarea { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--ink); background: #0a0908; border: 1px solid #3a342d; border-radius: 10px; }
.ed textarea { min-height: 140px; line-height: 1.8; resize: vertical; }
.ed input:focus, .ed select:focus, .ed textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.ed .ltr { direction: ltr; text-align: left; }
.ed-two { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ed-two { grid-template-columns: 1fr 1fr; } .ed-three { grid-template-columns: repeat(3, 1fr); } }
.ed-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 10px; border: 1px solid #4a433a; background: #1f1b16; color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.ed-btn:hover { border-color: var(--gold); }
.ed-btn.pri { background: var(--gold); border-color: var(--gold); color: #0a0908; }
.ed-btn.dng { color: #ff8b80; border-color: #5a2a26; }
.ed-btn.sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.ed-btn[disabled] { opacity: .5; cursor: default; }
.ed-item { margin-top: 14px; padding: 14px; border: 1px solid #3a342d; border-radius: 12px; background: #120f0d; }
.ed-item-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.ed-item-h b { flex: 1; color: var(--gold); }
.ed-img { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.ed-img img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid #3a342d; background: #000; }
.ed-img .ph { width: 84px; height: 84px; border-radius: 8px; border: 1px dashed #4a433a; display: grid; place-items: center; color: var(--ink2); font-size: 12px; text-align: center; }
.ed-img label { position: relative; overflow: hidden; } .ed-img input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; font-size: 0; }
.ed-add { margin-top: 14px; width: 100%; }
.ed-foot { position: fixed; inset-inline: 0; bottom: 0; z-index: 6; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(15,13,11,.97); border-top: 1px solid var(--line); }
.ed-foot .ed-btn { flex: 1; }
.ed-note { color: var(--ink2); font-size: 13px; margin-top: 8px; }
.ed-reset { margin-top: 26px; padding: 18px 16px; border: 1px dashed #5a2a26; border-radius: 14px; }
.ed-reset p { color: var(--ink2); font-size: 14px; margin: 0 0 12px; }
