/* Inspiration review gallery: scoped to the existing Kada V1 surfaces. */
.ir-page{display:flex;flex-direction:column;gap:16px;min-width:0}
.ir-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ir-stats>div{background:var(--app-surface);border:1px solid var(--app-border);border-radius:12px;padding:13px 15px;display:flex;flex-direction:column;gap:4px}
.ir-stats strong{font-size:24px;font-weight:680;color:var(--app-text);font-variant-numeric:tabular-nums}
.ir-stats span{font-size:11px;color:var(--app-text-muted)}
.ir-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;padding:0 0 3px}
.ir-tabs::-webkit-scrollbar,.ir-filter-tags::-webkit-scrollbar{display:none}
.ir-tabs button{flex-shrink:0;min-height:38px;padding:8px 14px;border:1px solid var(--app-border);background:var(--app-surface-raised);border-radius:10px;color:var(--app-text-muted);font-size:13px}
.ir-tabs button.active{color:var(--app-accent-foreground);background:var(--app-accent);border-color:var(--app-accent)}
.ir-filter-tags{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:0 0 4px}
.ir-filter-tags button{flex-shrink:0;border:1px solid var(--app-border);border-radius:9px;background:var(--app-surface);color:var(--app-text-muted);font-size:12px;padding:8px 11px;min-height:34px}
.ir-filter-tags button.active{border-color:var(--app-accent);color:var(--app-accent)}
.ir-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr));gap:12px}
.ir-card{min-width:0;border:1px solid var(--app-border);background:var(--app-surface);border-radius:14px;overflow:hidden}
.ir-open{display:flex;align-items:stretch;width:100%;min-height:140px;text-align:left;background:none;color:inherit;border:0;padding:0}
.ir-open:hover{background:var(--app-surface-raised)}
.ir-art{position:relative;background:var(--app-surface-raised);overflow:hidden}
.ir-card .ir-art{width:142px;min-width:142px;align-self:stretch}
.ir-art img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:cover}
.ir-art img.is-missing{display:none}
.ir-art-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;background:var(--app-surface-raised);color:var(--app-text-muted);font-size:11px;text-align:center;padding:12px}
.ir-art-fallback svg{width:27px;height:27px;color:var(--app-text-muted)}
.ir-card-body{display:flex;flex-direction:column;gap:10px;flex:1;min-width:0;padding:14px}
.ir-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;color:var(--app-text-muted)}
.ir-meta>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ir-status{flex-shrink:0;border-radius:6px;padding:3px 6px;background:var(--app-surface-raised);color:var(--app-text-muted)}
.ir-status.pending{color:var(--app-accent)}
.ir-status.kept{color:#71D8AF}
.ir-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.45;letter-spacing:-.01em;color:var(--app-text)}
.ir-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.6;font-size:12px;color:var(--app-text-muted)}
.ir-tags{display:flex;gap:8px;white-space:nowrap;overflow:hidden;margin-top:auto;font-size:10px;color:var(--app-text-muted)}
.ir-nav-badge{background:var(--app-accent);color:var(--app-accent-foreground);font-size:9px;line-height:1;min-width:16px;height:16px;display:grid;place-items:center;border-radius:8px;padding:0 3px}
.bottom-nav .ir-nav-badge{position:absolute;margin-left:32px;margin-top:-30px;border:2px solid var(--app-bg);height:18px;min-width:18px;border-radius:10px}
.bottom-nav button{position:relative}
.ir-backdrop{z-index:50;display:flex;align-items:center;justify-content:center;padding:20px}
.ir-sheet{display:flex;flex-direction:column;width:min(100%,760px);height:min(90vh,820px);max-height:90vh;background:var(--app-bg);border:1px solid var(--app-border);border-radius:16px;overflow:hidden;box-shadow:0 15px 50px #0005}
.ir-header{height:60px;min-height:60px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--app-border);gap:10px;padding:0 17px;background:var(--app-bg)}
.ir-header strong{flex:1;font-size:14px}
.ir-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px;display:flex;flex-direction:column;gap:17px}
.ir-scroll h2{font-size:21px;line-height:1.4;margin:0;font-weight:680}
.ir-byline{font-size:12px;color:var(--app-text-muted);margin-top:-10px}
.ir-hero{width:100%;aspect-ratio:16/9;border:1px solid var(--app-border);border-radius:12px}
.ir-demo{font-size:12px;align-self:flex-start}
.ir-section{background:var(--app-surface);border:1px solid var(--app-border);padding:18px;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:11px;min-width:0}
.ir-section h3{font-size:13px;font-weight:650;margin:0;color:var(--app-text)}
.ir-section p{font-size:13px;line-height:1.8;color:var(--app-text-muted);white-space:pre-wrap;overflow-wrap:anywhere}
.ir-source{display:inline-flex;align-items:center;border:1px solid var(--app-border);border-radius:9px;padding:12px 14px;font-size:13px;text-decoration:none;color:var(--app-accent);word-break:break-word}
.ir-prompt{box-sizing:border-box;width:100%;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;font-family:inherit;background:var(--app-surface-raised);color:var(--app-text);padding:14px;border:1px solid var(--app-border);border-radius:9px;user-select:text;-webkit-user-select:text}
.ir-detail-tags{display:flex;gap:7px;flex-wrap:wrap}
.ir-detail-tags span{font-size:11px;color:var(--app-text-muted);background:var(--app-surface-raised);border-radius:7px;padding:5px 9px}
.ir-actions{display:flex;align-items:center;gap:11px;position:sticky;bottom:-20px;margin:0 -20px -20px;padding:13px 20px calc(13px + env(safe-area-inset-bottom));background:var(--app-bg);border-top:1px solid var(--app-border)}
.ir-actions>button{flex:1;min-height:44px}
.ir-actions>.muted{flex:1}
.ir-reasons{display:flex;flex-direction:column;gap:11px;padding:16px;border:1px solid var(--app-border);border-radius:11px;background:var(--app-surface)}
.ir-reasons strong{font-size:13px}
.ir-reasons>div{display:flex;gap:8px;flex-wrap:wrap}
.ir-reasons button{font-size:12px;min-height:38px}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
 .ir-stats>div{padding:12px}.ir-stats strong{font-size:22px}
 .ir-card .ir-art{width:126px;min-width:126px}.ir-card-body{padding:12px;gap:7px}.ir-open{min-height:146px}
 .ir-backdrop{position:fixed;inset:0;width:100%;height:var(--app-height,100dvh);padding:0;background:var(--app-bg)}
 .ir-sheet{width:100%;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;padding-top:env(safe-area-inset-top)}
 .ir-header{padding:0 16px}
 .ir-scroll{padding:17px 16px 0}
 .ir-actions{bottom:0;margin:0 -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
 .ir-section{padding:15px}
}
@media(max-width:360px){.ir-card .ir-art{width:108px;min-width:108px}.ir-card-body{padding:10px}.ir-meta{font-size:9px}.ir-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ir-card,.ir-open{transition:none}}
