/* EvaKarusel private AI Studio, isolated styles. */
.eva-root{max-width:1200px;margin:0 auto;padding:16px 10px 55px;color:#f8f8f8}
.eva-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;border-bottom:1px solid #303238;padding-bottom:18px}
.eva-header h2{font-weight:850;font-size:clamp(30px,4vw,48px);margin:6px 0}.eva-header p{color:#aeb5c2;margin:0}.eva-mark{font-size:40px;color:#ffbf00}
.eva-form,.eva-editor{background:#101319;border:1px solid #2a303c;border-radius:22px;padding:22px;display:grid;gap:18px;margin-bottom:24px}
.eva-form label,.eva-editor label{display:flex;flex-direction:column;gap:9px;color:#d6dbe7;font-size:14px;font-weight:600}
.eva-form textarea,.eva-form select,.eva-form input[type=file],.eva-editor textarea{background:#090c13;color:white;border:1px solid #323843;border-radius:12px;padding:14px;min-height:48px;width:100%;box-sizing:border-box;font:inherit}
.eva-form textarea,.eva-editor textarea{resize:vertical}.eva-modes{display:flex;gap:10px;flex-wrap:wrap}.eva-modes label{display:flex;flex-direction:row;align-items:center;padding:13px;border:1px solid #dba900;border-radius:11px;cursor:pointer}.eva-modes label.disabled{opacity:.48;border-color:#444;cursor:not-allowed}.eva-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.eva-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:20px;align-items:start}.eva-editor{margin:0}.eva-editor .button{width:100%}
.eva-preview{display:block;width:min(100%,400px);margin:0 auto;border-radius:16px;box-shadow:0 22px 55px rgba(0,0,0,.28);aspect-ratio:4/5}
.eva-tabs{display:flex;gap:8px;overflow-x:auto;margin:14px 0 22px}.eva-tab{border:1px solid #343845;color:#ddd;background:#141824;border-radius:10px;padding:10px 16px;white-space:nowrap}.eva-tab.selected,.eva-thumb.selected{border-color:#ffc400;color:#ffc400;background:#302a14}
.eva-thumbs{display:flex;gap:8px;justify-content:center;margin:18px auto}.eva-thumb{padding:8px 14px;background:#171b25;color:#eee;border:1px solid #343845;border-radius:9px}
.eva-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.eva-good{color:#50c88b}.eva-history-item{padding:16px 18px;display:flex;align-items:center;gap:12px;justify-content:space-between;width:100%;text-align:left;border:1px solid #292e38;background:#101419;color:inherit;border-radius:12px;margin:7px 0}.eva-history-item b{flex:1}.eva-history-item small{color:#9da5b1}
.eva-loading{position:relative;min-height:220px;display:flex;align-items:center;gap:15px;padding:26px 24px;background:#151622;border:1px solid #4e4252;border-radius:22px;overflow:hidden}.eva-kitten-button{padding:0;margin:0;border:0;background:none;cursor:pointer;flex-shrink:0;transform-origin:center}.eva-kitten-button.eva-strike{animation:eva-strike .7s ease-out}.eva-kitten{width:76px;height:76px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 4px 9px rgba(255,199,82,.24));animation:eva-walk 4.2s ease-in-out infinite,eva-sword 1.8s ease-in-out infinite alternate}.eva-loading-words{display:grid;gap:7px}.eva-loading-words small{color:#b7b7bc}.eva-progress{position:absolute;bottom:0;left:0;width:50%;height:4px;background:#ffc000;animation:eva-progress 2.7s ease-in-out infinite alternate}
@keyframes eva-walk{0%{transform:translateX(-8px) rotate(-8deg)}40%{transform:translateX(18px) rotate(8deg)}70%{transform:translateX(34px) rotate(-4deg)}100%{transform:translateX(-8px) rotate(-8deg)}}@keyframes eva-sword{from{filter:drop-shadow(0 0 2px #e7d791)}to{filter:drop-shadow(0 0 14px #ffc44a)}}@keyframes eva-progress{0%{transform:translateX(-95%)}100%{transform:translateX(195%)}}
@media(max-width:720px){.eva-row,.eva-workspace{grid-template-columns:1fr}.eva-form,.eva-editor{padding:16px}.eva-kitten{width:64px;height:64px}.eva-preview{width:min(100%,360px)}}@media(prefers-reduced-motion:reduce){.eva-kitten,.eva-progress{animation:none}}

@keyframes eva-strike{0%{transform:rotate(0) translateY(0)}35%{transform:rotate(-22deg) translateY(-18px)}65%{transform:rotate(24deg) translateX(18px)}100%{transform:rotate(0)}}
@media(prefers-reduced-motion:reduce){.eva-kitten-button.eva-strike{animation:none}}
/* EvaKarusel V1.1 — selectable 4–9 slides and server-backed price. */
.eva-form{background:linear-gradient(150deg,#151a24 0%,#0e111a 72%);box-shadow:0 18px 60px #00000022;border:1px solid #343b48}
.eva-lead{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #2b303c;padding:0 0 18px}
.eva-lead h3{font-size:clamp(20px,2vw,27px);line-height:1.2;margin:8px 0 6px}.eva-lead p{margin:0;color:#aab5c5;font-size:14px}.eva-highlight{font-weight:900;letter-spacing:-1px;font-size:26px;color:#ffc21c;border:1px solid #5f4b18;background:#231d0f;border-radius:13px;padding:14px;white-space:nowrap}
.eva-modes{margin:0}.eva-modes label{min-height:52px;min-width:160px;box-sizing:border-box;align-items:center;justify-content:center;font-size:14px;background:#171c28;gap:12px}.eva-modes label:not(.disabled){box-shadow:inset 0 0 0 1px #b98a04}.eva-modes label.disabled{background:#10141b}
.eva-count-field{border:1px solid #343b48;border-radius:16px;padding:16px 18px 15px;min-width:0;margin:0;background:#111725}
.eva-count-field legend{font-weight:750;padding:0 6px;font-size:14px;color:#f0f1f5}
.eva-count-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.eva-count-option{display:block!important;position:relative;cursor:pointer;text-align:center}
.eva-count-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.eva-count-option span{display:flex;justify-content:center;align-items:center;height:54px;border:1px solid #414857;border-radius:12px;background:#171d29;color:#d9dfe8;font-size:19px;font-weight:850;transition:background .15s,border-color .15s}
.eva-count-option input:checked+span{background:#3b2d0a;border-color:#ffc000;color:#ffcb30;box-shadow:0 0 0 1px #ffb800}
.eva-count-option input:focus-visible+span{outline:3px solid #6cbeff;outline-offset:2px}
.eva-count-option span:hover{border-color:#dea913}
.eva-count-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px;color:#b1c0ce;font-size:13px}
.eva-offer{color:#ffc943}.eva-offer strong{font-size:16px;color:#ffcc36}
.eva-form .eva-submit{width:100%;min-height:58px;background:linear-gradient(105deg,#f5b700,#ffcd2b);color:#1b1608;font-size:16px;font-weight:800;border-radius:12px;cursor:pointer}
.eva-form .eva-submit:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.6}
@media(max-width:600px){.eva-count-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.eva-lead{align-items:flex-start}.eva-highlight{font-size:18px;padding:8px}.eva-modes label{min-width:0;flex:1}}
/* EvaKarusel V1.2 — four creation flows, multi-image ordering and safe upload preview. */
.eva-source-modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.eva-source-choice{position:relative!important;display:block!important;cursor:pointer}
.eva-source-choice input{position:absolute;opacity:0;width:1px;height:1px}
.eva-source-choice span{display:flex;align-items:center;justify-content:center;min-height:66px;padding:9px;border:1px solid #424955;border-radius:14px;background:#171c27;text-align:center;line-height:1.4;font-size:13px;color:#d7dfef}
.eva-source-choice input:checked+span{border-color:#ffc52f;background:#342908;color:#ffd455;box-shadow:inset 0 0 0 1px #b48612}
.eva-source-choice input:focus-visible+span{outline:3px solid #7dc8fd;outline-offset:3px}
.eva-source-choice span:hover{border-color:#e8b632}
#evaPhotoBlock{padding:15px;border:1px dashed #5c697c;border-radius:13px;background:#121925}
#evaPhotoBlock[hidden]{display:none!important}
#evaPhotoBlock .muted{font-size:12px;margin:7px 0 0}
.eva-selected{display:grid;gap:7px;margin-top:10px}
.eva-upload-item{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#1b2330;border-radius:9px;padding:8px 10px;font-size:12px;min-width:0}
.eva-upload-item>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.eva-upload-item>div{display:flex;gap:6px;flex-shrink:0}
.eva-upload-item button{border-radius:7px;border:1px solid #475369;background:#253045;color:#fff;width:27px;height:27px;cursor:pointer}
.eva-upload-item button:disabled{opacity:.3;cursor:default}
@media(max-width:760px){.eva-source-modes{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* EvaKarusel V1.3: true multi-file uploading and one carousel per purchase. */
#evaUpload{cursor:pointer;max-width:100%}
.eva-selected:empty{display:none}
.eva-upload-item:focus-within{outline:1px solid #e9b62e}
@media(max-width:520px){.eva-upload-item{flex-wrap:wrap}.eva-upload-item>span{width:100%}}
/* EvaKarusel V1.4: product controls and independent, adjustable slide art direction. */
.eva-form input[type=text],.eva-editor select{background:#090c13;color:#fff;border:1px solid #323843;border-radius:12px;padding:13px;min-height:48px;width:100%;box-sizing:border-box;font:inherit}
.eva-design-fields{border:1px solid #343b48;border-radius:16px;margin:0;padding:16px;display:grid;gap:14px;min-width:0;background:#111725}
.eva-design-fields legend{font-size:15px;font-weight:750;padding:0 8px;color:#f2e8cd}
.eva-inline-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important;font-weight:500!important;line-height:1.4;cursor:pointer}
.eva-inline-check input{accent-color:#ffc22c;width:20px;height:20px;flex:0 0 20px}
.eva-style-hint{font-size:12px;color:#b3bfd1;line-height:1.55}
.eva-editor-settings{border:1px solid #384255;border-radius:12px;padding:12px;background:#111724;min-width:0}
.eva-editor-settings summary{font-size:14px;font-weight:800;cursor:pointer;margin:0 0 12px;color:#edc35d}
.eva-editor-settings .eva-row{gap:12px;margin-bottom:12px}
.eva-editor-settings small{display:block;color:#aab5c5;line-height:1.45;margin-top:7px}
.eva-editor-settings .button{margin-top:8px}
@media(max-width:720px){.eva-design-fields{padding:12px}.eva-editor-settings .eva-row{grid-template-columns:1fr}}
