/* Public idea detail (sample + real) */

.idea-show-back {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.25rem 1rem 0;
}

.idea-show-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
}

.idea-show-back a:hover {
    color: var(--fire-alt);
}

.idea-show {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
}

@media (min-width: 640px) {
    .idea-show {
        padding: 1rem 1.5rem 3rem;
    }
}

.idea-show__badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.idea-show__panel {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .idea-show__panel {
        padding: 1.5rem;
    }
}

.idea-show__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.idea-show__meta-primary {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.idea-show__meta-secondary {
    font-size: 0.75rem;
    color: #6b7280;
}

.idea-show__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

@media (min-width: 640px) {
    .idea-show__title {
        font-size: 1.5rem;
    }
}

.idea-show__body {
    font-size: 0.9375rem;
    color: #d1d5db;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.idea-show__body:last-child {
    margin-bottom: 0;
}

.idea-show__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.idea-show__gallery-main {
    grid-column: 1 / -1;
}

.idea-show__gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.5rem;
    background: #0a0b0f;
}

.idea-show__video-wrap {
    margin-bottom: 1.25rem;
}

.idea-show__video-wrap video {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    background: #000;
}

.idea-show__iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 0.5rem;
    background: #000;
}

.idea-show__video-wrap :is(iframe) {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 0.5rem;
    background: #000;
}

.idea-show__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.idea-show__tag {
    font-size: 0.69rem;
    font-weight: 500;
    color: #9ca3af;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 0.25rem 0.55rem;
    border-radius: 9999px;
}

.idea-show__tag--alert {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.2);
}

.idea-show__metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface-0);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.idea-show__metric {
    text-align: center;
    min-width: 3.5rem;
}

.idea-show__metric-val {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: ui-monospace, monospace;
}

.idea-show__metric-val--fire {
    color: var(--fire-alt);
}

.idea-show__metric-val--brand {
    color: var(--brand);
}

.idea-show__metric-val--plain {
    color: #fff;
}

.idea-show__metric-label {
    font-size: 0.625rem;
    color: #6b7280;
    font-family: ui-monospace, monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
}

.idea-show__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.idea-show__btn {
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    cursor: default;
    background: transparent;
    color: #9ca3af;
}

.idea-show__btn--fire {
    color: var(--fire-alt);
    background: var(--fire-dim);
    border-color: rgba(240, 90, 62, 0.2);
}

.idea-show__btn--support {
    color: var(--brand);
    background: var(--brand-dim);
    border-color: rgba(34, 214, 163, 0.2);
}
