/* Evimde Dene */
.evd { font-family: var(--f-body); color: var(--c-ink); }
.evd-work { display: none; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.evd.has-photo .evd-work { display: grid; }
.evd.has-photo .evd-start { display: none; }
.evd-start { max-width: 640px; margin: 0 auto; text-align: center; padding: 10px 0 30px; }
.evd-steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; text-align: left; }
.evd-steps li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 12px 16px; }
.evd-steps b { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; font-family: var(--f-display); }
.evd-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.evd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 4px; border: 1.5px solid var(--c-ink); background: #fff; color: var(--c-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.evd-btn.primary { background: var(--c-ink); color: #fff; }
.evd-btn.ghost { border-color: var(--c-line); }
.evd-btn.small { padding: 9px 14px; font-size: 13px; }
.evd-btn:focus-visible, .evd-h:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.evd-privacy { margin: 14px 0 0; font-size: 13px; color: var(--c-ink-soft); }
.evd-stage { position: relative; display: flex; justify-content: center; background: #f4f2ee; border-radius: 4px; touch-action: none; -webkit-user-select: none; user-select: none; }
.evd-stage canvas { display: block; max-width: 100%; }
.evd-h { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 0; background: none; padding: 0; cursor: grab; display: none; touch-action: none; }
.evd-h::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--c-accent); box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.evd.editing .evd-h { display: block; }
.evd-panel { position: sticky; top: calc(var(--header-h, 150px) + 16px); background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 18px; }
.evd-hint { margin: 0 0 12px; font-size: 13.5px; background: #f6f2ea; padding: 10px 12px; border-radius: 4px; }
.evd:not(.editing) .evd-hint { display: none; }
.evd-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.evd-lbl { display: block; font-size: 13px; color: var(--c-ink-soft); margin: 12px 0 6px; }
.evd-lbl b { color: var(--c-ink); }
.evd-select { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; color: var(--c-ink); }
.evd-sw, .evd-prof { display: flex; flex-wrap: wrap; gap: 6px; }
.evd-sw button, .evd-prof button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--c-line); border-radius: 3px; overflow: hidden; cursor: pointer; background: #fff; }
.evd-sw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evd-prof span { display: block; width: 100%; height: 100%; }
.evd-sw button.cur, .evd-prof button.cur { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.evd-range { width: 100%; accent-color: var(--c-ink); }
.evd-actions { margin-top: 18px; }
.evd-actions .k-btn { display: flex; text-decoration: none; margin-bottom: 10px; background: #23211D; color: #fff; border-radius: 3px; padding: 13px; font-weight: 600; justify-content: center; }
.evd-note { font-size: 11.5px; color: var(--c-ink-soft); margin: 10px 0 0; }
@media (max-width: 900px) {
  .evd-work { grid-template-columns: 1fr; }
  .evd-panel { position: static; }
}
.evd-select{box-sizing:border-box;max-width:100%}
.evd-hint2 { margin: 0 0 12px; font-size: 13px; color: var(--c-ink-soft); }
.evd.editing .evd-hint2 { display: none; }
.evd-wins-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.evd-wins { display: flex; gap: 6px; flex-wrap: wrap; }
.evd-wins button { padding: 8px 12px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.evd-wins button.cur { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.evd:not(.multi) .evd-wins { display: none; }
.evd-btn[disabled] { opacity: .45; cursor: not-allowed; }
.evd-check { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 12px 0 0; }
.evd-check input { accent-color: var(--c-ink); width: 16px; height: 16px; }
.evd-stage canvas { cursor: ns-resize; }
.evd-range{box-sizing:border-box;max-width:100%;display:block}
/* Sadeleştirilmiş panel ve yardımcılar */
.evd:not(.editing) .evd-editrow { display: none; }
.evd-adv { margin-top: 16px; border-top: 1px solid var(--c-line); padding-top: 10px; }
.evd-adv summary { cursor: pointer; font-weight: 700; font-size: 14px; padding: 6px 0; list-style: none; display: flex; justify-content: space-between; }
.evd-adv summary::after { content: "+"; font-size: 18px; line-height: 1; }
.evd-adv[open] summary::after { content: "−"; }
.evd-adv > .evd-row { margin-top: 8px; }
.evd-coach { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 8px; background: rgba(35,33,29,.78); color: #fff; padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center; }
.evd-coach[hidden] { display: none; }
.evd-hand { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.25); }
@media (prefers-reduced-motion: no-preference) { .evd-hand { animation: evdHand 1.6s ease-in-out infinite; } }
@keyframes evdHand { 0%,100% { transform: translateY(-14px); } 50% { transform: translateY(14px); } }
.evd-loupe { position: absolute; z-index: 6; width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,.35); pointer-events: none; }
.evd-loupe[hidden] { display: none; }
.evd-toast { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 5; background: rgba(35,33,29,.9); color: #fff; font-size: 13px; padding: 10px 12px; border-radius: 8px; text-align: center; }
.evd-toast[hidden] { display: none; }
@media (max-width: 900px) {
  .evd.has-photo .evd-stage { position: sticky; top: calc(var(--header-h, 70px) - 1px); z-index: 20; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
  .evd-sw, .evd-prof { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .evd-sw button, .evd-prof button { flex: 0 0 40px; width: 40px; height: 40px; }
}
.evd-work > *, .evd-panel { min-width: 0; }
.evd-actions .k-btn { box-sizing: border-box; width: 100%; }
@media (max-width: 900px) { .evd.has-photo .evd-stage { top: var(--evd-sticky, 62px); } }
