.theme-warframe {
    --bg: #0b141c;
    --panel: #121f29;
    --line: #2b3d46;
    --text: #e3e9e8;
    --muted: #9cafb6;
    --accent: #dfc28b;
    --wf-cyan: #87d8dd;
    background: radial-gradient(ellipse at 95% 0%, #1f343e 0, transparent 40rem),
                radial-gradient(ellipse at 25% 35rem, #14252c 0, transparent 45rem), var(--bg);
    background-attachment: fixed;
}
.theme-warframe .product-navigation { background: #0c171f; border-color: #36444a; }
.theme-warframe .primary-rail { background: #091219; border-color: #293a43; }
.theme-warframe .rail-brand span, .theme-warframe .brand .muted { color: var(--accent); }
.theme-warframe .rail-button[aria-current="true"] { background: #dfc28b14; color: var(--accent); border-color: #8e7951; }
.theme-warframe .rail-button:hover { background: #19303b; }
.theme-warframe .side-nav a[aria-current="page"] { background: linear-gradient(90deg, #dfc28b24, #dfc28b08); border-left: 2px solid var(--accent); color: #f1dbb1; }
.theme-warframe .context-heading { color: #e9d7b4; font-weight: 500; letter-spacing: .08em; }
.theme-warframe .nav-label { color: #aebeC4; }
.theme-warframe .mobile-menu-toggle { background: #0c171f; }
.theme-warframe .page-notes, .theme-warframe .shell > footer { border-color: #38474b; }
.theme-warframe .page-notes a { color: var(--accent); }
.theme-warframe .button { border: 1px solid #d9bd85; border-radius: 2px; background: #dfc28b; color: #111b22; font-weight: 600; }
.theme-warframe .button:hover { background: #f0d8a8; border-color: #f0d8a8; }
.theme-warframe :is(a, button, input, select, summary, [tabindex]):focus-visible { outline-color: var(--wf-cyan); }
.wf-today { max-width: 1280px; margin: 0 auto; }
.wf-today section { margin-top: 34px; scroll-margin-top: 20px; }
.theme-warframe .wf-heading {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    gap: 28px; min-height: 220px; margin-bottom: 26px; padding: 34px 38px;
    border: 1px solid #7a72524d; border-top-color: #aa9463; border-radius: 2px;
    background: linear-gradient(110deg, #1c2c35ed, #111e28b8),
                repeating-linear-gradient(135deg, transparent 0 22px, #dfc28b05 22px 23px);
}
.wf-heading::before { content: ''; position: absolute; left: -1px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(transparent, #dfc28b, transparent); }
.wf-heading::after { content: ''; position: absolute; right: 18px; top: 50%; width: 128px; height: 128px; border: 1px solid #dfc28b26; border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.wf-heading > div { min-width: 0; position: relative; z-index: 1; }
.theme-warframe .wf-heading .eyebrow { color: var(--accent); font-size: 10px; letter-spacing: .25em; margin-bottom: 14px; }
.theme-warframe .wf-heading h1 { font-family: Bahnschrift, 'Segoe UI', sans-serif; font-size: clamp(30px, 3.8vw, 46px); font-weight: 400; letter-spacing: .055em; line-height: 1.18; text-transform: uppercase; }
.wf-heading .muted { max-width: 660px; margin-bottom: 0; font-size: 14px; }
.wf-heading-logo { position: relative; z-index: 1; width: 88px; height: 88px; opacity: .9; filter: brightness(0) invert(1) drop-shadow(0 0 18px #87d8dd30); flex-shrink: 0; }
.wf-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.wf-refresh { margin-left: auto; }
.wf-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.wf-jump a { padding: 7px 11px; border: 1px solid #3b5058; border-radius: 2px; background: #0b171f99; color: #c7d5d8; }
.wf-jump a:hover { border-color: var(--accent); color: var(--accent); background: #dfc28b0c; }
.wf-today .section-head { padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid #3b4b4c; }
.wf-today .section-head h2 { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.wf-today .section-head h2::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; border: 1px solid var(--accent); transform: rotate(45deg); }
.wf-cycle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wf-today .chart-panel { position: relative; margin: 0; min-width: 0; padding: 22px; border: 1px solid #324650; border-radius: 2px; background: linear-gradient(135deg, #172832, #101e27); box-shadow: 0 5px 20px #00000012; }
.wf-today .chart-panel::before { content: ''; position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-top: 1px solid #b79e6b; border-right: 1px solid #b79e6b; pointer-events: none; }
.wf-today h3 { font-size: 17px; margin: 0 0 10px; overflow-wrap: anywhere; }
.wf-today .eyebrow { color: var(--accent); }
.wf-today .tag { border-radius: 2px; border: 1px solid #a18b5c66; background: #dfc28b0b; color: #e5cea4; }
.wf-cycle h3 { color: #adbec3; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; }
.wf-cycle-state { font-family: Bahnschrift, 'Segoe UI', sans-serif; font-size: 28px; font-weight: 400; color: #e7d4ae; margin: 16px 0 22px; }
.wf-deadline { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.wf-deadline > span { color: var(--wf-cyan); font-variant-numeric: tabular-nums; }
.wf-deadline time { color: var(--muted); font-size: 11px; }
.wf-card-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.wf-card-heading h3 { margin-top: 14px; }
.wf-mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wf-mission-list { padding-left: 22px; margin: 24px 0 0; }
.wf-mission-list li { padding-left: 6px; margin-top: 18px; font-size: 13px; }
.wf-mission-list li > * { display: block; margin-bottom: 5px; }
.wf-challenge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wf-today .wf-challenge { display: flex; flex-direction: column; gap: 14px; }
.wf-challenge h3, .wf-challenge p { margin: 0; }
.wf-challenge p { font-size: 13px; }
.wf-challenge .wf-deadline { margin-top: auto; }
.wf-standing { color: var(--wf-cyan); font-size: 12px; }
.wf-today .wf-table-wrap { overflow-x: auto; padding: 0; margin-top: 20px; }
.wf-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.wf-table th { color: #cbb989; background: #0e1b24; font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.wf-table th, .wf-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wf-table tr:last-child td { border-bottom: 0; }
.wf-table tbody tr:nth-child(even) { background: #bedde603; }
.wf-table tbody tr:hover { background: #87d8dd0a; }
.wf-cell-detail { display: block; margin-top: 5px; color: var(--muted); }
.wf-rewards { font-size: 13px; margin: 20px 0; }
.wf-rewards > div { margin: 12px 0; }
.wf-rewards dt { color: var(--muted); margin-bottom: 5px; }
.wf-rewards dd { margin: 0; overflow-wrap: anywhere; }
.wf-today progress { display: block; width: 100%; height: 5px; margin: 10px 0 18px; accent-color: var(--accent); }
.wf-empty { padding: 20px 0; font-size: 13px; }
.wf-today [hidden] { display: none !important; }
.wf-drop-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin: 26px 0; padding: 24px; border: 1px solid #3d5058; border-top-color: #756b50; border-radius: 2px; background: #111f29d9; }
.wf-drop-filters label { display: flex; flex: 1 1 140px; min-width: 0; flex-direction: column; gap: 8px; color: #adbec3; font-size: 11px; letter-spacing: .035em; }
.wf-drop-filters .wf-drop-query { flex-basis: 280px; }
.wf-drop-filters input, .wf-drop-filters select { width: 100%; min-width: 0; border: 1px solid #3b515d; border-radius: 2px; background: #0b1720; color: var(--text); font-size: 13px; }
.wf-drop-filters input::placeholder { color: #869ba6; }
.wf-drop-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-warframe .wf-drop-actions a.button { color: var(--accent); background: transparent; border-color: #7b7259; }
.theme-warframe .wf-drop-actions a.button:hover { color: #fae7c4; background: #dfc28b0a; }
.wf-drop-table { min-width: 700px; }
.wf-drop-table td { overflow-wrap: anywhere; }
.wf-drop-table td:first-child { font-weight: 600; width: 28%; }
.wf-drop-table td:nth-child(2) { width: 36%; }
.wf-drop-table td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wf-drop-table td:nth-child(2) { color: #bdcdd2; }
.wf-rarity { display: inline-block; padding: 2px 7px; border: 1px solid #52646b; border-radius: 2px; color: #a5bac2; font-size: 11px; white-space: nowrap; }
.wf-rarity[data-rarity="uncommon"] { color: #d9cba5; border-color: #746b51; }
.wf-rarity[data-rarity="rare"] { color: #94dbe0; border-color: #427079; }
.wf-rarity[data-rarity="legendary"] { color: #f2dfb0; border-color: #b99a5d; background: #dfc28b09; }
.wf-rotation-help { cursor: help; text-decoration: underline dotted; text-underline-offset: 4px; }
.wf-drop-pagination { flex-wrap: wrap; gap: 12px; }
.wf-drop-loader { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 0; }
.wf-back-to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 20; min-width: 64px; min-height: 44px; box-shadow: 0 3px 14px #0006; }
.wf-back-to-top[hidden] { display: none !important; }
.wf-alert-fields, .wf-fissure-filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin: 16px 0; }
.wf-alert-fields label, .wf-fissure-filters label { display: flex; flex: 1 1 180px; flex-direction: column; gap: 6px; min-width: 0; }
.wf-alert-fields input, .wf-alert-fields select, .wf-fissure-filters select { width: 100%; min-height: 44px; max-width: 100%; }
.wf-alerts section, .wf-saved-alert { margin-bottom: 24px; }
.wf-alerts { max-width: 1280px; min-width: 0; margin: 0 auto; }
.wf-alerts .chart-panel { min-width: 0; }
.wf-alerts .wf-table-wrap { max-width: 100%; overflow-x: auto; padding: 0; }
.wf-alerts h3, .wf-alerts td { overflow-wrap: anywhere; }
.wf-alert-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.wf-alerts summary, .wf-today summary { cursor: pointer; padding: 12px 0; }
.wf-alerts .page-head { display: block; }
@media (max-width: 1100px) { .wf-cycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .wf-mission-grid, .wf-challenge-grid { grid-template-columns: minmax(0, 1fr); }
    .wf-cycle-state { font-size: 20px; }
    .wf-today .chart-panel { padding: 16px; }
    .wf-today .wf-table-wrap { padding: 0; }
    .wf-table { min-width: 540px; }
    .wf-heading-logo { width: 44px; height: 44px; }
    .theme-warframe .wf-heading { min-height: 190px; padding: 24px 20px; gap: 14px; align-items: flex-start; }
    .wf-heading::after { width: 68px; height: 68px; right: 7px; top: 46px; }
    .theme-warframe .wf-heading .eyebrow { font-size: 9px; letter-spacing: .15em; }
    .theme-warframe .wf-heading h1 { font-size: 30px; letter-spacing: .03em; }
    .wf-heading .muted { font-size: 12px; }
    .wf-today .section-head { flex-wrap: wrap; gap: 8px; }
    .wf-drop-filters label, .wf-drop-filters .wf-drop-query { flex-basis: 100%; }
    .wf-drop-filters { padding: 18px; }
    .wf-drops .wf-drop-table { min-width: 700px; }
}
