/* ============================================================
   INTRISIO — Written Spotlight form (/written-spotlight)
   Style picker cards + photo uploader. Sits on top of forms.css.
   ============================================================ */

/* ---------- style picker ---------- */
.wu-themes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-top: 6px; }
.wu-theme { border-radius: 16px; border: 2px solid var(--hair, rgba(255,255,255,.12)); background: rgba(255,255,255,.03); overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; outline: none; }
.wu-theme:hover { transform: translateY(-2px); }
.wu-theme:focus-visible { border-color: var(--ice, #a1a1a6); }
.wu-theme.is-on { border-color: var(--orange, #ED8A2D); box-shadow: 0 0 0 3px rgba(237,138,45,.25); }
.wu-theme-mock { height: 118px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; position: relative; }
.wu-theme.is-on .wu-theme-mock::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange, #ED8A2D); color: #1a0d00; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.wu-mock-kick { font-size: 10px !important; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.wu-theme .wu-mock-name { font-size: 26px; line-height: 1; letter-spacing: .01em; }
.wu-theme-mock .wu-mock-name { font-family: inherit; }
.wu-mock-lines { display: grid; gap: 5px; margin-top: 4px; }
.wu-mock-lines i { display: block; height: 4px; border-radius: 2px; opacity: .35; width: 90%; }
.wu-mock-lines i:nth-child(2) { width: 70%; }
.wu-mock-lines i:nth-child(3) { opacity: 1; }
.wu-theme-txt { padding: 12px 16px 14px; display: grid; gap: 4px; }
.wu-theme-txt strong { color: var(--white); font-size: 1rem; }
.wu-theme-txt span { color: var(--ice); font-size: .85rem; line-height: 1.4; }
.wu-theme-txt a { color: var(--orange, #ED8A2D); font-size: .82rem; font-weight: 600; text-decoration: none; margin-top: 2px; }
.wu-theme-txt a:hover { text-decoration: underline; }
/* the mock names keep their own fonts (refresh.css forces one family on everything) */
.wu-themes .wu-theme-mock .wu-mock-name { font-family: unset; }
.wu-theme[data-theme-id="midnight"] .wu-mock-name, .wu-theme[data-theme-id="poster"] .wu-mock-name { font-family: "Anton", Impact, sans-serif !important; }
.wu-theme[data-theme-id="paper"] .wu-mock-name { font-family: Georgia, "Times New Roman", serif !important; font-style: italic; }
.wu-theme[data-theme-id="film"] .wu-mock-name { font-family: "Courier New", Courier, monospace !important; font-weight: 700; }
.wu-theme[data-theme-id="neon"] .wu-mock-name { font-family: "Arial Black", Arial, sans-serif !important; }

/* ---------- photo uploader ---------- */
.wu-drop { position: relative; }
.wu-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wu-drop-in { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 30px 16px; border: 2px dashed rgba(237,138,45,.55); border-radius: 16px; background: rgba(237,138,45,.06); cursor: pointer; text-align: center; text-transform: none !important; letter-spacing: 0 !important; margin: 0 !important; }
.wu-drop-in strong { color: var(--white); font-size: 1.05rem; }
.wu-drop-in span { color: var(--ice); font-size: .88rem; font-weight: 400; }
.wu-drop-in:hover { background: rgba(237,138,45,.12); }
.wu-drop input:disabled + .wu-drop-in { opacity: .45; cursor: not-allowed; }
.wu-drop input:focus-visible + .wu-drop-in { outline: 2px solid var(--orange, #ED8A2D); outline-offset: 3px; }

.wu-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); margin-top: 16px; }
.wu-ph { display: grid; gap: 6px; }
.wu-ph-img { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.06); border: 2px solid transparent; }
.wu-ph.is-cover .wu-ph-img { border-color: var(--orange, #ED8A2D); }
.wu-ph-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wu-ph.is-up img { opacity: .45; }
.wu-ph-state { position: absolute; inset: auto 6px 6px 6px; font-size: .75rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.65); padding: 4px 8px; border-radius: 8px; }
.wu-ph-state.wu-bad { background: rgba(170,30,30,.9); }
.wu-star, .wu-x { position: absolute; top: 6px; border: 0; cursor: pointer; font-weight: 700; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; line-height: 1; }
.wu-star { left: 6px; padding: 6px 9px; font-size: .78rem; }
.wu-ph.is-cover .wu-star { background: var(--orange, #ED8A2D); color: #1a0d00; }
.wu-x { right: 6px; width: 28px; height: 28px; font-size: 18px; }
.wu-x:hover { background: #b3261e; }
.intrisio-form .wu-cap { padding: 8px 10px; font-size: .82rem; border-radius: 10px; }
.wu-status { min-height: 1.2em; margin: 10px 0 0; color: var(--ice); font-size: .88rem; }
