/* Snappy RC262: showcase spacing, visible FOTH navigation, Theme of the Week gallery/uploader polish */

/* Shared showcase rhythm */
#revolvingShowcase260{margin:8px 0 5px!important;padding:0!important;min-height:18px!important;justify-content:flex-end!important}
#revolvingShowcase260>strong{font-size:.70rem!important;line-height:1!important;letter-spacing:.14em!important}
#flannelOfHour .flannel-hour-heading{margin-bottom:6px!important;min-height:0!important}
#flannelOfHour .flannel-hour-heading h2{margin:0!important;line-height:1.08!important}
#themeWeek259v{margin-top:10px!important}
#themeWeek259v .theme-week-heading{margin:0 0 10px!important}
#themeWeek259v .theme-week-heading h2{margin:0 0 8px!important;line-height:1.08!important}
#themeWeek259v .theme-week-heading>small{font-size:1.18rem!important;line-height:1.18!important;font-weight:1000!important;letter-spacing:.045em!important;text-decoration-thickness:3px!important;text-underline-offset:5px!important;color:#ffad42!important}

/* FOTH navigation belongs above the photo so it is always visible */

/* Gallery sheet */
#themeGallery259v .sheet,#themeSubmitModal259v .sheet{width:min(100% - 20px,680px)!important;margin-inline:auto!important;border-radius:24px 24px 0 0!important;padding:22px 18px calc(24px + env(safe-area-inset-bottom))!important}
#themeGallery259v .sheet-header,#themeSubmitModal259v .sheet-header{align-items:center!important;gap:12px!important;margin-bottom:14px!important}
#themeGallery259v .sheet-header h2,#themeSubmitModal259v .sheet-header h2{font-size:1.65rem!important;line-height:1.08!important;margin:0!important}
.theme-current-title262{margin:2px 0 18px;text-align:center;font-size:1.2rem;line-height:1.15;font-weight:1000;letter-spacing:.055em;text-transform:uppercase;text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:5px;color:#ffad42}
.theme-gallery-count262{text-align:center;color:var(--muted,#9aa0a6);font-size:.86rem;margin:-7px 0 12px}
#themeGallery259v .theme-gallery-strip{display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;overflow:visible!important;padding:0!important;gap:14px!important}
#themeGallery259v .theme-gallery-entry{width:min(100%,470px)!important;max-width:470px!important;flex:none!important;margin-inline:auto!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important}
#themeGallery259v .theme-gallery-item{width:100%!important;max-width:none!important;flex:none!important;border-radius:19px!important}
#themeGallery259v .theme-gallery-item img{width:100%!important;height:auto!important;aspect-ratio:4/4.25!important;object-fit:cover!important}
#themeGallery259v .theme-gallery-meta{padding:12px 14px!important}.theme-gallery-meta strong{font-size:1.08rem!important}
#themeGallery259v .theme-gallery-entry>.soft-btn,#themeGallery259v .theme-gallery-entry>.mini-danger{margin:0!important;min-height:44px!important;border-radius:12px!important}
#themeGallery259v .theme-gallery-pager{width:min(100%,470px);margin:22px auto 0;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:10px!important}
#themeGallery259v .theme-gallery-pager button{min-width:0!important;padding:12px 10px!important}
#themeGallery259v .theme-page262{font-weight:900;white-space:nowrap;color:var(--muted,#9aa0a6);font-size:.85rem}

/* Submission form: replace browser-default look with Snappy controls */
.theme-submit-intro262{text-align:center;margin:0 0 18px}.theme-submit-intro262 .theme-current-title262{margin-bottom:9px}.theme-submit-intro262 p{margin:0;color:var(--muted,#9aa0a6);font-size:.9rem}
.theme-upload-card262{display:block;position:relative;border:1px dashed rgba(53,211,208,.62);background:rgba(53,211,208,.07);border-radius:18px;padding:20px 16px;text-align:center;cursor:pointer;margin:0 0 15px;overflow:hidden}
.theme-upload-card262 input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.theme-upload-icon262{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 9px;border-radius:50%;background:rgba(53,211,208,.14);font-size:25px}.theme-upload-card262 strong,.theme-upload-card262 span{display:block}.theme-upload-card262 strong{font-size:1.02rem}.theme-upload-card262 span{margin-top:4px;color:var(--muted,#9aa0a6);font-size:.82rem}
.theme-form-grid262{display:grid;grid-template-columns:1fr;gap:12px}.theme-field262{display:block}.theme-field262>span{display:block;margin:0 0 6px;font-size:.78rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:var(--muted,#9aa0a6)}
#themeSubmitModal259v .theme-field262 input{display:block;width:100%!important;box-sizing:border-box!important;min-height:50px!important;margin:0!important;padding:0 14px!important;border-radius:13px!important;border:1px solid rgba(255,255,255,.14)!important;background:#171a1e!important;color:#fff!important;font:inherit!important;outline:none!important}
#themeSubmitModal259v .theme-field262 input:focus{border-color:var(--accent,#35d3d0)!important;box-shadow:0 0 0 3px rgba(53,211,208,.12)!important}
#themePublish259v{width:100%!important;min-height:54px!important;margin-top:16px!important;border-radius:15px!important;font-size:1rem!important;font-weight:950!important}
.theme-submit-rule262{text-align:center;margin:13px 8px 0;color:var(--muted,#9aa0a6);font-size:.78rem;line-height:1.35}
#themeSubmitStatus259v{text-align:center;margin:10px 0 0!important;font-size:.85rem}
@media(min-width:560px){.theme-form-grid262{grid-template-columns:1fr 1fr}}

/* Stable showcase geometry: identical space for loading, error and ready states. */
#themeWeek259v{display:grid;grid-template-rows:64px auto 54px;gap:10px}
#themeWeek259v .theme-week-heading{height:64px;box-sizing:border-box;margin:0!important;overflow:hidden}
#themeWeek259v .theme-week-heading>small{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#themeWeek259v .theme-week-actions{height:54px;margin:0;min-height:54px}
#themeWeek259v .theme-week-actions button{margin:0;min-height:0}
#themeWeek259v .theme-empty260{box-sizing:border-box}
#flannelHourBody{box-sizing:border-box;aspect-ratio:1/1;min-height:0!important}
#flannelHourBody>.flannel-hour-photo{height:100%;aspect-ratio:auto!important}
#fothHourTeaser{min-height:44px;box-sizing:border-box}
@media(prefers-reduced-motion:reduce){.foth-skeleton-photo,.foth-skeleton-lines span{animation:none}}
