/* 📸 «Фотосессия» (#1648): окно по макету v2; палитра «Тёплая сцена»; шрифт ≥14px, кнопки ≥44px */
.ps-ov { position: fixed; inset: 0; z-index: 1800; overflow-y: auto; -webkit-overflow-scrolling: touch; background: radial-gradient(120% 60% at 50% 0, #4a1822 0, #1b0c10 62%), #1b0c10; color: #fbf1de; }
.ps-body { max-width: 520px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(32px + env(safe-area-inset-bottom, 0px)); font: 500 15px/1.35 system-ui, "Segoe UI", Roboto, sans-serif; }
.ps-top { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.ps-back { flex: none; min-width: 44px; height: 44px; border-radius: 14px; border: 1.5px solid rgba(242,196,109,.28); background: transparent; color: #f2c46d; font-size: 24px; cursor: pointer; }
.ps-h { margin: 0; font: 700 21px/1.15 Georgia, "Times New Roman", serif; color: #f2c46d; }
.ps-sub { margin: 4px 0 14px; color: #cdb89a; font-size: 14px; }
.ps-lbl { margin: 16px 0 8px; font-weight: 700; font-size: 14px; color: #cdb89a; }
.ps-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 16px; background: #241114; border: 1.5px solid rgba(242,196,109,.28); }
.ps-seg button { min-height: 44px; border-radius: 12px; border: 0; background: transparent; color: #cdb89a; font: inherit; font-size: 15px; cursor: pointer; }
.ps-seg button.on { background: linear-gradient(180deg, #f2c46d, #e0a43a); color: #2a1208; font-weight: 700; }
.ps-ph { display: grid; grid-template-columns: calc(50% - 5px); gap: 10px; margin-top: 10px; }
.ps-ph.two { grid-template-columns: 1fr 1fr; }
.ps-sq { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1.5px dashed #f2c46d; background: #241114; display: grid; place-items: center; color: #f2c46d; text-align: center; font: inherit; font-size: 14px; padding: 0; cursor: pointer; }
.ps-sq.f { border-style: solid; cursor: default; }
.ps-sq img { width: 100%; height: 100%; object-fit: cover; }
.ps-sq i { font-style: normal; font-size: 34px; line-height: 1; }
.ps-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fbf1de; font-size: 16px; cursor: pointer; }
.ps-hint { margin: 8px 0 0; font-size: 14px; color: #cdb89a; }
.ps-hint.c { text-align: center; margin-top: 12px; }
.ps-ta { display: block; width: 100%; min-height: 132px; box-sizing: border-box; border-radius: 16px; background: #241114; border: 1.5px solid rgba(242,196,109,.28); color: #fbf1de; padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-chip { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1.5px solid rgba(242,196,109,.28); background: #241114; color: #fbf1de; font: inherit; font-size: 14px; cursor: pointer; }
.ps-chip.on { border-color: #f2c46d; background: rgba(242,196,109,.16); color: #f2c46d; font-weight: 700; }
.ps-chip.dice { border-style: dashed; color: #f2c46d; }
.ps-cnt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ps-cnt.many { grid-template-columns: repeat(3, 1fr); }
.ps-cnt button { min-height: 56px; border-radius: 14px; border: 1.5px solid rgba(242,196,109,.28); background: #241114; color: #fbf1de; font: inherit; font-size: 19px; line-height: 1.1; cursor: pointer; padding: 4px 0; }
.ps-cnt button small { display: block; font-size: 14px; font-weight: 500; color: #cdb89a; }
.ps-cnt button.on { border-color: #f2c46d; background: rgba(242,196,109,.16); color: #f2c46d; }
.ps-cnt button.on small { color: #f2c46d; }
.ps-sum { margin-top: 18px; text-align: center; }
.ps-sum b { display: block; font: 700 19px Georgia, serif; }
.ps-sum small { display: block; font-size: 14px; color: #cdb89a; margin-top: 2px; }
.ps-cta { display: grid; place-items: center; width: 100%; min-height: 56px; margin-top: 12px; border-radius: 18px; border: 0; background: linear-gradient(180deg, #f2c46d, #e0a43a); color: #2a1208; font: inherit; font-weight: 800; font-size: 17px; box-shadow: 0 6px 20px rgba(224,164,58,.28); cursor: pointer; }
.ps-cta.ghost { background: transparent; border: 1.5px solid rgba(242,196,109,.28); color: #fbf1de; box-shadow: none; font-weight: 700; margin-top: 10px; }
.ps-cta:disabled { opacity: .55; cursor: default; }
.ps-err { margin: 12px 0 0; padding: 10px 14px; border-radius: 14px; border: 1.5px solid rgba(230,90,80,.7); background: rgba(120,20,20,.35); color: #ffd9d4; font-size: 14px; }
.ps-note { margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; border: 1.5px solid rgba(242,196,109,.28); background: #241114; color: #cdb89a; font-size: 14px; }
.ps-note.warn { border-color: #f2c46d; color: #f2c46d; }
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
@media (min-width: 560px) { .ps-grid { grid-template-columns: repeat(4, 1fr); } }
.ps-fr { position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; border: 0; padding: 0; background: #241114; display: grid; place-items: center; color: #cdb89a; cursor: pointer; }
.ps-fr img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.ps-fr.fail { cursor: default; border: 1.5px solid rgba(230,90,80,.5); align-content: center; }
.ps-fr.fail span { font-size: 28px; }
.ps-fr.wait { cursor: default; border: 1.5px dashed rgba(242,196,109,.3); }
.ps-shim { width: 100%; height: 100%; background: linear-gradient(110deg, transparent 30%, rgba(242,196,109,.14) 50%, transparent 70%) 0 0 / 200% 100%; }
.ps-fr.work .ps-shim { animation: ps-sh 1.4s linear infinite; }
@keyframes ps-sh { to { background-position: -200% 0; } }
.ps-badge { position: absolute; left: 5px; bottom: 5px; max-width: calc(100% - 10px); background: rgba(0,0,0,.6); border-radius: 10px; padding: 2px 6px; font-size: 14px; line-height: 1.25; color: #f2c46d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-prog { height: 10px; border-radius: 6px; background: #241114; border: 1px solid rgba(242,196,109,.28); overflow: hidden; margin-top: 4px; }
.ps-prog i { display: block; height: 100%; background: linear-gradient(90deg, #e0a43a, #f2c46d); transition: width .6s; }
.ps-spin { width: 34px; height: 34px; margin: 18px auto; border-radius: 50%; border: 3px solid rgba(242,196,109,.25); border-top-color: #f2c46d; animation: ps-rot 1s linear infinite; }
@keyframes ps-rot { to { transform: rotate(360deg); } }
.ps-conf { position: fixed; inset: 0; z-index: 1900; display: grid; place-items: center; padding: 20px; background: rgba(10,4,6,.78); }
.ps-conf-in { width: 100%; max-width: 360px; padding: 18px 16px; border-radius: 20px; border: 1.5px solid rgba(242,196,109,.6); background: #241114; }
.ps-conf-in p { margin: 0 0 8px; }
.ps-lb { position: fixed; inset: 0; z-index: 1950; display: grid; place-items: center; background: rgba(0,0,0,.92); }
.ps-lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ps-lbx { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fbf1de; font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .ps-spin, .ps-fr.work .ps-shim { animation: none; } }
/* «Моя фотосессия» — выбор и публикация (#1897, макет ✅ Армана 18.10): сетка как Галерея, золотая галочка, «Опубликовать (N)» внизу */
.pk-cnt { margin: 2px 0 10px; font-size: 15px; color: #cdb89a; }
.pk-cnt b { color: #f7d58c; font-size: 17px; }
.pk-tools { display: grid; grid-template-columns: auto auto 1fr 1fr 1fr; gap: 6px; margin: 0 0 10px; }
.pk-tools button { min-height: 44px; padding: 0 12px; border-radius: 22px; border: 1.5px solid rgba(242,196,109,.35); background: #241114; color: #fbf1de; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pk-tools button.n { padding: 0; color: #f7d58c; }
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0 -16px; padding-bottom: 110px; }
.pk-c { position: relative; aspect-ratio: 1; overflow: hidden; border: 0; padding: 0; margin: 0; background: #241114; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pk-c .im { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .15s ease, border-radius .15s ease; }
.pk-c .ck { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(251,241,222,.9); background: rgba(0,0,0,.25); box-sizing: border-box; color: #2a1408; font: 800 16px/28px system-ui, sans-serif; text-align: center; }
.pk-c.on { background: #3a1a12; }
.pk-c.on .im { transform: scale(.88); border-radius: 10px; }
.pk-c.on .ck { border: 0; background: linear-gradient(180deg, #f7d58c, #e2a94a); }
.pk-c.on::after { content: ""; position: absolute; inset: 0; border: 3px solid #f2c46d; pointer-events: none; }
.pk-c.pub { cursor: default; }
.pk-c.pub .im { filter: saturate(.4) brightness(.55); }
.pk-c .tag { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(19,7,9,.82); border: 1px solid rgba(242,196,109,.5); color: #f7d58c; font-size: 14px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(27,12,16,0), #1b0c10 32%); }
.pk-bar .ps-cta, .pk-bar small { max-width: 488px; margin-left: auto; margin-right: auto; }
.pk-bar .ps-cta { margin-top: 0; font-size: 18px; font-weight: 800; }
body.ps-open .toast-stack { z-index: 1960; bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.pk-row { display: flex; gap: 8px; max-width: 488px; margin: 0 auto; }
.pk-row .ps-cta { margin: 0; min-width: 0; padding: 0 10px; }
.pk-row #pkGo { flex: 1.12 1 0; font-size: 17px; white-space: nowrap; }
.pk-row .srv { flex: 1 1 0; font-size: 15px; white-space: nowrap; font-weight: 800; background: rgba(27,12,16,.9); border-color: rgba(242,196,109,.6); color: #f7d58c; }
.pk-srv label { display: block; margin: 6px 0 6px; font-size: 14px; color: #cdb89a; }
.pk-srv input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid rgba(242,196,109,.4); background: #1b0c10; color: #fbf1de; font: inherit; font-size: 16px; }
.pk-srv input:focus { outline: none; border-color: #f2c46d; }
.pk-bar small { display: block; margin-top: 6px; text-align: center; font-size: 14px; color: #cdb89a; }
.pk-c.fail { cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #1f0e11; color: #a8907a; }
.pk-c.fail span { font-size: 22px; }
.pk-c.fail small { font-size: 14px; }
.pk-grid.fin { padding-bottom: 6px; }
.pk-more { padding-bottom: 110px; }
.pk-done { margin: 40px 0 0; text-align: center; }
.pk-done .big { font-size: 56px; }
.pk-done h2 { margin: 8px 0 6px; font: 700 22px Georgia, serif; color: #f7d58c; }
.pk-done p { margin: 0 0 6px; color: #e3d3ba; font-size: 15px; }
@media (min-width: 560px) { .pk-grid { grid-template-columns: repeat(4, 1fr); margin: 0; } }
