/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
:root {
    --bg: #fff;
    --bg-soft: #f6f7f9;
    --card: #fff;
    --text: #111;
    --muted: #6b7280;
    --border: #e5e7eb;
    --accent: #ef5b2a;
}
* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
}
body {
    margin: 0;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Ubuntu,
        Cantarell,
        Helvetica,
        Arial,
        Apple Color Emoji,
        Segoe UI Emoji;
    background: var(--bg-soft);
    color: var(--text);
}
a {
    color: inherit;
    text-decoration: none;
}
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 64px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.brand .dot {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--accent);
    display: inline-block;
}
.search {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 12px;
}
.search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
}
.layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    margin-top: 20px;
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}
.section-title {
    font-weight: 800;
    margin: 0 0 10px;
}
.empty {
    display: flex;
    align-items: center;
    gap: 18px;
}
.empty .image {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    background: #fff;
}
.empty img {
    width: 88px;
    height: 88px;
}
.empty h2 {
    margin: 0 0 6px;
    font-size: 20px;
}
.empty p {
    margin: 0;
    color: var(--muted);
}
.meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}
.badge {
    background: #ffe9e2;
    color: #7a2d13;
    border: 1px solid #ffd4c5;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}
.sidebar .block {
    margin-bottom: 16px;
}
.sidebar .block h3 {
    margin: 0 0 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #374151;
}
.taglist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    background: #fff;
}
.footer {
    margin: 24px 0 48px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}
.footer a {
    color: var(--muted);
    text-decoration: underline;
}
#carbon-container {
    margin-top: 8px;
}
/* optional carbon iframe skin if present */
#carbonads {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}
#carbonads .carbon-wrap {
    display: flex;
    gap: 10px;
    padding: 10px;
}
#carbonads .carbon-img img {
    display: block;
    width: 100px;
    height: auto;
}
#carbonads .carbon-text {
    font-size: 13px;
    line-height: 1.35;
    color: #111;
}
#carbonads .carbon-poweredby {
    font-size: 11px;
    color: #6b7280;
    padding: 10px;
}
@media (max-width: 880px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .search {
        display: none;
    }
    .empty h2 {
        font-size: 18px;
    }
    .empty p {
        font-size: 14px;
    }
    .meta {
        gap: 10px;
        font-size: 11px;
    }
}
