.edgy-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #1a1a2e;
    color: #ccc;
    font-size: 12px;
}

/* ── Toolbar ── */
.edgy-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: linear-gradient(to bottom, #282848, #222238);
    border-bottom: 1px solid #333;
    flex-shrink: 0;
    position: relative;
}

.edgy-nav-btns {
    display: flex;
    gap: 2px;
}

.edgy-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #888;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.edgy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
}

.edgy-btn:active {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(0.92);
}

.edgy-btn:disabled,
.edgy-btn.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.edgy-url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #3a3a52;
    border-radius: 20px;
    padding: 0 12px;
    height: 30px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edgy-url-bar:focus-within {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 1px rgba(79, 195, 247, 0.2);
}

.edgy-url-icon {
    font-size: 11px;
    color: #6a6;
    margin-right: 6px;
    transition: color 0.2s;
}

.edgy-url-bar:focus-within .edgy-url-icon {
    color: #4fc3f7;
}

#edgy-url {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ccc;
    font-family: inherit;
    font-size: 12px;
}

#edgy-url::selection {
    background: rgba(79, 195, 247, 0.3);
}

.edgy-go {
    background: transparent;
    border: none;
    color: #4fc3f7;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.edgy-go:hover {
    color: #fff;
    background: rgba(79, 195, 247, 0.15);
}

/* ── Progress bar ── */
.edgy-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6, #4fc3f7);
    background-size: 200% 100%;
    border-radius: 0 0 1px 1px;
    width: 0%;
    transition: width 0.3s ease;
    z-index: 2;
}

.edgy-progress-bar.loading {
    animation: edgy-progress-slide 1.5s linear infinite;
}

@keyframes edgy-progress-slide {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Bookmarks bar ── */
.edgy-bookmarks {
    display: flex;
    gap: 2px;
    padding: 3px 8px;
    background: #1e1e34;
    border-bottom: 1px solid #2a2a40;
    flex-shrink: 0;
    min-height: 24px;
}

.edgy-bookmark {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #999;
    font-size: 11px;
    padding: 3px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.edgy-bookmark:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.06);
}

.edgy-bookmark:active {
    background: rgba(255, 255, 255, 0.04);
}

/* ── Content area ── */
.edgy-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    position: relative;
}

/* Page transition */
.edgy-content > * {
    animation: edgy-page-in 0.25s ease-out;
}

@keyframes edgy-page-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Loading spinner ── */
.edgy-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    color: #666;
    gap: 16px;
}

.edgy-loading::before {
    content: "";
    width: 24px;
    height: 24px;
    border: 2px solid #333;
    border-top-color: #4fc3f7;
    border-radius: 50%;
    animation: edgy-spin 0.8s linear infinite;
}

@keyframes edgy-spin {
    to { transform: rotate(360deg); }
}

/* ── News index ── */
.edgy-news {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
}

.edgy-news-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c62828;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.edgy-news-header h1 {
    font-size: 22px;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.edgy-news-tagline {
    color: #888;
    font-size: 11px;
    font-style: italic;
}

.edgy-headline {
    padding: 10px 12px;
    border-bottom: 1px solid #2a2a3e;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s ease;
    border-radius: 2px;
}

.edgy-headline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.edgy-headline-cat {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #c62828;
    width: 80px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.edgy-headline-text {
    flex: 1;
    color: #ddd;
    transition: color 0.15s ease;
}

.edgy-headline:hover .edgy-headline-text {
    color: #fff;
}

.edgy-headline-comments {
    color: #666;
    font-size: 10px;
    flex-shrink: 0;
}

.edgy-headline-live {
    border-left: 3px solid #f85149;
    background: rgba(248, 81, 73, 0.06);
    animation: edgy-live-in 0.4s ease-out;
}

.edgy-headline-live .edgy-headline-cat {
    color: #f85149;
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes edgy-live-in {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Article ── */
.edgy-article {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 20px;
}

.edgy-article h1 {
    font-size: 20px;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.edgy-article-meta {
    color: #888;
    font-size: 11px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
}

.edgy-article-body {
    color: #d4d4d4;
    line-height: 1.7;
    font-size: 13px;
}

/* ── Error page ── */
.edgy-error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
    text-align: center;
    min-height: 200px;
    animation: edgy-error-in 0.3s ease-out;
}

.edgy-error-page::before {
    content: ":(";
    display: block;
    font-size: 48px;
    color: #4fc3f7;
    margin-bottom: 20px;
    font-weight: 100;
}

.edgy-error-page pre {
    color: #999;
    font-size: 13px;
    white-space: pre-wrap;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 20px;
    border-radius: 6px;
    border-left: 3px solid #4fc3f7;
    line-height: 1.6;
}

@keyframes edgy-error-in {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Search engine ── */
.edgy-search-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px;
}

.edgy-search-logo {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #4fc3f7, #29b6f6, #0288d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.edgy-search-tagline {
    color: #888;
    font-size: 12px;
    margin-bottom: 24px;
    font-style: italic;
}

.edgy-search-box {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 500px;
}

.edgy-search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #444;
    border-radius: 20px;
    padding: 10px 18px;
    color: #ccc;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edgy-search-input:focus {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.15);
}

.edgy-search-btn {
    background: linear-gradient(to bottom, #4fc3f7, #29b6f6);
    border: none;
    border-radius: 20px;
    color: #000;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.15s ease;
}

.edgy-search-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
}

.edgy-search-btn:active {
    transform: translateY(0);
}

.edgy-search-footer {
    margin-top: 30px;
    color: #555;
    font-size: 10px;
}

.edgy-search-footer span {
    margin: 0 6px;
    cursor: default;
}

/* ── Start page ── */
.edgy-start {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

.edgy-start-greeting {
    font-size: 22px;
    color: #ddd;
    margin-bottom: 30px;
    font-weight: 300;
}

.edgy-start-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.edgy-start-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #3a3a52;
    border-radius: 10px;
    color: #bbb;
    padding: 16px 24px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    min-width: 100px;
    text-align: center;
}

.edgy-start-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: #4fc3f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.edgy-start-link:active {
    transform: translateY(0);
}

/* ── Dark web market ── */
.edgy-darkweb {
    padding: 24px;
    text-align: center;
}

.edgy-darkweb-banner {
    font-size: 20px;
    color: #c62828;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(198, 40, 40, 0.3);
    letter-spacing: 1px;
}

.edgy-darkweb-warning {
    color: #ff9800;
    font-size: 12px;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(255, 152, 0, 0.08);
    border-radius: 4px;
    display: inline-block;
}

.edgy-darkweb-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}

.edgy-darkweb-cat-link {
    background: rgba(198, 40, 40, 0.1);
    border: 1px solid #5a2020;
    border-radius: 4px;
    color: #e57373;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.15s ease;
}

.edgy-darkweb-cat-link:hover {
    background: rgba(198, 40, 40, 0.25);
    color: #fff;
    border-color: #c62828;
}

.edgy-darkweb-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    max-width: 800px;
    margin: 16px auto;
    text-align: left;
}

.edgy-darkweb-listing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 6px;
    padding: 14px;
    transition: all 0.2s ease;
}

.edgy-darkweb-listing-card:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.edgy-darkweb-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}

.edgy-darkweb-listing-name {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 13px;
}

.edgy-darkweb-listing-price {
    color: #4caf50;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.edgy-darkweb-listing-desc {
    color: #999;
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.edgy-darkweb-listing-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
}

.edgy-darkweb-listing-status.in-stock {
    background: rgba(76, 175, 80, 0.15);
    color: #66bb6a;
}

.edgy-darkweb-listing-status.limited {
    background: rgba(255, 152, 0, 0.15);
    color: #ffa726;
}

.edgy-darkweb-listing-status.other {
    background: rgba(244, 67, 54, 0.15);
    color: #ef5350;
}

/* ── Search results ── */
.edgy-search-results {
    max-width: 650px;
    margin: 0 auto;
    padding: 16px 20px;
}

.edgy-search-results-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.edgy-search-results-logo {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edgy-search-meta {
    color: #777;
    font-size: 11px;
    margin-bottom: 16px;
}

.edgy-search-ad {
    background: rgba(255, 200, 50, 0.05);
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 12px;
    color: #aaa;
    transition: background 0.15s ease;
}

.edgy-search-ad:hover {
    background: rgba(255, 200, 50, 0.08);
}

.edgy-search-ad::before {
    content: "Ad";
    display: inline-block;
    background: #555;
    color: #ccc;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.edgy-search-result {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.edgy-search-result:hover {
    background: rgba(255, 255, 255, 0.03);
}

.edgy-search-result:hover .edgy-search-result-title {
    text-decoration: underline;
}

.edgy-search-result-url {
    color: #8ab4f8;
    font-size: 11px;
    margin-bottom: 2px;
}

.edgy-search-result-title {
    color: #8ab4f8;
    font-size: 15px;
    margin-bottom: 3px;
}

.edgy-search-result-desc {
    color: #bbb;
    font-size: 12px;
    line-height: 1.5;
}

.edgy-search-disclaimer {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #333;
    color: #555;
    font-size: 10px;
    font-style: italic;
    text-align: center;
}

/* ── Pirate Bae ── */
.edgy-pirate {
    background: #0d0d0d;
    min-height: 100%;
    padding: 24px;
    color: #ccc;
}

.edgy-pirate-banner {
    text-align: center;
    margin-bottom: 24px;
}

.edgy-pirate-skull {
    font-size: 48px;
    animation: edgy-skull-bob 3s ease-in-out infinite;
}

@keyframes edgy-skull-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.edgy-pirate-banner h1 {
    font-size: 28px;
    color: #4caf50;
    margin: 4px 0;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.edgy-pirate-tagline {
    color: #888;
    font-size: 12px;
    font-style: italic;
}

.edgy-pirate-listing {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 16px;
    max-width: 600px;
    margin: 0 auto 20px;
    transition: border-color 0.2s ease;
}

.edgy-pirate-listing:hover {
    border-color: #4caf50;
}

.edgy-pirate-listing-title {
    font-size: 16px;
    color: #4caf50;
    font-weight: 700;
    margin-bottom: 10px;
}

.edgy-pirate-listing-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    color: #999;
    margin-bottom: 10px;
}

.edgy-pirate-listing-meta strong {
    color: #4caf50;
}

.edgy-pirate-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 12px;
}

.edgy-pirate-seeders {
    color: #4caf50;
    font-weight: 700;
}

.edgy-pirate-leechers {
    color: #f44336;
    font-weight: 700;
}

.edgy-pirate-listing-desc {
    color: #bbb;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.edgy-pirate-dl-btn {
    display: block;
    width: 100%;
    background: linear-gradient(to bottom, #4caf50, #388e3c);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
    transition: all 0.15s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.edgy-pirate-dl-btn:hover {
    background: linear-gradient(to bottom, #66bb6a, #43a047);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.edgy-pirate-dl-btn:active {
    transform: translateY(0);
}

.edgy-pirate-dl-btn.downloading {
    pointer-events: none;
    opacity: 0.7;
}

.edgy-pirate-ads {
    max-width: 600px;
    margin: 20px auto 0;
    display: flex;
    gap: 8px;
}

.edgy-pirate-ad {
    flex: 1;
    background: #1a0a0a;
    border: 1px dashed #c62828;
    border-radius: 4px;
    padding: 10px;
    font-size: 10px;
    color: #ff5252;
    text-align: center;
    animation: edgy-blink 1.5s infinite;
    cursor: pointer;
    transition: background 0.2s;
}

.edgy-pirate-ad:hover {
    background: #2a0a0a;
}

@keyframes edgy-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ── Inline error (failed load) ── */
.edgy-error {
    padding: 40px;
    text-align: center;
    color: #888;
}

/* ── Generic fallback ── */
.edgy-generic {
    padding: 16px;
}

.edgy-generic pre {
    color: #999;
    font-size: 11px;
    white-space: pre-wrap;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 4px;
}

/* ── Scrollbar ── */
.edgy-content::-webkit-scrollbar {
    width: 6px;
}

.edgy-content::-webkit-scrollbar-track {
    background: transparent;
}

.edgy-content::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.edgy-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ── Refresh spin ── */
.edgy-btn.spinning {
    animation: edgy-spin 0.6s linear infinite;
}

/* ── Incognito mode ── */
.edgy-btn#edgy-incognito {
    font-size: 14px;
    transition: all 0.2s ease;
}

.edgy-btn#edgy-incognito.active {
    color: #4fc3f7;
    background: rgba(79, 195, 247, 0.15);
    border-color: rgba(79, 195, 247, 0.3);
}

.edgy-app.edgy-incognito .edgy-toolbar {
    background: linear-gradient(to bottom, #1a1a2e, #151525);
}

.edgy-app.edgy-incognito .edgy-bookmarks {
    background: #141428;
}

.edgy-app.edgy-incognito .edgy-url-bar {
    background: rgba(79, 195, 247, 0.06);
    border-color: rgba(79, 195, 247, 0.2);
}

/* ── Autocomplete dropdown ── */
.edgy-autocomplete {
    background: #222240;
    border: 1px solid #3a3a52;
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin: 0 40px;
    max-height: 180px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.edgy-autocomplete.hidden {
    display: none;
}

.edgy-ac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.1s ease;
}

.edgy-ac-item:hover {
    background: rgba(79, 195, 247, 0.1);
}

.edgy-ac-hostname {
    color: #8ab4f8;
    font-size: 12px;
    flex: 1;
}

.edgy-ac-label {
    color: #777;
    font-size: 11px;
}

/* ── Article comments ── */
.edgy-comments {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px 24px;
}

.edgy-comments-header {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    padding: 12px 0 10px;
    border-top: 1px solid #333;
    margin-top: 8px;
}

.edgy-comment {
    padding: 10px 12px;
    margin-bottom: 2px;
    border-left: 2px solid #333;
    transition: border-color 0.15s ease;
}

.edgy-comment:hover {
    border-left-color: #4fc3f7;
}

.edgy-comment-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.edgy-comment-user {
    color: #4fc3f7;
    font-size: 11px;
    font-weight: 600;
}

.edgy-comment-time {
    color: #555;
    font-size: 10px;
}

.edgy-comment-text {
    color: #ccc;
    font-size: 12px;
    line-height: 1.5;
}

.edgy-comment-votes {
    color: #888;
    font-size: 10px;
    margin-top: 4px;
}

.edgy-comment-votes.negative {
    color: #e57373;
}

/* ── Start page search bar ── */
.edgy-start-search {
    margin-bottom: 24px;
    max-width: 500px;
    width: 100%;
}

/* ── Start page news feed ── */
.edgy-start-feed {
    width: 100%;
    max-width: 500px;
    margin-top: 16px;
}

.edgy-start-feed-header {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #333;
}

.edgy-start-feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.edgy-start-feed-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.edgy-start-feed-item .edgy-headline-cat {
    font-size: 8px;
    width: 70px;
}

.edgy-start-feed-item .edgy-headline-text {
    font-size: 12px;
}

/* ── Cookie consent banner ── */
.edgy-cookie-banner {
    position: sticky;
    bottom: 0;
    background: linear-gradient(to top, #1e1e34, rgba(30, 30, 52, 0.97));
    padding: 12px 16px;
    border-top: 1px solid #3a3a52;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: edgy-cookie-in 0.3s ease-out;
}

@keyframes edgy-cookie-in {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.edgy-cookie-banner.edgy-cookie-hiding {
    animation: edgy-cookie-out 0.3s ease-in forwards;
}

@keyframes edgy-cookie-out {
    from { transform: translateY(0); opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}

.edgy-cookie-text {
    flex: 1;
    color: #bbb;
    font-size: 11px;
    line-height: 1.4;
}

.edgy-cookie-btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.edgy-cookie-accept {
    background: #4fc3f7;
    border: none;
    border-radius: 4px;
    color: #000;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s;
}

.edgy-cookie-accept:hover {
    filter: brightness(1.15);
}

.edgy-cookie-reject {
    background: transparent;
    border: 1px solid #555;
    border-radius: 4px;
    color: #999;
    padding: 6px 12px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s;
}

.edgy-cookie-reject:hover {
    border-color: #888;
    color: #ccc;
}

/* ── Corporate site ── */
.edgy-corporate {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 30px;
}

.edgy-corp-hero {
    text-align: center;
    padding: 40px 20px 30px;
    border-bottom: 1px solid #333;
    margin-bottom: 24px;
}

.edgy-corp-hero h1 {
    font-size: 28px;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: 4px;
    font-weight: 300;
}

.edgy-corp-hero p {
    color: #888;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

.edgy-corp-section {
    margin-bottom: 20px;
    padding: 0 8px;
}

.edgy-corp-section h2 {
    font-size: 16px;
    color: #4fc3f7;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.edgy-corp-section p {
    color: #bbb;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.edgy-corp-section-title {
    font-size: 16px;
    color: #4fc3f7;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 0 8px;
}

.edgy-corp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.edgy-corp-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.edgy-corp-card:hover {
    border-color: #4fc3f7;
    background: rgba(79, 195, 247, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.edgy-corp-card-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.edgy-corp-card h3 {
    font-size: 13px;
    color: #e0e0e0;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.edgy-corp-card p {
    font-size: 11px;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

.edgy-corp-cta {
    text-align: center;
    padding: 24px;
    margin: 20px 0;
}

.edgy-corp-cta-btn {
    background: linear-gradient(to bottom, #4fc3f7, #29b6f6);
    border: none;
    border-radius: 6px;
    color: #000;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.edgy-corp-cta-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(79, 195, 247, 0.3);
}

.edgy-corp-cta-btn:active {
    transform: translateY(0);
}

.edgy-corp-cta p {
    color: #666;
    font-size: 11px;
    margin: 8px 0 0 0;
    font-style: italic;
}

/* ── Corporate pricing cards ── */
.edgy-corp-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.edgy-corp-pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.edgy-corp-pricing-card:hover {
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.edgy-corp-pricing-card.edgy-corp-highlight {
    border-color: #4fc3f7;
    background: rgba(79, 195, 247, 0.06);
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.1);
}

.edgy-corp-pricing-card h3 {
    font-size: 16px;
    color: #fff;
    margin: 0 0 8px 0;
}

.edgy-corp-price {
    font-size: 24px;
    font-weight: 700;
    color: #4fc3f7;
    margin-bottom: 16px;
}

.edgy-corp-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    text-align: left;
}

.edgy-corp-pricing-card li {
    color: #bbb;
    font-size: 11px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    line-height: 1.4;
}

.edgy-corp-pricing-card li::before {
    content: "\2713 ";
    color: #4caf50;
    margin-right: 4px;
}

.edgy-corp-pricing-card .edgy-corp-cta-btn {
    width: 100%;
    padding: 10px;
    font-size: 12px;
}

/* ── Ecommerce (Nile) ── */
.edgy-ecommerce {
    background: #fff;
    color: #333;
    min-height: 100%;
}

.edgy-ecom-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(to bottom, #232f3e, #131921);
    color: #fff;
}

.edgy-ecom-logo {
    font-size: 22px;
    font-weight: 700;
    color: #ff9900;
    letter-spacing: -0.5px;
}

.edgy-ecom-tagline {
    font-size: 11px;
    color: #ccc;
    flex: 1;
}

.edgy-ecom-cart {
    font-size: 14px;
    cursor: pointer;
}

.edgy-ecom-promo {
    background: #ff9900;
    color: #000;
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
}

.edgy-ecom-srh {
    padding: 12px 16px;
    color: #555;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
}

.edgy-ecom-section-title {
    padding: 16px 16px 8px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.edgy-ecom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 8px 16px 20px;
}

.edgy-ecom-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s ease;
}

.edgy-ecom-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.edgy-ecom-img {
    font-size: 36px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.edgy-ecom-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #c45500;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
}

.edgy-ecom-name {
    font-size: 11px;
    color: #0066c0;
    line-height: 1.3;
    margin-bottom: 6px;
    min-height: 28px;
}

.edgy-ecom-price {
    font-size: 16px;
    font-weight: 700;
    color: #b12704;
    margin-bottom: 4px;
}

.edgy-ecom-rating {
    margin-bottom: 8px;
}

.edgy-ecom-stars {
    color: #ff9900;
    font-size: 12px;
}

.edgy-ecom-reviews {
    color: #007185;
    font-size: 10px;
}

.edgy-ecom-cart-btn {
    width: 100%;
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    border: 1px solid #a88734;
    border-radius: 4px;
    color: #111;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.edgy-ecom-cart-btn:hover {
    background: linear-gradient(to bottom, #f5d78e, #eeb933);
}

.edgy-ecom-cart-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* ── Wiki (WikiHow) ── */
.edgy-wiki {
    background: #fff;
    color: #333;
    min-height: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 30px;
}

.edgy-wiki-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 20px;
    border-bottom: 3px solid #93b874;
}

.edgy-wiki-logo {
    font-size: 22px;
    font-weight: 700;
    color: #93b874;
}

.edgy-wiki-tagline {
    font-size: 11px;
    color: #888;
    font-style: italic;
}

.edgy-wiki-featured {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f0f7e8;
    border-bottom: 1px solid #ddd;
}

.edgy-wiki-featured-emoji {
    font-size: 32px;
}

.edgy-wiki-featured-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.edgy-wiki-featured-views {
    font-size: 11px;
    color: #888;
}

.edgy-wiki-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding: 16px 20px 8px;
}

.edgy-wiki-article-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.15s ease;
}

.edgy-wiki-article-link:hover {
    background: #f5f5f5;
}

.edgy-wiki-article-cat {
    font-size: 10px;
    color: #93b874;
    font-weight: 700;
    text-transform: uppercase;
    width: 80px;
    flex-shrink: 0;
}

.edgy-wiki-article-text {
    flex: 1;
    color: #0645ad;
    font-size: 13px;
}

.edgy-wiki-article-views {
    color: #888;
    font-size: 10px;
    flex-shrink: 0;
}

.edgy-wiki-article-heading {
    padding: 20px 20px 12px;
    border-bottom: 1px solid #ddd;
}

.edgy-wiki-article-heading h1 {
    font-size: 22px;
    color: #333;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.edgy-wiki-article-meta {
    font-size: 11px;
    color: #888;
}

.edgy-wiki-step {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.edgy-wiki-step-num {
    background: #93b874;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    height: fit-content;
    white-space: nowrap;
}

.edgy-wiki-step-body h3 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
}

.edgy-wiki-step-body p {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.edgy-wiki-step-img {
    background: #f0f7e8;
    border: 1px dashed #93b874;
    border-radius: 6px;
    padding: 12px;
    font-size: 11px;
    color: #888;
    font-style: italic;
    text-align: center;
}

.edgy-wiki-tip {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 12px 16px;
    margin: 16px 20px;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    color: #333;
    line-height: 1.5;
}

/* ── Forum (Reddit) ── */
.edgy-forum {
    background: #1a1a1b;
    color: #d7dadc;
    min-height: 100%;
}

.edgy-forum-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 20px;
    background: #ff4500;
    color: #fff;
}

.edgy-forum-logo {
    font-size: 20px;
    font-weight: 700;
}

.edgy-forum-tagline {
    font-size: 11px;
    opacity: 0.8;
}

.edgy-forum-sub-banner {
    background: #272729;
    padding: 16px 20px;
    border-bottom: 3px solid #ff4500;
}

.edgy-forum-sub-banner h2 {
    font-size: 18px;
    color: #d7dadc;
    margin: 0 0 6px 0;
}

.edgy-forum-sub-stats {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: #818384;
    margin-bottom: 6px;
}

.edgy-forum-sub-desc {
    font-size: 12px;
    color: #818384;
}

.edgy-forum-post {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background: #1a1a1b;
    border: 1px solid #343536;
    border-radius: 4px;
    margin: 6px 8px;
    transition: border-color 0.15s ease;
}

.edgy-forum-post:hover {
    border-color: #555;
}

.edgy-forum-votes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 36px;
    flex-shrink: 0;
}

.edgy-forum-upvote, .edgy-forum-downvote {
    background: none;
    border: none;
    color: #818384;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 2px;
    transition: color 0.15s ease;
}

.edgy-forum-upvote:hover { color: #ff4500; }
.edgy-forum-downvote:hover { color: #7193ff; }
.edgy-forum-upvote.edgy-voted { color: #ff4500; }
.edgy-forum-downvote.edgy-voted { color: #7193ff; }

.edgy-forum-vote-count {
    font-size: 12px;
    font-weight: 700;
    color: #d7dadc;
}

.edgy-forum-post-body {
    flex: 1;
    min-width: 0;
}

.edgy-forum-post-title {
    font-size: 14px;
    font-weight: 500;
    color: #d7dadc;
    margin-bottom: 4px;
    line-height: 1.3;
}

.edgy-forum-flair {
    background: #272729;
    border: 1px solid #343536;
    border-radius: 12px;
    padding: 1px 8px;
    font-size: 10px;
    color: #ff4500;
    margin-right: 6px;
    font-weight: 600;
}

.edgy-forum-post-meta {
    font-size: 10px;
    color: #818384;
    margin-bottom: 4px;
}

.edgy-forum-subreddit {
    color: #d7dadc;
    font-weight: 700;
}

.edgy-forum-post-actions {
    display: flex;
    gap: 12px;
    font-size: 10px;
    color: #818384;
    font-weight: 700;
}

.edgy-forum-post-actions span {
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 2px;
    transition: background 0.15s;
}

.edgy-forum-post-actions span:hover {
    background: #272729;
}

.edgy-forum-pinned {
    background: #272729;
    border: 1px solid #343536;
    border-left: 3px solid #ff4500;
    padding: 10px 14px;
    margin: 10px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #818384;
    line-height: 1.5;
}

/* ── Q&A Site (Stack Overflow / Quora) ── */
.edgy-qa {
    background: #fff;
    color: #333;
    min-height: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.edgy-qa-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 20px;
    background: #f48225;
    color: #fff;
}

.edgy-qa-logo {
    font-size: 18px;
    font-weight: 700;
}

.edgy-qa-tagline {
    font-size: 11px;
    opacity: 0.85;
}

.edgy-qa-signin-wall {
    background: #fdf7e2;
    border: 1px solid #e8d48c;
    padding: 12px 16px;
    margin: 10px 16px;
    border-radius: 6px;
    font-size: 12px;
    color: #6a5100;
    text-align: center;
}

.edgy-qa-signin-btn {
    background: #0a95ff;
    border: none;
    border-radius: 4px;
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.15s;
}

.edgy-qa-signin-btn:hover {
    background: #0074cc;
}

.edgy-qa-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 14px 20px 8px;
}

.edgy-qa-question-row {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #e3e6e8;
    align-items: flex-start;
}

.edgy-qa-question-row.edgy-qa-closed {
    opacity: 0.7;
}

.edgy-qa-vote-box, .edgy-qa-answer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
    flex-shrink: 0;
}

.edgy-qa-vote-num {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.edgy-qa-vote-label, .edgy-qa-answer-label {
    font-size: 9px;
    color: #888;
}

.edgy-qa-answer-num {
    font-size: 16px;
    font-weight: 600;
    color: #2f6f44;
}

.edgy-qa-no-answers .edgy-qa-answer-num {
    color: #888;
}

.edgy-qa-question-body {
    flex: 1;
    min-width: 0;
}

.edgy-qa-question-title {
    font-size: 14px;
    color: #0074cc;
    margin-bottom: 6px;
    line-height: 1.3;
}

.edgy-qa-closed-tag {
    color: #c22e32;
    font-size: 11px;
    font-weight: 600;
}

.edgy-qa-close-reason {
    font-size: 10px;
    color: #888;
    font-style: italic;
    margin-bottom: 4px;
}

.edgy-qa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.edgy-qa-tag {
    background: #e1ecf4;
    color: #39739d;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
}

.edgy-qa-views {
    font-size: 10px;
    color: #888;
}

/* Q&A detail page */
.edgy-qa-detail {
    padding: 16px 20px;
    border-bottom: 1px solid #e3e6e8;
}

.edgy-qa-detail-header h1 {
    font-size: 20px;
    color: #333;
    margin: 0 0 8px 0;
    font-weight: 400;
    line-height: 1.3;
}

.edgy-qa-detail-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 12px;
}

.edgy-qa-close-banner {
    background: #fdf2f2;
    border: 1px solid #e8b4b8;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 0 20px 16px;
    font-size: 12px;
    color: #7a2e2e;
    line-height: 1.4;
}

.edgy-qa-detail-body {
    display: flex;
    gap: 12px;
    padding: 0 20px 16px;
}

.edgy-qa-vote-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 40px;
    flex-shrink: 0;
}

.edgy-qa-vote-big {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.edgy-qa-detail-text {
    flex: 1;
    min-width: 0;
}

.edgy-qa-detail-text p {
    font-size: 13px;
    color: #333;
    line-height: 1.7;
    margin: 0 0 12px 0;
}

.edgy-qa-author-card {
    font-size: 11px;
    color: #888;
    padding: 8px 10px;
    background: #e1ecf4;
    border-radius: 4px;
    margin-top: 8px;
}

.edgy-qa-rep {
    color: #6a737c;
    font-weight: 700;
}

/* Q&A answers */
.edgy-qa-answer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e3e6e8;
}

.edgy-qa-answer.edgy-qa-accepted {
    border-left: 3px solid #2f6f44;
}

.edgy-qa-check {
    color: #2f6f44;
    font-size: 20px;
    font-weight: 700;
    margin-top: 4px;
}

.edgy-qa-answer-text {
    flex: 1;
    min-width: 0;
}

.edgy-qa-answer-text p {
    font-size: 13px;
    color: #333;
    line-height: 1.7;
    margin: 0 0 12px 0;
}

/* ── Video Site (YourTube) ── */
.edgy-video {
    background: #0f0f0f;
    color: #fff;
    min-height: 100%;
}

.edgy-video-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 16px;
    background: #202020;
    border-bottom: 1px solid #303030;
}

.edgy-video-logo {
    font-size: 18px;
    font-weight: 700;
    color: #ff0000;
}

.edgy-video-tagline {
    font-size: 10px;
    color: #aaa;
}

.edgy-video-section-title {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 16px 8px;
}

.edgy-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 8px 16px 20px;
}

.edgy-video-card {
    cursor: pointer;
    transition: transform 0.15s ease;
}

.edgy-video-card:hover {
    transform: translateY(-2px);
}

.edgy-video-thumb {
    background: #1a1a1a;
    border-radius: 8px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 8px;
}

.edgy-video-thumb-emoji {
    font-size: 32px;
}

.edgy-video-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
}

.edgy-video-info {
    padding: 0 2px;
}

.edgy-video-title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edgy-video-channel {
    font-size: 11px;
    color: #aaa;
}

.edgy-video-views {
    font-size: 10px;
    color: #aaa;
}

/* Video player page */
.edgy-video-player-wrap {
    padding: 16px;
}

.edgy-video-player {
    background: #000;
    border-radius: 8px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    cursor: pointer;
}

.edgy-video-play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    transition: all 0.2s ease;
}

.edgy-video-play-btn:hover {
    background: #ff0000;
    transform: scale(1.1);
}

.edgy-video-player-info h2 {
    font-size: 16px;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.edgy-video-player-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #303030;
}

.edgy-video-player-channel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.edgy-video-subs {
    font-size: 11px;
    color: #aaa;
}

.edgy-video-sub-btn {
    background: #ff0000;
    border: none;
    border-radius: 4px;
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.15s ease;
}

.edgy-video-sub-btn:hover {
    background: #cc0000;
}

.edgy-video-sub-btn.edgy-subscribed {
    background: #555;
}

.edgy-video-player-desc {
    font-size: 12px;
    color: #aaa;
    line-height: 1.6;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 8px;
}

/* Video comments */
.edgy-video-comments {
    padding: 0 16px 20px;
}

.edgy-video-comments-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-top: 12px;
    border-top: 1px solid #303030;
}

.edgy-video-comment {
    padding: 10px 0;
    border-bottom: 1px solid #202020;
}

.edgy-video-comment.edgy-video-pinned {
    background: #1a1a1a;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.edgy-video-pin-badge {
    font-size: 10px;
    color: #aaa;
    margin-bottom: 4px;
    font-weight: 600;
}

.edgy-video-comment-author {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 4px;
    font-weight: 600;
}

.edgy-video-comment-text {
    font-size: 12px;
    color: #f1f1f1;
    line-height: 1.5;
    margin-bottom: 4px;
}

.edgy-video-comment-actions {
    font-size: 11px;
    color: #aaa;
}

/* ── Social Profile (FacePalm) ── */
.edgy-social {
    background: #f0f2f5;
    color: #1c1e21;
    min-height: 100%;
}

.edgy-social-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #dddfe2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.edgy-social-logo {
    font-size: 22px;
    font-weight: 700;
    color: #1877f2;
}

.edgy-social-tagline {
    font-size: 10px;
    color: #888;
}

.edgy-social-privacy {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px 16px;
    margin: 10px 16px;
    border-radius: 8px;
    font-size: 11px;
    color: #856404;
    text-align: center;
    line-height: 1.4;
}

.edgy-social-post {
    background: #fff;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    margin: 10px 16px;
    padding: 14px;
}

.edgy-social-post.edgy-social-ad {
    border-color: #1877f2;
    border-left: 3px solid #1877f2;
}

.edgy-social-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.edgy-social-avatar {
    font-size: 28px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e4e6eb;
    border-radius: 50%;
}

.edgy-social-time {
    font-size: 10px;
    color: #65676b;
}

.edgy-social-post-text {
    font-size: 13px;
    line-height: 1.5;
    color: #1c1e21;
    margin-bottom: 10px;
}

.edgy-social-post-actions {
    display: flex;
    gap: 4px;
    border-top: 1px solid #dddfe2;
    padding-top: 8px;
}

.edgy-social-like, .edgy-social-comment-btn, .edgy-social-share {
    flex: 1;
    background: none;
    border: none;
    border-radius: 4px;
    padding: 6px 0;
    font-size: 12px;
    color: #65676b;
    cursor: pointer;
    transition: background 0.15s ease;
    font-weight: 600;
}

.edgy-social-like:hover, .edgy-social-comment-btn:hover, .edgy-social-share:hover {
    background: #f0f2f5;
}

/* ── Professional (LinkedOut) ── */
.edgy-prof {
    background: #f3f2ef;
    color: #1d2226;
    min-height: 100%;
}

.edgy-prof-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #e0dfdc;
}

.edgy-prof-logo {
    font-size: 20px;
    font-weight: 700;
    color: #0a66c2;
}

.edgy-prof-tagline {
    font-size: 10px;
    color: #888;
}

.edgy-prof-premium {
    background: linear-gradient(135deg, #f8e8c8, #f0d4a0);
    border: 1px solid #c4a35a;
    padding: 10px 16px;
    margin: 10px 16px;
    border-radius: 8px;
    font-size: 11px;
    color: #5c4a1e;
    text-align: center;
    font-weight: 600;
}

.edgy-prof-post {
    background: #fff;
    border: 1px solid #e0dfdc;
    border-radius: 8px;
    margin: 8px 16px;
    padding: 14px;
}

.edgy-prof-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.edgy-prof-avatar {
    font-size: 28px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    border-radius: 50%;
}

.edgy-prof-title {
    font-size: 10px;
    color: #666;
}

.edgy-prof-post-text {
    font-size: 13px;
    line-height: 1.6;
    color: #1d2226;
    margin-bottom: 10px;
    white-space: pre-wrap;
}

.edgy-prof-post-actions {
    display: flex;
    gap: 4px;
    border-top: 1px solid #e0dfdc;
    padding-top: 8px;
}

.edgy-prof-like-btn, .edgy-prof-comment-btn {
    flex: 1;
    background: none;
    border: none;
    border-radius: 4px;
    padding: 6px 0;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: background 0.15s ease;
    font-weight: 600;
}

.edgy-prof-like-btn:hover, .edgy-prof-comment-btn:hover {
    background: #f3f2ef;
    color: #0a66c2;
}

/* Notification list */
.edgy-prof-notif-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2226;
    padding: 16px 16px 8px;
}

.edgy-prof-notif {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #e0dfdc;
    transition: background 0.15s ease;
}

.edgy-prof-notif:hover {
    background: #eef3f8;
}

.edgy-prof-notif-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.edgy-prof-notif-body {
    flex: 1;
    min-width: 0;
}

.edgy-prof-notif-text {
    font-size: 12px;
    color: #1d2226;
    line-height: 1.4;
}

.edgy-prof-notif-time {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════
   Per-site theme overrides
   ══════════════════════════════════════════════════ */

/* ── Macrohard — bright Microsoft corporate ── */
.edgy-site-macrohard-com {
    background: #f5f5f5;
}

.edgy-site-macrohard-com .edgy-corporate {
    max-width: 900px;
}

.edgy-site-macrohard-com .edgy-corp-hero {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    padding: 48px 20px 36px;
    border-bottom: 3px solid #0078d4;
    border-radius: 0 0 8px 8px;
    margin-bottom: 28px;
}

.edgy-site-macrohard-com .edgy-corp-hero h1 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 6px;
    font-size: 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.edgy-site-macrohard-com .edgy-corp-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    font-size: 15px;
}

.edgy-site-macrohard-com .edgy-corp-section h2 {
    color: #0078d4;
}

.edgy-site-macrohard-com .edgy-corp-section p {
    color: #444;
}

.edgy-site-macrohard-com .edgy-corp-section-title {
    color: #0078d4;
}

.edgy-site-macrohard-com .edgy-corp-card {
    background: #fff;
    border-color: #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.edgy-site-macrohard-com .edgy-corp-card:hover {
    border-color: #0078d4;
    background: #f0f8ff;
    box-shadow: 0 4px 16px rgba(0, 120, 212, 0.15);
}

.edgy-site-macrohard-com .edgy-corp-card h3 {
    color: #1a1a1a;
}

.edgy-site-macrohard-com .edgy-corp-card p {
    color: #666;
}

/* Windows four-color accents on grid cards */
.edgy-site-macrohard-com .edgy-corp-card:nth-child(1) { border-top: 3px solid #f25022; }
.edgy-site-macrohard-com .edgy-corp-card:nth-child(2) { border-top: 3px solid #7fba00; }
.edgy-site-macrohard-com .edgy-corp-card:nth-child(3) { border-top: 3px solid #00a4ef; }
.edgy-site-macrohard-com .edgy-corp-card:nth-child(4) { border-top: 3px solid #ffb900; }

.edgy-site-macrohard-com .edgy-corp-cta-btn {
    background: linear-gradient(to bottom, #0078d4, #005a9e);
    color: #fff;
}

.edgy-site-macrohard-com .edgy-corp-cta-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 120, 212, 0.35);
}

.edgy-site-macrohard-com .edgy-corp-cta p {
    color: #999;
}

/* Macrohard pricing cards */
.edgy-site-macrohard-com .edgy-corp-pricing-card {
    background: #fff;
    border-color: #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.edgy-site-macrohard-com .edgy-corp-pricing-card.highlight {
    border-color: #0078d4;
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.2);
}

.edgy-site-macrohard-com .edgy-corp-pricing-name {
    color: #1a1a1a;
}

.edgy-site-macrohard-com .edgy-corp-pricing-price {
    color: #0078d4;
}

.edgy-site-macrohard-com .edgy-corp-pricing-feature {
    color: #555;
    border-bottom-color: #eee;
}

.edgy-site-macrohard-com .edgy-corp-pricing-btn {
    background: #0078d4;
    color: #fff;
}

.edgy-site-macrohard-com .edgy-corp-pricing-btn:hover {
    background: #005a9e;
}

/* ── Quora — maroon/red theme ── */
.edgy-site-quora-com .edgy-qa-header {
    background: #b92b27;
}

.edgy-site-quora-com .edgy-qa-signin-btn {
    background: #b92b27;
}

.edgy-site-quora-com .edgy-qa-signin-btn:hover {
    background: #8e2121;
}

.edgy-site-quora-com .edgy-qa-question-title {
    color: #b92b27;
}

.edgy-site-quora-com .edgy-qa-tag {
    background: #fce4ec;
    color: #b92b27;
}

.edgy-site-quora-com .edgy-qa-signin-wall {
    background: #fce4ec;
    border-color: #f5c6cb;
    color: #7a1c1c;
}

.edgy-site-quora-com .edgy-qa-detail-header h1 {
    color: #222;
}

/* ── Dark web market — green terminal aesthetic ── */
.edgy-site-darkweb-market-scallion {
    background: #0a0a0a;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb {
    font-family: "Courier New", monospace;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-banner {
    color: #00ff41;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.3), 0 0 40px rgba(0, 255, 65, 0.1);
    font-family: "Courier New", monospace;
    letter-spacing: 3px;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-warning {
    color: #ffb300;
    background: rgba(255, 179, 0, 0.06);
    border: 1px dashed #ffb300;
    font-family: "Courier New", monospace;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-cat-link {
    background: rgba(0, 255, 65, 0.05);
    border-color: #0a3d0a;
    color: #00ff41;
    font-family: "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-cat-link:hover {
    background: rgba(0, 255, 65, 0.15);
    border-color: #00ff41;
    color: #fff;
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.2);
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-listing-card {
    background: rgba(0, 255, 65, 0.02);
    border-color: #1a3a1a;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-listing-card:hover {
    border-color: #00ff41;
    background: rgba(0, 255, 65, 0.05);
    box-shadow: 0 0 16px rgba(0, 255, 65, 0.1);
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-listing-name {
    color: #00ff41;
    font-family: "Courier New", monospace;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-listing-price {
    color: #76ff03;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-listing-desc {
    color: #6a8f6a;
}

.edgy-site-darkweb-market-scallion .edgy-darkweb-listing-status.in-stock {
    background: rgba(0, 255, 65, 0.1);
    color: #00ff41;
}

/* ── Nexus Systems — dark surveillance theme ── */
.edgy-site-nexussystems-com {
    background: #0d1117;
}

.edgy-site-nexussystems-com .edgy-corp-hero {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    border-bottom: 1px solid #21262d;
    padding: 48px 20px 36px;
}

.edgy-site-nexussystems-com .edgy-corp-hero h1 {
    letter-spacing: 8px;
    font-weight: 200;
    color: #58a6ff;
}

.edgy-site-nexussystems-com .edgy-corp-hero p {
    color: #6e7681;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
}

.edgy-site-nexussystems-com .edgy-corp-section h2 {
    color: #58a6ff;
}

.edgy-site-nexussystems-com .edgy-corp-section p {
    color: #8b949e;
}

.edgy-site-nexussystems-com .edgy-corp-section-title {
    color: #58a6ff;
}

.edgy-site-nexussystems-com .edgy-corp-card {
    background: rgba(22, 27, 34, 0.8);
    border-color: #21262d;
}

.edgy-site-nexussystems-com .edgy-corp-card:hover {
    border-color: #58a6ff;
    background: rgba(88, 166, 255, 0.04);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.08);
}

.edgy-site-nexussystems-com .edgy-corp-card h3 {
    color: #c9d1d9;
}

.edgy-site-nexussystems-com .edgy-corp-card p {
    color: #6e7681;
}

.edgy-site-nexussystems-com .edgy-corp-cta-btn {
    background: linear-gradient(to bottom, #58a6ff, #388bfd);
    color: #0d1117;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
}

.edgy-site-nexussystems-com .edgy-corp-cta-btn:hover {
    box-shadow: 0 0 24px rgba(88, 166, 255, 0.25);
}

.edgy-site-nexussystems-com .edgy-corp-cta p {
    color: #484f58;
}

/* ── Pirate Bae — darker with amber/gold accents ── */
.edgy-site-piratebae-scallion {
    background: #080808;
}

.edgy-site-piratebae-scallion .edgy-pirate-header h1 {
    text-shadow: 0 0 24px rgba(255, 193, 7, 0.3);
}

.edgy-site-piratebae-scallion .edgy-pirate-listing {
    border-color: #2a2000;
}

.edgy-site-piratebae-scallion .edgy-pirate-listing:hover {
    border-color: #ffc107;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.1);
}

.edgy-site-piratebae-scallion .edgy-pirate-cat {
    color: #ffc107;
}

/* ── Reddit — deeper dark with orange glow ── */
.edgy-site-reddit-com {
    background: #030303;
}

.edgy-site-reddit-com .edgy-forum-header {
    background: linear-gradient(180deg, #1a1a1b 0%, #0e0e0f 100%);
    border-bottom: 2px solid #ff4500;
}

.edgy-site-reddit-com .edgy-forum-post:hover {
    border-left-color: #ff4500;
}

/* ── Stack Overflow — keep orange, sharpen identity ── */
.edgy-site-stackoverflow-com .edgy-qa-header {
    background: #f48225;
    border-bottom: 3px solid #da6e14;
}

.edgy-site-stackoverflow-com .edgy-qa-tag {
    background: #e1ecf4;
    color: #39739d;
}
