/* KVANTYRA V434 R5 — native palette with compact output controls */
#kvRecreatePhotoV434{
  min-height:100dvh;
  padding:6px 8px calc(124px + env(safe-area-inset-bottom,0px));
  overflow-x:hidden;
  color:#f7f5fb;
  background:
    radial-gradient(circle at 88% 4%,rgba(114,72,255,.14),transparent 28%),
    linear-gradient(180deg,#070817 0%,#050615 58%,#040511 100%);
  scroll-padding-bottom:140px;
}
#kvRecreatePhotoV434 *{box-sizing:border-box}
#kvRecreatePhotoV434 .kv-r434-head,
#kvRecreatePhotoV434 .kv-r434-shell{width:min(680px,100%);margin-inline:auto}
#kvRecreatePhotoV434 .kv-r434-head{padding:4px 5px 13px}
#kvRecreatePhotoV434 .kv-r434-kicker{display:block;margin-bottom:4px;color:#a88cff;font-size:10px;font-weight:850;letter-spacing:.19em}
#kvRecreatePhotoV434 .kv-r434-head h2{margin:0 0 6px;font-size:25px;line-height:1.1;font-weight:900;letter-spacing:-.025em}
#kvRecreatePhotoV434 .kv-r434-head p{max-width:560px;margin:0;color:rgba(231,227,235,.65);font-size:13px;line-height:1.4}
#kvRecreatePhotoV434 .kv-r434-shell{display:grid;gap:11px}
#kvRecreatePhotoV434 .kv-r434-card{overflow:hidden;padding:14px;border:1px solid rgba(132,117,255,.2);border-radius:22px;background:radial-gradient(circle at 8% 0%,rgba(88,77,214,.12),transparent 35%),linear-gradient(145deg,rgba(22,24,58,.98),rgba(10,12,31,.99));box-shadow:0 14px 40px rgba(0,0,0,.13),inset 0 1px rgba(255,255,255,.035)}
#kvRecreatePhotoV434 .kv-r434-title{display:flex;align-items:baseline;gap:9px;margin-bottom:11px}
#kvRecreatePhotoV434 .kv-r434-title b{font-size:17px;line-height:1.2;font-weight:850}
#kvRecreatePhotoV434 .kv-r434-title small{color:rgba(230,225,231,.56);font-size:11px;font-weight:650}
#kvRecreatePhotoV434 .kv-r434-upload{position:relative;display:grid;min-height:142px;overflow:hidden;border:1px dashed rgba(145,132,255,.29);border-radius:18px;background:rgba(5,7,23,.78);cursor:pointer}
#kvRecreatePhotoV434 .kv-r434-upload input,
#kvRecreatePhotoV434 .kv-r434-person-add input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}
#kvRecreatePhotoV434 .kv-r434-upload-copy{display:grid;place-content:center;justify-items:center;gap:5px;padding:16px;text-align:center}
#kvRecreatePhotoV434 .kv-r434-upload-copy i{color:#9c83ff;font-size:28px;font-style:normal;font-weight:300;line-height:1}
#kvRecreatePhotoV434 .kv-r434-upload-copy b{font-size:13px;font-weight:800}
#kvRecreatePhotoV434 .kv-r434-upload-copy small{color:rgba(226,221,226,.42);font-size:9px}
#kvRecreatePhotoV434 .kv-r434-scene-preview{position:absolute;inset:0;display:none}
#kvRecreatePhotoV434 .kv-r434-scene-preview.active{display:block}
#kvRecreatePhotoV434 .kv-r434-scene-preview img{display:block;width:100%;height:100%;object-fit:cover}
#kvRecreatePhotoV434 .kv-r434-preview-bar{position:absolute;z-index:2;left:8px;right:8px;bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px 7px 10px;border-radius:12px;background:rgba(5,5,7,.78);backdrop-filter:blur(12px);font-size:10px;font-weight:750}
#kvRecreatePhotoV434 .kv-r434-remove{display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid rgba(163,148,255,.2);border-radius:10px;background:rgba(10,12,34,.82);color:#fff;font-size:17px;line-height:1}
#kvRecreatePhotoV434 .kv-r434-note{margin-top:9px;color:rgba(226,221,226,.52);font-size:10px;line-height:1.45}
#kvRecreatePhotoV434 .kv-r434-people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#kvRecreatePhotoV434 .kv-r434-person,
#kvRecreatePhotoV434 .kv-r434-person-add{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:15px}
#kvRecreatePhotoV434 .kv-r434-person{border:1px solid rgba(147,132,255,.18);background:#080a20}
#kvRecreatePhotoV434 .kv-r434-person img{display:block;width:100%;height:100%;object-fit:cover}
#kvRecreatePhotoV434 .kv-r434-person .kv-r434-remove{position:absolute;right:5px;top:5px;width:25px;height:25px}
#kvRecreatePhotoV434 .kv-r434-person-add{display:grid;place-content:center;justify-items:center;gap:3px;border:1px dashed rgba(145,132,255,.29);background:rgba(5,7,23,.78);color:#f3efff;cursor:pointer;text-align:center}
#kvRecreatePhotoV434 .kv-r434-person-add i{color:#9c83ff;font-size:24px;font-style:normal;font-weight:300;line-height:1}
#kvRecreatePhotoV434 .kv-r434-person-add b{font-size:10px;font-weight:780}
#kvRecreatePhotoV434 .kv-r434-person-add small{color:rgba(226,221,226,.4);font-size:8px}
#kvRecreatePhotoV434 .kv-r434-params-title{display:flex;align-items:baseline;gap:6px;margin-top:13px;color:rgba(245,242,255,.78);font-size:10px;font-weight:780}
#kvRecreatePhotoV434 .kv-r434-params-title small{color:rgba(222,217,239,.42);font-size:9px;font-weight:600}
#kvRecreatePhotoV434 .kv-r434-metrics{display:grid;grid-template-columns:1fr 1px 1fr;gap:0;margin-top:7px;padding:7px;border:1px solid rgba(137,122,255,.17);border-radius:17px;background:rgba(5,7,24,.64)}
#kvRecreatePhotoV434 .kv-r434-metric{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;padding:4px 7px;color:#f8f6ff}
#kvRecreatePhotoV434 .kv-r434-metric-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(143,119,255,.2);border-radius:10px;background:linear-gradient(145deg,rgba(70,104,255,.15),rgba(151,72,255,.17));color:#9f86ff}
#kvRecreatePhotoV434 .kv-r434-metric-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#kvRecreatePhotoV434 .kv-r434-metric-field{display:grid;gap:0;min-width:0}
#kvRecreatePhotoV434 .kv-r434-metric-field small{color:rgba(224,219,240,.48);font-size:8px;font-weight:650;line-height:1.1}
#kvRecreatePhotoV434 .kv-r434-metric input{width:100%;height:23px;padding:0;border:0;background:transparent;color:#fff;font:inherit;font-size:14px;font-weight:800;outline:none;appearance:textfield}
#kvRecreatePhotoV434 .kv-r434-metric input::-webkit-outer-spin-button,#kvRecreatePhotoV434 .kv-r434-metric input::-webkit-inner-spin-button{margin:0;appearance:none}
#kvRecreatePhotoV434 .kv-r434-metric>b{color:rgba(222,217,239,.42);font-size:9px;font-weight:700}
#kvRecreatePhotoV434 .kv-r434-metric-divider{width:1px;margin:4px 0;background:rgba(148,134,255,.15)}
#kvRecreatePhotoV434 .kv-r434-hint{margin-top:8px;color:rgba(226,221,226,.44);font-size:9px;line-height:1.4}
#kvRecreatePhotoV434 .kv-r434-output{display:grid;gap:10px;margin-top:13px;padding:11px;border:1px solid rgba(137,122,255,.14);border-radius:17px;background:rgba(5,7,23,.5)}
#kvRecreatePhotoV434 .kv-r434-option{display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:9px}
#kvRecreatePhotoV434 .kv-r434-option>span{color:rgba(239,235,250,.62);font-size:9px;font-weight:720}
#kvRecreatePhotoV434 .kv-r434-segments{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
#kvRecreatePhotoV434 .kv-r434-segments.count{grid-template-columns:repeat(4,1fr)}
#kvRecreatePhotoV434 .kv-r434-segments button{height:32px;padding:0;border:1px solid rgba(143,129,230,.15);border-radius:10px;background:rgba(23,25,58,.82);color:rgba(230,226,244,.5);font-size:10px;font-weight:850}
#kvRecreatePhotoV434 .kv-r434-segments button.active{border-color:rgba(147,123,255,.54);background:linear-gradient(135deg,rgba(67,112,227,.9),rgba(125,65,207,.94));color:#fff;box-shadow:0 7px 16px rgba(71,61,190,.2)}
#kvRecreatePhotoV434 .kv-r434-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding:11px 12px;border:1px solid rgba(137,122,255,.14);border-radius:14px;background:rgba(5,7,23,.62)}
#kvRecreatePhotoV434 .kv-r434-total span{color:rgba(234,229,233,.55);font-size:10px;font-weight:650}
#kvRecreatePhotoV434 .kv-r434-total b{white-space:nowrap;font-size:14px;font-weight:850}
#kvRecreatePhotoV434 .kv-r434-primary{width:100%;min-height:50px;margin-top:9px;padding:0 15px;border:1px solid rgba(158,130,255,.25);border-radius:16px;background:linear-gradient(135deg,#386fe1,#8042d2);color:#fff;font-size:14px;font-weight:850;box-shadow:0 12px 28px rgba(75,62,205,.24)}
#kvRecreatePhotoV434 .kv-r434-primary:disabled{opacity:.42;box-shadow:none}
#kvRecreatePhotoV434 .kv-r434-status{display:none;margin-top:8px;padding:10px 11px;border:1px solid rgba(137,122,255,.18);border-radius:13px;background:rgba(73,57,170,.13);color:#ded9ff;font-size:10px;line-height:1.42}
#kvRecreatePhotoV434 .kv-r434-status.active{display:block}
#kvRecreatePhotoV434 .kv-r434-status.error{border-color:rgba(255,91,122,.24);background:rgba(142,32,57,.12);color:#ffc7d2}
.kv-recreate-home-v434 .thumb{background-size:cover;background-position:center}
.kv-recreate-home-v434 .card-icon svg,
.kv-recreate-menu-v434 .kv-create-menu-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:390px){
  #kvRecreatePhotoV434{padding-inline:5px}
  #kvRecreatePhotoV434 .kv-r434-head{padding-inline:4px}
  #kvRecreatePhotoV434 .kv-r434-card{padding:13px;border-radius:20px}
  #kvRecreatePhotoV434 .kv-r434-head h2{font-size:23px}
  #kvRecreatePhotoV434 .kv-r434-people{grid-template-columns:repeat(3,minmax(0,1fr))}
}
