/* Charlotte List "show" add-on: cover photo, event colors card, photo wall, survey, recap page and feedback bars.
   Only theme variables are used here, so a new brand needs no change in this file. */

/* Cover photo. The fixed shape keeps the page from jumping while the photo loads. */
.show-cover{margin-top:14px;border-radius:var(--radius);overflow:hidden;aspect-ratio:16/9;background:var(--line)}
.show-cover img{display:block;width:100%;height:100%;object-fit:cover}

.show-rule{width:64px;height:6px;margin-top:12px;border-radius:3px;background:var(--accent)}

/* Host cards */
.show-h3{font-size:16px;line-height:1.3;margin:18px 0 2px;padding-top:16px;border-top:1px solid var(--line)}
.show-gap{margin-top:12px}
.show-file{display:block;width:100%;min-height:46px;padding:8px 0;font:inherit;font-size:16px;color:var(--ink)}
.show-file::file-selector-button{min-height:44px;margin-right:12px;padding:0 14px;border:1.5px solid var(--ink);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
fieldset.show-styles,fieldset.show-scores{border:0;margin:12px 0 0;padding:0;min-width:0}
fieldset.show-styles legend,fieldset.show-scores legend{font-weight:600;font-size:14px;padding:0;margin-bottom:6px}
.show-tpl{padding:4px 0}
.show-tpl .muted{display:block;font-weight:400}
.show-swatch{display:inline-flex;align-items:center;justify-content:center;width:56px;height:36px;border:1px solid var(--line);border-radius:var(--radius-sm);flex:none}
.show-swatch span{display:inline-flex;align-items:center;justify-content:center;width:36px;height:22px;border-radius:5px;font-size:12px;font-weight:700}
.show-own input[type=color]{width:56px;height:46px;padding:3px;border:1.5px solid var(--muted);border-radius:var(--radius-sm);background:var(--surface);flex:none;cursor:pointer}
.show-own input[type=text]{flex:1;min-width:120px;width:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.show-card details.help .prose{margin-top:6px;font-size:15px}

/* Survey: number buttons made from radio inputs, so they work with no script. */
.show-score-row{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}
.show-score-row span{position:relative;display:block}
.show-score-row input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.show-score-row label{display:flex;align-items:center;justify-content:center;min-height:46px;margin:0;border:1.5px solid var(--ink);border-radius:var(--radius-sm);background:var(--surface);font-size:17px;font-weight:700}
.show-score-row input:checked + label{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.show-score-row input:focus-visible + label{outline:3px solid var(--ink);outline-offset:2px}

/* Photo grids: ticket page, host page, recap page */
.show-promise{font-weight:600;margin-top:12px}
.show-grid{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.show-grid.mine{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}
.show-grid li{min-width:0}
.show-grid a{display:block;border-radius:var(--radius-sm)}
.show-grid img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:var(--radius-sm);background:var(--line)}
.show-grid li.is-hidden img{opacity:.4}
.show-grid .hint{overflow-wrap:anywhere}
.show-grid form,.show-grid .row{margin-top:6px}
.show-grid.host .row{gap:6px}
.show-grid.host .row form{flex:1}
.show-grid.host .btn{width:100%;padding:0 8px}
.show-grid.recap{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}

/* Recap page */
.show-kicker{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.show-came{font-size:18px;margin-top:6px}

/* Feedback bars */
.show-bars{list-style:none;margin:10px 0 0;padding:0}
.show-bars li{display:flex;align-items:center;gap:10px;padding:3px 0}
.show-bars .s{flex:none;width:22px;text-align:right;font-weight:700}
.show-bars .bar{flex:1;height:18px;border-radius:4px;background:var(--bg);overflow:hidden}
.show-bars .bar span{display:block;height:100%;min-width:0;border-radius:4px;background:var(--accent);box-shadow:inset 0 0 0 2px var(--ink)}
.show-bars .c{flex:none;width:34px;font-size:14px;color:var(--muted)}
.show-survey{margin-bottom:18px}
