/* ==========================================================
   FAIM JEWELLERY ARABIA EXPERIENCE  |  QR Live Photo Wall
   Join flow: phone first (390 x 844), fine on a tablet.
   Display: 1920 x 1080 and 3840 x 2160 through the rem scale.
   ========================================================== */
#pw { position: fixed; inset: 0; z-index: 55; background: var(--velvet); color: var(--ivory); }
#pw a.btn { color: inherit; text-decoration: none; }
#pw a.btn--solid { color: var(--velvet); }
.pw-cat { color: var(--gold); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.pw-modal { display: grid; gap: 1.5rem; max-width: 40rem; }
.pw-modal h2 { font-size: 2.6rem; }
.pw-modal p { color: var(--smoke); line-height: 1.6; }

/* ================= JOIN FLOW ================= */
.pw--join { overflow: hidden; }
.pwj { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.pwj-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.4rem 0; min-height: 5.5rem; }
.pwj-back { width: 4rem; height: 4rem; border-color: transparent; }
.pwj-back svg { width: 1.8rem; height: 1.8rem; }
.pwj-dots { list-style: none; display: flex; gap: .9rem; margin: 0; padding: 0; }
.pwj-dots li { width: .7rem; height: .7rem; border-radius: 50%; border: 1px solid var(--gold-dim); transition: all var(--t-med) var(--ease); transform: rotate(45deg); border-radius: .15rem; }
.pwj-dots li.done { background: var(--gold-dim); border-color: var(--gold); }
.pwj-dots li.now { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 .9rem rgba(210,178,113,.6); transform: rotate(45deg) scale(1.25); }
.pwj-lang { min-width: 6rem; }
html[lang="en"] .pwj-lang { font-family: 'Amiri', serif; font-size: 1.3rem; }
html[lang="ar"] .pwj-lang { font-family: 'Jost', sans-serif; }
.pwj-scene { position: relative; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }
.pw-step { min-height: 100%; padding: 1rem 1.6rem 3rem; animation: pwIn .5s var(--ease) both; display: flex; flex-direction: column; gap: 1.1rem; max-width: 60rem; margin: 0 auto; width: 100%; }
@keyframes pwIn { from { opacity: 0; transform: translateY(.6rem); } to { opacity: 1; transform: none; } }
.pw-h { font-size: 3rem; line-height: 1.05; }
.pw-hint { line-height: 1.5; }
.pw-hint svg { width: 1.1em; height: 1.1em; vertical-align: -.2em; color: var(--gold); }
.pw-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .4rem; }
.pw-row .btn { flex: 1; min-width: 12rem; }
.pw-filter-label { color: var(--smoke); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-top: .4rem; }
.pw-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.pw-chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; margin-inline: -1.6rem; padding-inline: 1.6rem; scrollbar-width: none; }
.pw-chips--scroll::-webkit-scrollbar { display: none; }
.pw-chips--scroll .chip { flex: none; }
.pw-chips .chip { min-height: 4rem; }
.pw-empty { grid-column: 1 / -1; font-family: var(--display); font-size: 1.8rem; color: var(--smoke); padding: 2rem 0; }

/* welcome */
.pw-step--welcome { justify-content: center; align-items: center; text-align: center; gap: 1.6rem; padding-top: 4rem; }
.pw-logo { width: 16rem; height: auto; margin-bottom: 1rem; }
.pw-welcome { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; width: 100%; max-width: 36rem; }
.pw-welcome h1 { font-size: 3.6rem; }
.pw-lead { color: var(--smoke); font-size: 1.25rem; line-height: 1.6; max-width: 30ch; }
.pw-langs { display: flex; gap: .6rem; margin: .5rem 0; }
.pw-langs .chip { min-height: 4rem; padding: 0 2rem; }
.pw-cta { width: 100%; max-width: 32rem; }
.pw-privacy { display: inline-flex; align-items: center; gap: .5rem; color: var(--smoke); min-height: var(--touch); padding: 0 1rem; border-bottom: 1px solid transparent; }
.pw-privacy:hover { color: var(--ivory); }
.pw-privacy svg { width: 1.2rem; height: 1.2rem; color: var(--gold); }
.pw-event { color: var(--ash); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 1rem; }

/* choose a piece */
.pw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem .8rem; margin-top: .4rem; padding-bottom: 1rem; }
.pw-thumb { display: flex; flex-direction: column; gap: .5rem; text-align: start; border-radius: var(--r-s); }
.pw-thumb .vitrine { aspect-ratio: 1; border: 2px solid transparent; transition: border-color var(--t-fast); }
.pw-thumb img { padding: 8%; }
.pw-thumb[aria-pressed="true"] .vitrine { border-color: var(--gold); }
.pw-thumb__name { font-family: var(--display); font-size: 1.15rem; line-height: 1.15; color: var(--ivory); }
.pwj-sheet { position: sticky; bottom: 0; margin: 1rem -1.6rem -3rem; padding: 1.4rem 1.6rem 2rem; background: var(--tray); border-top: 1px solid var(--gold-dim); border-radius: var(--r-m) var(--r-m) 0 0; display: grid; gap: .9rem; box-shadow: 0 -2rem 4rem rgba(0,0,0,.5); animation: pwUp .45s var(--ease) both; z-index: 3; }
@keyframes pwUp { from { transform: translateY(100%); } to { transform: none; } }
.pwj-sheet__head { display: grid; grid-template-columns: 7rem 1fr auto; gap: 1rem; align-items: center; }
.pwj-sheet__head .vitrine { width: 7rem; height: 7rem; }
.pwj-sheet__head img { padding: 8%; }
.pwj-sheet__head h2 { font-size: 2rem; margin: .2rem 0; }
.pwj-sheet__close { width: 3.6rem; height: 3.6rem; align-self: start; }
.pwj-sheet .pw-row .btn { padding: 0 1rem; font-size: 1.05rem; text-decoration: none; }

/* capture */
.pw-choose { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pw-big { aspect-ratio: 1 / 1.1; border: 1px solid var(--gold-dim); border-radius: var(--r-m); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; font-size: 1.2rem; cursor: pointer; background: var(--tray); transition: border-color var(--t-fast), background var(--t-fast); }
.pw-big:hover, .pw-big:focus-within { border-color: var(--gold); background: var(--tray-2); }
.pw-big svg { width: 3rem; height: 3rem; color: var(--gold); }
.pw-cam { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: #1a1512; border: 1px solid var(--gold-faint); }
.pw-video { width: 100%; height: 100%; object-fit: cover; }
.pw-video[data-facing="user"] { transform: scaleX(-1); }
.pw-guide { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pw-guide ellipse, .pw-guide path, .pw-guide rect { fill: none; stroke: rgba(210,178,113,.7); stroke-width: 1.2; stroke-dasharray: 6 8; }
.pw-guide rect { stroke-dasharray: 2 10; opacity: .6; }
.pw-light { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; text-align: center; font-size: 1rem; color: var(--ivory); background: rgba(14,11,9,.65); border-radius: 999px; padding: .5rem 1rem; width: max-content; max-width: 90%; margin: auto; min-height: 2.4rem; }
.pw-light[data-ok="true"] { color: var(--gold); }
.pw-light:empty { opacity: 0; }
.pw-camrow { display: flex; align-items: center; justify-content: center; gap: 2.5rem; padding: .5rem 0; }
.pw-camrow .icon-btn { width: 4.5rem; height: 4.5rem; cursor: pointer; }
.pw-shutter { width: 7rem; height: 7rem; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; transition: transform var(--t-fast); }
.pw-shutter span { width: 5.6rem; height: 5.6rem; border-radius: 50%; background: var(--ivory); transition: transform var(--t-fast); }
.pw-shutter:active span { transform: scale(.9); }
.pw-frame { aspect-ratio: 4 / 5; border-radius: var(--r-s); overflow: hidden; box-shadow: 0 2rem 4rem rgba(0,0,0,.5); background: var(--tray); max-width: 46rem; width: 100%; align-self: center; }
.pw-frame--small { max-width: 24rem; }
.pw-preview { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.pw-final { width: 100%; height: 100%; object-fit: contain; }
.pw-looks .chip .swatch { width: 1.2rem; height: 1.2rem; }

/* message */
.pw-field { display: grid; gap: .5rem; position: relative; }
.pw-field > span:first-child { color: var(--smoke); font-size: 1rem; }
.pw-field input { min-height: 4.6rem; background: var(--tray); border: 1px solid var(--gold-faint); border-radius: var(--r-s); padding: 0 5rem 0 1.2rem; font-size: 1.4rem; font-family: var(--display); }
html[dir="rtl"] .pw-field input { padding: 0 1.2rem 0 5rem; }
.pw-field input:focus { border-color: var(--gold); outline: none; }
.pw-count { position: absolute; inset-inline-end: 1rem; bottom: 1.5rem; font-size: .9rem; color: var(--ash); }
.pw-count b { color: var(--smoke); font-weight: 400; }
.pw-err { color: var(--alert); font-size: 1rem; line-height: 1.5; }

/* consent */
.pw-consent { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--gold-faint); cursor: pointer; }
.pw-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pw-consent__box { width: 2.4rem; height: 2.4rem; border: 1px solid var(--gold-dim); border-radius: .3rem; display: grid; place-items: center; margin-top: .2rem; transition: all var(--t-fast); }
.pw-consent__box svg { width: 1.6rem; height: 1.6rem; opacity: 0; transition: opacity var(--t-fast); }
.pw-consent input:checked + .pw-consent__box { background: var(--gold); border-color: var(--gold); color: var(--velvet); }
.pw-consent input:checked + .pw-consent__box svg { opacity: 1; }
.pw-consent input:focus-visible + .pw-consent__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.pw-consent b { display: block; font-weight: 400; font-size: 1.2rem; line-height: 1.3; }
.pw-consent small { display: block; color: var(--smoke); font-size: .95rem; line-height: 1.45; margin-top: .3rem; }
.pw-submit { width: 100%; }

/* submit + status */
.pw-states { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .3rem; }
.pw-states li { display: flex; align-items: center; gap: 1rem; min-height: 3rem; color: var(--ash); font-size: 1.1rem; transition: color var(--t-med); }
.pw-states li i { width: .8rem; height: .8rem; border: 1px solid var(--gold-dim); transform: rotate(45deg); border-radius: .15rem; flex: none; transition: all var(--t-med); }
.pw-states li.done { color: var(--smoke); }
.pw-states li.done i { background: var(--gold-dim); border-color: var(--gold); }
.pw-states li.now { color: var(--ivory); }
.pw-states li.now i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 .9rem rgba(210,178,113,.7); animation: pwPulse 2.2s ease-in-out infinite; }
@keyframes pwPulse { 50% { box-shadow: 0 0 .2rem rgba(210,178,113,.3); } }
.pw-queued { color: var(--ivory); background: var(--tray); border: 1px solid var(--gold-faint); border-radius: var(--r-s); padding: 1rem 1.2rem; line-height: 1.5; }
.pw-ref { font-size: 1.1rem; }
.pw-ref strong { color: var(--gold); letter-spacing: .1em; font-weight: 500; }
.pw-acts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .5rem; }
.pw-acts .btn { padding: 0 1rem; font-size: 1.02rem; text-decoration: none; }
.pw-acts .btn--quiet { grid-column: 1 / -1; }

/* gallery (read only, reactions) */
.pw-gallery { display: grid; gap: 1.2rem; }
.pw-gcard { background: var(--tray); border: 1px solid var(--gold-faint); border-radius: var(--r-m); overflow: hidden; }
.pw-gcard__img { aspect-ratio: 4 / 5; background: #0b0908; }
.pw-gcard__img img { width: 100%; height: 100%; object-fit: contain; }
.pw-gcard__body { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 1rem 1.2rem; align-items: start; }
.pw-gcard__body .vitrine { width: 5rem; height: 5rem; }
.pw-gcard__body .vitrine img { padding: 8%; }
.pw-gcard__piece { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.pw-gcard blockquote { margin: .3rem 0; font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--smoke); }
html[lang="ar"] .pw-gcard blockquote { font-style: normal; }
.pw-reacts { display: flex; gap: .4rem; padding: 0 .8rem 1rem; flex-wrap: wrap; }
.pw-react { min-height: 3.6rem; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--gold-faint); color: var(--smoke); display: inline-flex; align-items: center; gap: .4rem; font-size: 1rem; transition: all var(--t-fast); }
.pw-react svg { width: 1.3rem; height: 1.3rem; }
.pw-react[aria-pressed="true"] { color: var(--velvet); background: var(--gold); border-color: var(--gold); }

@media (min-width: 700px) {
  .pw-grid { grid-template-columns: repeat(4, 1fr); }
  .pw-gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) { .pw-grid { grid-template-columns: repeat(5, 1fr); } .pw-gallery { grid-template-columns: repeat(3, 1fr); } }


/* ================= JOIN FLOW v3 additions ================= */
@media (max-width: 480px) { .pw-h { font-size: 2.3rem; } .pw-welcome h1 { font-size: 3rem; } }
.pwj-strip { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; flex: 1; justify-content: center; min-width: 0; }
.pwj-strip li { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; flex: 1; max-width: 7rem; color: var(--ash); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; transition: color var(--t-med); position: relative; }
.pwj-strip li i { width: 1.6rem; height: 1.6rem; border: 1px solid var(--gold-dim); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8rem; transition: all var(--t-med) var(--ease); }
.pwj-strip li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pwj-strip li.done { color: var(--smoke); } .pwj-strip li.done i { background: var(--gold-dim); border-color: var(--gold); }
.pwj-strip li.now { color: var(--gold); } .pwj-strip li.now i { background: var(--gold); border-color: var(--gold); color: var(--velvet); box-shadow: 0 0 .9rem rgba(210,178,113,.6); }
.pwj-strip li + li::before { content: ''; position: absolute; top: .8rem; inset-inline-start: -50%; width: 100%; height: 1px; background: var(--gold-faint); z-index: -1; }
html[lang="ar"] .pwj-strip li { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.pwj-bar { display: flex; gap: .8rem; padding: .8rem 1.6rem calc(.8rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--gold-faint); background: rgba(14,11,9,.92); }
.pwj-bar .btn { flex: 1; min-height: var(--touch); }
.pwj-bar__back[hidden] { display: none; }
.pw-step--product, .pw-step--photo, .pw-step--design, .pw-step--register { padding-bottom: 2rem; }
.pw-pstrip { display: grid; grid-template-columns: 4.5rem 1fr; gap: .9rem; align-items: center; padding: .6rem .8rem; border: 1px solid var(--gold-faint); border-radius: var(--r-m); background: var(--tray); }
.pw-pstrip .vitrine { width: 4.5rem; height: 4.5rem; } .pw-pstrip img { padding: 8%; }
.pw-pstrip__name { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.pwj-sheet__ask { text-decoration: none; }
.pw-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pw-tips li { display: flex; align-items: center; gap: 1rem; min-height: var(--touch); padding: .6rem 1rem; border: 1px solid var(--gold-faint); border-radius: var(--r-m); background: var(--tray); font-size: 1.15rem; }
.pw-tips li i { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-style: normal; flex: none; }
.pw-count { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 9rem; color: var(--ivory); text-shadow: 0 0 3rem rgba(0,0,0,.6); pointer-events: none; }
.pw-count[hidden] { display: none; }
.pw-frame--photo { aspect-ratio: auto; max-height: 60vh; background: #0b0908; display: grid; place-items: center; }
.pw-whole { max-width: 100%; max-height: 60vh; display: block; object-fit: contain; }
/* design: processing */
.pw-frame--proc { position: relative; aspect-ratio: 4 / 5; max-width: 30rem; }
.pw-frame--proc img { width: 100%; height: 100%; object-fit: contain; opacity: .7; }
.pd-scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(210,178,113,.22) 48%, rgba(210,178,113,.55) 50%, rgba(210,178,113,.22) 52%, transparent 100%); background-size: 100% 30%; background-repeat: no-repeat; animation: pdScan 2.6s var(--ease) infinite; }
@keyframes pdScan { from { background-position: 0 -40%; } to { background-position: 0 140%; } }
@media (prefers-reduced-motion: reduce) { .pd-scan { animation: none; opacity: .4; } }
.pd-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.pd-stages li { display: flex; align-items: center; gap: 1rem; min-height: 2.8rem; color: var(--ash); font-size: 1.05rem; transition: color var(--t-med); }
.pd-stages li i { width: .8rem; height: .8rem; border: 1px solid var(--gold-dim); transform: rotate(45deg); border-radius: .15rem; flex: none; transition: all var(--t-med); }
.pd-stages li.done { color: var(--smoke); } .pd-stages li.done i { background: var(--gold-dim); border-color: var(--gold); }
.pd-stages li.now { color: var(--ivory); } .pd-stages li.now i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 .9rem rgba(210,178,113,.7); animation: pwPulse 2.2s ease-in-out infinite; }
/* design: review */
.pd-warn { color: var(--alert); border: 1px solid rgba(226,161,92,.4); border-radius: var(--r-s); padding: .7rem 1rem; line-height: 1.45; }
.pd-views { display: flex; gap: .5rem; } .pd-views .chip { flex: 1; min-height: 3.6rem; justify-content: center; }
.pd-stage { display: grid; grid-template-columns: 1fr; gap: .5rem; border-radius: var(--r-s); overflow: hidden; background: #0b0908; max-width: 46rem; width: 100%; align-self: center; }
.pd-stage[data-view="side"] { grid-template-columns: 1fr 1fr; }
.pd-cv { width: 100%; height: auto; display: block; touch-action: none; }
.pd-cv.is-brush { cursor: crosshair; }
.pd-tools { display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; gap: .4rem; align-items: stretch; }
.pd-tool { min-height: var(--touch); min-width: 0; padding: 0 .4rem; border: 1px solid var(--gold-dim); border-radius: var(--r-m); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; font-size: .85rem; color: var(--smoke); transition: all var(--t-fast); flex: 1; }
.pd-tool svg { width: 1.4rem; height: 1.4rem; }
.pd-tool[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--velvet); }
.pd-tool:disabled { opacity: .35; }
.pd-sizes { display: inline-flex; gap: .2rem; }
.pd-size { width: 2.6rem; height: var(--touch); border: 1px solid var(--gold-faint); border-radius: var(--r-m); display: grid; place-items: center; }
.pd-size i { border-radius: 50%; background: var(--smoke); display: block; }
.pd-size[aria-pressed="true"] { border-color: var(--gold); } .pd-size[aria-pressed="true"] i { background: var(--gold); }
.pd-slider { display: grid; grid-template-columns: 7rem 1fr; align-items: center; gap: .8rem; font-size: .95rem; color: var(--smoke); min-height: 3rem; }
.pd-slider input[type=range] { width: 100%; accent-color: var(--gold); height: 2.6rem; }
/* design: compose */
.pd-preview { position: relative; }
.pd-out, .pd-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pd-fx { pointer-events: none; }
.pd-bgs .chip .swatch { width: 1.3rem; height: 1.3rem; border: 1px solid var(--gold-faint); }
.pd-fine { border: 1px solid var(--gold-faint); border-radius: var(--r-m); padding: 0 1rem; }
.pd-fine summary { list-style: none; cursor: pointer; min-height: var(--touch); display: flex; align-items: center; gap: .6rem; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.pd-fine summary::-webkit-details-marker { display: none; } .pd-fine summary svg { width: 1.2rem; height: 1.2rem; }
.pd-fine__grid { display: grid; gap: .2rem; padding-bottom: .8rem; }
/* register */
.pw-regform { display: grid; gap: 1rem; }
.pw-phone { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: .5rem; }
.pw-phone select { min-height: 4.6rem; background: var(--tray); color: var(--ivory); border: 1px solid var(--gold-faint); border-radius: var(--r-s); padding: 0 .6rem; font-size: 1rem; max-width: 100%; }
.pw-phone input { padding: 0 1.2rem !important; }
.pw-phint { font-size: .9rem; color: var(--smoke); min-height: 1.2rem; direction: ltr; text-align: start; }
.pw-phint.is-bad { color: var(--alert); }
.pw-consent--main b { font-size: 1rem; line-height: 1.45; color: var(--smoke); }
.pw-field--area textarea { min-height: 7rem; background: var(--tray); border: 1px solid var(--gold-faint); border-radius: var(--r-s); padding: .8rem 1.2rem; font-size: 1.05rem; line-height: 1.5; font-family: var(--text); resize: vertical; }
.pw-field--area textarea:focus { border-color: var(--gold); outline: none; }
/* voucher reveal: soft gold light, gentle rise, no confetti */
.pw-voucher { position: relative; text-align: center; display: grid; justify-items: center; gap: .7rem; padding: 2rem 1.4rem; border: 1px solid var(--gold-dim); border-radius: var(--r-m); background: var(--tray); overflow: hidden; animation: pwRise 1.4s var(--ease) both; }
@keyframes pwRise { from { opacity: 0; transform: translateY(1.6rem); } to { opacity: 1; transform: none; } }
.pw-voucher__glow { position: absolute; inset: -40% -20%; background: radial-gradient(ellipse at 50% 30%, rgba(210,178,113,.28) 0%, rgba(210,178,113,0) 55%); pointer-events: none; animation: pwGlow 2.4s var(--ease) both; }
@keyframes pwGlow { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pw-voucher, .pw-voucher__glow { animation: none; } }
.pw-voucher > * { position: relative; }
.pw-voucher__name { font-size: 3rem; } .pw-voucher__gift { font-size: 1.7rem; color: var(--gold); }
.pw-voucher__qr { width: 13rem; background: #fff; padding: .7rem; border-radius: var(--r-s); margin: .4rem 0; }
.pw-voucher__code { display: flex; gap: .6rem; align-items: baseline; font-size: 1.05rem; color: var(--smoke); }
.pw-voucher__code strong { color: var(--ivory); font-size: 1.6rem; letter-spacing: .12em; font-weight: 500; font-family: var(--display); }
.pw-voucher__meta { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: .6rem 0 0; text-align: start; width: 100%; max-width: 34rem; font-size: .98rem; }
.pw-voucher__meta dt { color: var(--gold); letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; padding-top: .15rem; }
.pw-voucher__meta dd { margin: 0; color: var(--smoke); line-height: 1.45; }
.pw-voucher__status { color: var(--ivory) !important; } .pw-voucher__status svg { width: 1rem; height: 1rem; vertical-align: -.15em; color: var(--gold); }
/* share */
.pw-modst { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--gold-faint); border-radius: var(--r-m); padding: .8rem 1.2rem; }
.pw-modst__v { font-family: var(--display); font-size: 1.4rem; }
.pw-modst__v[data-v="live"], .pw-modst__v[data-v="approved"] { color: var(--gold); }
.pw-modst__v[data-v="rejected"], .pw-modst__v[data-v="removed"] { color: var(--alert); font-size: 1.05rem; }
.pw-linkbox { display: grid; gap: .4rem; border: 1px solid var(--gold-faint); border-radius: var(--r-m); padding: .8rem 1.2rem; }
.pw-linkbox span { color: var(--gold); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.pw-linkbox a { color: var(--ivory); word-break: break-all; font-size: .95rem; }
.pw-linkbox .btn { justify-self: start; min-height: 3.2rem; padding: 0 1.4rem; }
/* share page */
.pw--share .pws { height: 100%; display: grid; grid-template-rows: auto 1fr; }
.pws-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.6rem 0; }
.pws-logo { width: 11rem; height: auto; }
.pws-main { overflow-y: auto; padding: 1rem 1.6rem 3rem; display: flex; flex-direction: column; gap: 1.1rem; max-width: 60rem; margin: 0 auto; width: 100%; }
.pws-portrait { max-width: 30rem; }
.pws-portrait img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pws-gone { text-align: center; display: grid; gap: 1.4rem; justify-items: center; padding-top: 4rem; color: var(--smoke); }
.pws-mono { width: 5rem; opacity: .5; }
.pw-voucher--share { animation: none; }
@media (min-width: 700px) { .pd-fine__grid { grid-template-columns: 1fr 1fr; gap: .2rem 2rem; } .pw-regform { grid-template-columns: 1fr 1fr; } .pw-regform .pw-consent, .pw-regform .pw-submit, .pw-regform .pw-err, .pw-regform .pw-hint { grid-column: 1 / -1; } }

/* ================= DISPLAY ================= */
.pw--display { overflow: hidden; display: grid; grid-template-columns: 1fr 27rem; }
.pw--display::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 40% 45%, #1a1410 0%, var(--velvet) 70%); }
.pw--display::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 38% 50%, var(--tint, transparent) 0%, transparent 70%); opacity: .16; transition: background 2s var(--ease); }
.pwd-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.pwd-stage { position: relative; z-index: 2; min-width: 0; }
.pwd-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s var(--ease); pointer-events: none; padding: 3rem 2.5rem 3rem 4rem; z-index: 1; }
.pwd-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.pwd-lines line { stroke: var(--gold-dim); stroke-width: 1; transition: opacity 1s; }
.pwd-field { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pwd-field .pwd-card--field { position: absolute; left: 0; top: 0; margin: 0; transform-origin: 50% 50%; will-change: transform, opacity; opacity: 0; }
.pwd-card--field .pwd-card__img { aspect-ratio: auto; flex: 1; min-height: 0; height: auto; }
.pwd-card--arrive { -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 var(--r, 0%), transparent calc(var(--r, 0%) + 14%)); mask-image: radial-gradient(circle at 50% 42%, #000 var(--r, 0%), transparent calc(var(--r, 0%) + 14%)); }
.pwd-layer.is-on { opacity: 1; }
.pwd-mode-title { font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-family: var(--text); font-weight: 400; display: flex; align-items: flex-start; gap: .8rem; margin: 0; height: 3.4rem; box-sizing: border-box; }
.pwd-mode-title .pwd-ar { font-family: 'Plex Arabic', sans-serif; color: var(--smoke); letter-spacing: 0; text-transform: none; }
.pwd-empty { height: 100%; display: grid; place-items: center; font-family: var(--display); font-size: 3rem; color: var(--smoke); }

/* panel */
.pwd-panel { position: relative; z-index: 3; border-inline-start: 1px solid var(--gold-faint); background: rgba(14,11,9,.72); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem; padding: 3rem 2.5rem; text-align: center; }
.pwd-logo { width: 15rem; height: auto; margin-bottom: 1rem; }
.pwd-ask { font-family: 'Cormorant', serif; font-weight: 300; font-size: 2.6rem; line-height: 1.1; }
.pwd-ask--ar { font-family: 'Amiri', serif; font-size: 1.9rem; color: var(--smoke); margin-top: -.6rem; }
.pwd-qrwrap { position: relative; margin: 1.6rem 0 .6rem; }
.pwd-qr { width: 15rem; position: relative; z-index: 2; }
.pwd-ring { position: absolute; inset: -1.2rem; border-radius: 50%; border: 1px solid var(--gold); animation: pwdRing 4.5s var(--ease) infinite; opacity: 0; }
@keyframes pwdRing { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.pwd-scan { display: flex; flex-direction: column; gap: .3rem; font-size: 1.35rem; letter-spacing: .12em; text-transform: uppercase; }
.pwd-scan [lang="ar"] { font-family: 'Plex Arabic', sans-serif; letter-spacing: 0; text-transform: none; color: var(--smoke); font-size: 1.2rem; }
.pwd-count { display: flex; flex-direction: column; gap: .2rem; margin-top: 1rem; color: var(--smoke); font-size: 1rem; letter-spacing: .06em; }
.pwd-count strong { font-family: 'Cormorant', serif; font-weight: 300; font-size: 4.6rem; line-height: 1; color: var(--ivory); }
.pwd-conn { position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 5; width: .55rem; height: .55rem; border-radius: 50%; background: var(--ash); opacity: .8; }
.pwd-conn[data-state="online"] { background: var(--gold); }
.pwd-conn[data-state="live"] { background: var(--ok); }

/* cards */
.pwd-card { margin: 0; display: flex; flex-direction: column; gap: .8rem; min-width: 0; min-height: 0; position: relative; }
.pwd-card__img { flex: 1; min-height: 0; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.pwd-card__img img { width: 100%; height: 100%; max-height: 100%; min-height: 0; object-fit: contain; object-position: center; display: block; filter: drop-shadow(0 1.5rem 3rem rgba(0,0,0,.55)); }
.pwd-card__cap { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.pwd-card__thumb { width: 3.6rem; height: 3.6rem; flex: none; }
.pwd-card__thumb img { padding: 8%; }
.pwd-card__txt { min-width: 0; display: grid; gap: .15rem; }
.pwd-card__piece { font-family: var(--display); font-size: 1.3rem; line-height: 1.1; }
.pwd-card__msg { margin: 0; font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1.2; color: var(--smoke); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pwd-card__msg[lang="ar"] { font-family: 'Amiri', serif; font-style: normal; }
.pwd-card__name { font-size: .95rem; color: var(--ash); }
.pwd-reacts { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .3rem; min-height: 1.2rem; }
.pwd-react { display: inline-flex; align-items: center; gap: .3rem; color: var(--gold); font-size: .95rem; }
.pwd-react svg { width: 1.1rem; height: 1.1rem; }
.pwd-react b { font-weight: 400; }
.pwd-reacts--big .pwd-react { font-size: 1.3rem; gap: .5rem; }
.pwd-reacts--big .pwd-react svg { width: 1.6rem; height: 1.6rem; }
.pwd-card__demo { position: absolute; top: .6rem; inset-inline-start: .6rem; font-size: .7rem; padding: .15rem .6rem; background: rgba(14,11,9,.7); }

/* hero */
.pwd-hero { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 30rem; gap: 4rem; align-items: center; }
.pwd-hero__slot { min-height: 1px; }
.pwd-card--hero { height: 100%; }
.pwd-card--hero .pwd-card__img { height: 100%; aspect-ratio: auto; }
.pwd-card--hero .pwd-card__cap { display: none; }
.pwd-hero__side { display: grid; gap: .8rem; align-content: center; }
.pwd-hero__vit { width: 11rem; height: 11rem; margin-bottom: 1rem; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.5); }
.pwd-hero__vit img { padding: 7%; }
.pwd-hero__side h2 { font-size: 3.2rem; }
.pwd-hero__msg { margin: 1.2rem 0 0; font-family: var(--display); font-style: italic; font-size: 2.2rem; line-height: 1.15; }
.pwd-hero__msg[lang="ar"] { font-family: 'Amiri', serif; font-style: normal; }
.pwd-hero__name { color: var(--smoke); font-size: 1.1rem; }

/* living gallery mosaic */
.pwd-gallery { height: 100%; display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.pwd-mosaic { display: grid; gap: 1.6rem 1.4rem; grid-auto-flow: dense; min-height: 0; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.pwd-mosaic .pwd-card { min-height: 0; overflow: hidden; justify-content: center; }
.pwd-mosaic .pwd-card__img { aspect-ratio: auto; flex: 0 1 auto; min-height: 0; height: 100%; }
.pwd-mosaic--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pwd-mosaic--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pwd-card--l { grid-column: span 2; grid-row: span 2; }
.pwd-card--m { grid-column: span 2; grid-row: span 1; flex-direction: row; }
.pwd-card--m .pwd-card__img { height: 100%; flex: none; width: 50%; }
.pwd-card--m .pwd-card__cap { align-self: center; grid-template-columns: 1fr; }
.pwd-card--m .pwd-card__thumb { display: none; }
.pwd-card--s .pwd-card__cap { grid-template-columns: 1fr; }
.pwd-card--s .pwd-card__thumb, .pwd-card--orbit .pwd-card__cap, .pwd-card--hero .pwd-card__cap { display: none; }
.pwd-card--s .pwd-card__piece { font-size: 1.05rem; }
.pwd-card--s .pwd-card__msg { font-size: 1rem; -webkit-line-clamp: 1; }
.pwd-card--s .pwd-card__name, .pwd-card--s .pwd-reacts { display: none; }
.pwd-card--l .pwd-card__piece { font-size: 1.7rem; }
.pwd-card--l .pwd-card__msg { font-size: 1.6rem; }

/* product constellation */
.pwd-const { height: 100%; display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.pwd-const__row { display: block; }
.pwd-const--1 .pwd-const__row { grid-template-columns: minmax(0, 1fr); }
.pwd-const--2 .pwd-const__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pwd-cluster { position: relative; min-height: 0; }
.pwd-cluster__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.pwd-cluster__lines line { stroke: var(--gold-dim); stroke-width: .3; vector-effect: non-scaling-stroke; }
.pwd-cluster__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14rem; display: grid; gap: .5rem; text-align: center; justify-items: center; background: var(--velvet); padding: .8rem; border-radius: var(--r-m); }
.pwd-cluster__core .vitrine { width: 9rem; height: 9rem; box-shadow: 0 1rem 3rem rgba(0,0,0,.5); }
.pwd-cluster__core img { padding: 8%; }
.pwd-cluster__name { font-family: var(--display); font-size: 1.4rem; line-height: 1.1; }
.pwd-card--orbit { position: absolute; }
.pwd-card--orbit .pwd-card__cap { display: none; }
.pwd-card--o0 { left: 0; top: 0; }
.pwd-card--o1 { right: 0; top: 0; }
.pwd-card--o2 { left: 0; bottom: 0; }
.pwd-card--o3 { right: 0; bottom: 0; }
.pwd-card--orbit .pwd-card__img { aspect-ratio: auto; height: 100%; }

/* colour worlds */
.pwd-colour { height: 100%; display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.pwd-colour__row { display: grid; gap: 1.6rem; align-items: center; min-height: 0; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.pwd-colour__row--2 { --n: 2; padding: 0 12%; } .pwd-colour__row--3 { --n: 3; padding: 0 6%; } .pwd-colour__row--4 { --n: 4; } .pwd-colour__row--5 { --n: 5; } .pwd-colour__row--6 { --n: 6; }
.pwd-card--colour { max-height: 100%; }
.pwd-card--colour .pwd-card__img { max-height: calc(100% - 7rem); }
.pwd-colour .pwd-card__cap { grid-template-columns: 1fr; }
.pwd-colour .pwd-card__thumb { display: none; }
.pwd-colour .pwd-mode-title .swatch { width: 1.4rem; height: 1.4rem; }

/* live pulse */
.pwd-pulse { height: 100%; display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.pwd-pulse__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1.4rem; min-height: 0; }
.pwd-tile { border: 1px solid var(--gold-faint); border-radius: var(--r-m); padding: 1.8rem 2rem; display: flex; flex-direction: column; gap: .8rem; min-height: 0; background: rgba(23,18,15,.5); }
.pwd-tile h3 { font-family: var(--text); font-weight: 400; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pwd-tile__big { font-family: var(--display); font-size: 3rem; line-height: 1.05; display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.pwd-tile__big--name { font-size: 2.2rem; }
.pwd-tile__big .swatch { width: 2rem; height: 2rem; }
.pwd-tile__mid { font-family: var(--display); font-size: 2rem; color: var(--smoke); }
.pwd-tile__num { font-family: var(--display); font-size: 7rem; line-height: .9; margin-top: auto; }
.pwd-tile .note { display: flex; align-items: center; gap: .4rem; }
.pwd-tile .note svg { width: 1rem; height: 1rem; color: var(--gold); }
.pwd-tile--loved { grid-row: span 2; }
.pwd-tile--loved .vitrine { flex: 1; min-height: 0; margin: .5rem 0; }
.pwd-tile--loved .vitrine img { padding: 6%; }
.pwd-tile--latest { grid-row: span 2; grid-column: 3; }
.pwd-card--latest { overflow: hidden; }
.pwd-card--latest .pwd-card__img { aspect-ratio: auto; }

/* arrival of a new card (legacy overlay styles kept for the demo deck) */
.pwd-arrival { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) 26rem; gap: 3rem; align-items: center; padding: 3rem 2.5rem 3rem 4rem; background: rgba(14,11,9,0); transition: background 1.2s var(--ease); }
.pwd-arrival.is-spark { background: rgba(14,11,9,.7); }
.pwd-arrival.is-out { opacity: 0; transition: opacity 1.2s var(--ease); }
.pwd-spark { position: absolute; left: 50%; top: 50%; width: .6rem; height: .6rem; margin: -.3rem; border-radius: 50%; background: #fff; box-shadow: 0 0 1.2rem .4rem rgba(255,236,196,.9), 0 0 4rem 1rem rgba(210,178,113,.6); opacity: 0; transform: scale(.2); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.pwd-arrival.is-spark .pwd-spark { opacity: 1; transform: scale(1); }
.pwd-arrival.is-card .pwd-spark { opacity: 0; transition: opacity 1.6s; }
.pwd-card--arrive { height: 100%; justify-self: center; opacity: 0; }
.pwd-card--arrive .pwd-card__img { height: 100%; aspect-ratio: auto; }
.pwd-arrival.is-card .pwd-card--arrive { opacity: 1; -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 var(--r, 0%), transparent calc(var(--r, 0%) + 14%)); mask-image: radial-gradient(circle at 50% 42%, #000 var(--r, 0%), transparent calc(var(--r, 0%) + 14%)); }
.pwd-arrive__side { opacity: 0; transform: translateX(1.5rem); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); display: grid; gap: .6rem; }
html[dir="rtl"] .pwd-arrive__side { transform: translateX(-1.5rem); }
.pwd-arrival.is-side .pwd-arrive__side { opacity: 1; transform: none; }
.pwd-arrive__thumb { width: 10rem; height: 10rem; margin-bottom: .8rem; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.5); }
.pwd-arrive__thumb img { padding: 7%; }
.pwd-arrive__side h2 { font-size: 2.8rem; }

@media (max-aspect-ratio: 4/3) {
  .pw--display { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .pwd-panel { flex-direction: row; justify-content: space-around; border: 0; border-top: 1px solid var(--gold-faint); padding: 1.5rem; }
  .pwd-logo { width: 10rem; margin: 0; }
  .pwd-qr { width: 10rem; }
}

/* ================= v4: guided capture (Position / Capture) ================= */
.pwj-strip--6 li { font-size: .64rem; max-width: 6rem; }
html[lang="ar"] .pwj-strip--6 li { font-size: .78rem; }
.pc-host { position: absolute; inset: 0; pointer-events: none; --pc: var(--alert); }
.pc-host[data-state="green"] { --pc: var(--gold); }
.pc-host[data-state="red"] { --pc: #C9655A; }
.pc-host[data-state="amber"] { --pc: var(--alert); }
.pc-ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-ov line, .pc-ov ellipse, .pc-ov circle, .pc-ov path { fill: none; stroke: var(--pc); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.pc-ov [hidden] { display: none; }
.pc-band { fill: rgba(210,178,113,.08); stroke: none; }
.pc-centre { stroke: rgba(239,230,213,.35); stroke-dasharray: 4 10; }
.pc-horizon { stroke: rgba(239,230,213,.55); stroke-dasharray: 6 6; transition: transform .25s var(--ease); transform-box: fill-box; }
.pc-bubble { fill: var(--pc); stroke: none; transition: cx .25s; }
.pc-oval { stroke-width: 2; stroke-dasharray: 6 8; transition: all .18s linear; }
.pc-eyes { stroke: rgba(239,230,213,.8); }
.pc-arrow path { stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke: var(--pc); filter: drop-shadow(0 0 6px rgba(0,0,0,.6)); }
.pc-arrow { animation: pcPulse 1.2s ease-in-out infinite; transform-origin: center; }
@keyframes pcPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.pc-chips { position: absolute; top: .8rem; inset-inline: .8rem; display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.pc-chip { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: rgba(14,11,9,.6); color: var(--ash); border: 1px solid transparent; display: inline-flex; align-items: center; gap: .35rem; }
.pc-chip::before { content: ''; width: .45rem; height: .45rem; border-radius: 50%; background: #C9655A; }
.pc-chip[data-ok="true"] { color: var(--gold); border-color: var(--gold-dim); } .pc-chip[data-ok="true"]::before { background: var(--gold); }
html[lang="ar"] .pc-chip { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.pc-say { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; text-align: center; font-size: 1.05rem; color: var(--ivory); background: rgba(14,11,9,.7); border: 1px solid var(--pc); border-radius: 999px; padding: .55rem 1.1rem; width: max-content; max-width: 92%; margin: auto; min-height: 2.5rem; transition: border-color .3s; }
.pc-say[data-state="green"] { color: var(--gold); }
.pc-ring { position: absolute; left: 50%; top: 50%; width: 9rem; height: 9rem; transform: translate(-50%, -50%) rotate(-90deg); }
.pc-ring[hidden] { display: none; }
.pc-ring circle { fill: none; stroke: rgba(239,230,213,.25); stroke-width: 2; }
.pc-ring__fill { stroke: var(--gold) !important; stroke-width: 3 !important; stroke-dasharray: 289; stroke-dashoffset: 289; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.pc-sensor { position: absolute; top: 3rem; inset-inline-end: .8rem; display: flex; flex-direction: column; gap: .4rem; pointer-events: auto; }
.pc-sensor .btn { background: rgba(14,11,9,.7); }
.pc-sensor [hidden] { display: none; }
.pw-check { display: flex; align-items: center; gap: .5rem; }
.pw-check svg { width: 1.2rem; height: 1.2rem; color: var(--gold); flex: none; }
.pw-check[data-ok="checking"] { color: var(--ash); }
.pw-check[data-ok="false"] b { font-weight: 500; }

/* ================= v4: display counter and latest arrivals ================= */
.pwd-total { display: flex; flex-direction: column; gap: .15rem; color: var(--smoke); font-size: .9rem; letter-spacing: .05em; }
.pwd-total strong { font-family: 'Cormorant', serif; font-weight: 300; font-size: 2.8rem; line-height: 1; color: var(--gold); }
.pwd-total strong.is-tick { animation: pwdTick .9s var(--ease); }
@keyframes pwdTick { 0% { text-shadow: 0 0 0 rgba(210,178,113,0); transform: scale(1); } 40% { text-shadow: 0 0 1.6rem rgba(210,178,113,.9); transform: scale(1.08); } 100% { text-shadow: 0 0 0 rgba(210,178,113,0); transform: scale(1); } }
.pwd-latest { display: flex; flex-direction: column; gap: .5rem; align-items: center; width: 100%; }
.pwd-latest .pw-cat { font-size: .78rem; }
.pwd-latest__row { display: flex; gap: .45rem; justify-content: center; min-height: 3.6rem; }
.pwd-latest__card { width: 2.9rem; aspect-ratio: 4 / 5; border-radius: .3rem; overflow: hidden; border: 1px solid var(--gold-dim); background: #1a1512; }
.pwd-latest__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-aspect-ratio: 4/3) { .pwd-total, .pwd-latest { display: none; } }
