:root {
    --wb-bg: #f4f6f8;
    --wb-surface: #ffffff;
    --wb-surface-subtle: #eef2f3;
    --wb-text: #17201f;
    --wb-text-secondary: #52605e;
    --wb-text-muted: #7b8785;
    --wb-border: #dce3e2;
    --wb-border-strong: #c7d1cf;
    --wb-primary: #0f766e;
    --wb-primary-hover: #0b5f59;
    --wb-primary-soft: #dff1ee;
    --wb-accent: #b45309;
    --wb-accent-soft: #fff1dc;
    --wb-danger: #b42318;
    --wb-danger-soft: #fee9e7;
    --wb-success: #287a4b;
    --wb-shadow: 0 10px 28px rgba(24, 39, 37, 0.08);
    --wb-shadow-small: 0 4px 14px rgba(24, 39, 37, 0.07);
    --wb-header-height: 64px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--wb-bg);
    color: var(--wb-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.6;
    transition: background-color .2s ease, color .2s ease;
}

body.dark-mode {
    --wb-bg: #111315;
    --wb-surface: #191d1d;
    --wb-surface-subtle: #202525;
    --wb-text: #edf3f1;
    --wb-text-secondary: #adb9b6;
    --wb-text-muted: #7f8d89;
    --wb-border: #303836;
    --wb-border-strong: #414b48;
    --wb-primary: #38a89e;
    --wb-primary-hover: #52beb4;
    --wb-primary-soft: #163c39;
    --wb-accent: #e2a34c;
    --wb-accent-soft: #432f18;
    --wb-danger: #ef756b;
    --wb-danger-soft: #452321;
    --wb-success: #62bd83;
    --wb-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    --wb-shadow-small: 0 5px 16px rgba(0, 0, 0, 0.22);
}

a {
    color: var(--wb-primary);
}

a:hover {
    color: var(--wb-primary-hover);
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--wb-primary) 25%, transparent);
    outline-offset: 2px;
}

.wb-app {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.wb-shell {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.wb-main {
    flex: 1;
    min-width: 0;
    padding: 36px 0 64px;
}

.wb-header {
    position: sticky;
    top: 0;
    z-index: 800;
    height: var(--wb-header-height);
    border-bottom: 1px solid var(--wb-border);
    background: color-mix(in srgb, var(--wb-surface) 94%, transparent);
    backdrop-filter: blur(14px);
}

.wb-header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 36px;
}

.wb-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: var(--wb-text);
    font-size: 16px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.wb-brand:hover {
    color: var(--wb-text);
    text-decoration: none;
}

.wb-brand img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    object-fit: contain;
}

.wb-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
}

.wb-nav a {
    display: inline-flex;
    height: 36px;
    align-items: center;
    padding: 0 12px;
    border-radius: 6px;
    color: var(--wb-text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.wb-nav a:hover {
    background: var(--wb-surface-subtle);
    color: var(--wb-text);
}

.wb-nav a.active {
    background: var(--wb-primary-soft);
    color: var(--wb-primary);
}

.wb-nav-divider {
    width: 1px;
    height: 18px;
    margin: 0 4px;
    background: var(--wb-border);
}

.wb-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.wb-icon-btn {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--wb-border);
    border-radius: 7px;
    background: var(--wb-surface);
    color: var(--wb-text-secondary);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.wb-icon-btn:hover {
    border-color: var(--wb-border-strong);
    background: var(--wb-surface-subtle);
    color: var(--wb-text);
}

.wb-theme-sun,
.dark-mode .wb-theme-moon {
    display: none;
}

.dark-mode .wb-theme-sun {
    display: inline-block;
    color: var(--wb-accent);
}

.wb-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.wb-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.wb-btn-primary {
    background: var(--wb-primary);
    color: #fff;
}

.wb-btn-primary:hover {
    background: var(--wb-primary-hover);
    color: #fff;
}

.wb-btn-quiet {
    border-color: var(--wb-border);
    background: var(--wb-surface);
    color: var(--wb-text-secondary);
}

.wb-btn-quiet:hover {
    border-color: var(--wb-border-strong);
    color: var(--wb-text);
}

.wb-btn-danger {
    border-color: color-mix(in srgb, var(--wb-danger) 30%, var(--wb-border));
    background: var(--wb-danger-soft);
    color: var(--wb-danger);
}

.wb-btn-block {
    width: 100%;
}

.wb-user-menu {
    position: relative;
}

.wb-user-trigger {
    display: flex;
    height: 40px;
    max-width: 180px;
    align-items: center;
    gap: 8px;
    padding: 3px 10px 3px 4px;
    border: 1px solid var(--wb-border);
    border-radius: 7px;
    background: var(--wb-surface);
    color: var(--wb-text);
    cursor: pointer;
}

.wb-user-trigger > i {
    color: var(--wb-text-muted);
    font-size: 9px;
}

.wb-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-avatar {
    display: inline-grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: var(--wb-primary-soft);
    color: var(--wb-primary);
}

.wb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-avatar-lg {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.wb-user-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: 230px;
    padding: 8px;
    border: 1px solid var(--wb-border);
    border-radius: 8px;
    background: var(--wb-surface);
    box-shadow: var(--wb-shadow);
}

.wb-user-menu.is-open .wb-user-popover {
    display: block;
}

.wb-user-summary,
.wb-drawer-user {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px;
}

.wb-user-summary span:last-child,
.wb-drawer-user span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.wb-user-summary strong,
.wb-drawer-user strong {
    overflow: hidden;
    color: var(--wb-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-user-summary small,
.wb-drawer-user small {
    color: var(--wb-text-muted);
}

.wb-user-popover > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    color: var(--wb-danger);
    text-decoration: none;
}

.wb-user-popover > a:hover {
    background: var(--wb-danger-soft);
}

.wb-menu-toggle {
    display: none;
}

.wb-drawer-overlay,
.wb-drawer {
    display: none;
}

.wb-footer {
    border-top: 1px solid var(--wb-border);
    background: var(--wb-surface);
    color: var(--wb-text-muted);
}

.wb-footer-inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}

.wb-footer-code {
    text-align: right;
}

.wb-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 600;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
}

.wb-to-top.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.wb-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.wb-page-heading h1 {
    margin: 3px 0 4px;
    color: var(--wb-text);
    font-size: 28px;
    font-weight: 760;
    line-height: 1.25;
}

.wb-page-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--wb-text-secondary);
}

.wb-eyebrow {
    color: var(--wb-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.wb-search {
    position: relative;
    width: min(560px, 100%);
}

.wb-search > i {
    position: absolute;
    top: 50%;
    left: 16px;
    color: var(--wb-text-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.wb-search input {
    width: 100%;
    height: 48px;
    padding: 0 44px;
    border: 1px solid var(--wb-border-strong);
    border-radius: 8px;
    background: var(--wb-surface);
    color: var(--wb-text);
    box-shadow: var(--wb-shadow-small);
    outline: none;
}

.wb-search input::placeholder {
    color: var(--wb-text-muted);
}

.wb-search input:focus {
    border-color: var(--wb-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wb-primary) 16%, transparent);
}

.wb-search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    display: none;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--wb-text-muted);
    cursor: pointer;
    transform: translateY(-50%);
}

.wb-search.has-value .wb-search-clear {
    display: grid;
}

.wb-home-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
    align-items: center;
    gap: 40px;
    padding: 18px 0 34px;
    border-bottom: 1px solid var(--wb-border);
}

.wb-home-head h1 {
    margin: 0 0 6px;
    color: var(--wb-text);
    font-size: 30px;
    font-weight: 780;
    line-height: 1.25;
}

.wb-home-head p {
    margin: 0;
    color: var(--wb-text-secondary);
}

.wb-home-meta {
    display: flex;
    gap: 18px;
    margin-top: 15px;
    color: var(--wb-text-muted);
    font-size: 12px;
}

.wb-home-meta strong {
    color: var(--wb-text);
}

.wb-home-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 38px;
    margin-top: 30px;
}

.wb-sidebar {
    position: sticky;
    top: calc(var(--wb-header-height) + 24px);
    align-self: start;
}

.wb-sidebar-title {
    margin-bottom: 10px;
    color: var(--wb-text-muted);
    font-size: 11px;
    font-weight: 800;
}

.wb-category-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wb-category-item {
    display: grid;
    width: 100%;
    min-height: 42px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--wb-text-secondary);
    text-align: left;
    cursor: pointer;
}

.wb-category-item:hover {
    background: var(--wb-surface-subtle);
    color: var(--wb-text);
}

.wb-category-item.active {
    background: var(--wb-primary-soft);
    color: var(--wb-primary);
    font-weight: 700;
}

.wb-category-item > i {
    text-align: center;
}

.wb-category-item span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-category-count {
    min-width: 24px;
    color: var(--wb-text-muted);
    font-size: 11px;
    text-align: right;
}

.wb-category-item.active .wb-category-count {
    color: var(--wb-primary);
}

.wb-mobile-categories {
    display: none;
}

.wb-content-column {
    min-width: 0;
}

.wb-section {
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid var(--wb-border);
}

.wb-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.wb-section-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}

.wb-section-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 7px;
    background: var(--wb-primary-soft);
    color: var(--wb-primary);
}

.wb-section-title {
    min-width: 0;
    color: var(--wb-text);
    font-size: 16px;
    font-weight: 750;
}

.wb-section-count {
    color: var(--wb-text-muted);
    font-size: 12px;
}

.wb-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.wb-tool-card {
    display: grid;
    min-width: 0;
    min-height: 78px;
    grid-template-columns: 42px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid var(--wb-border);
    border-radius: 8px;
    background: var(--wb-surface);
    color: var(--wb-text);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wb-tool-card:hover {
    border-color: color-mix(in srgb, var(--wb-primary) 50%, var(--wb-border));
    color: var(--wb-text);
    text-decoration: none;
    box-shadow: var(--wb-shadow-small);
    transform: translateY(-1px);
}

.wb-tool-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: var(--wb-primary-soft);
    color: var(--wb-primary);
    font-size: 17px;
}

.wb-tool-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.wb-tool-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.wb-tool-copy strong,
.wb-tool-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-tool-copy strong {
    color: var(--wb-text);
    font-size: 13px;
    font-weight: 700;
}

.wb-tool-copy small {
    margin-top: 1px;
    color: var(--wb-text-muted);
    font-size: 11px;
}

.wb-tool-status {
    color: var(--wb-text-muted);
    font-size: 10px;
}

.wb-tool-card:hover .wb-tool-status {
    color: var(--wb-primary);
}

.wb-category-lock {
    display: flex;
    grid-column: 1 / -1;
    min-height: 86px;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px dashed var(--wb-border-strong);
    border-radius: 8px;
    background: var(--wb-surface-subtle);
}

.wb-lock-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 7px;
    background: var(--wb-accent-soft);
    color: var(--wb-accent);
}

.wb-lock-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.wb-lock-copy strong {
    color: var(--wb-text);
}

.wb-lock-copy small {
    color: var(--wb-text-muted);
}

.wb-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wb-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid var(--wb-border);
    border-radius: 7px;
    background: var(--wb-surface);
    color: var(--wb-text-secondary);
    font-size: 12px;
    text-decoration: none;
}

.wb-link:hover {
    border-color: var(--wb-primary);
    color: var(--wb-primary);
    text-decoration: none;
}

.wb-list-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 38px;
}

.wb-list-panel {
    min-width: 0;
}

.wb-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.wb-list-toolbar strong {
    font-size: 16px;
}

.wb-empty {
    display: flex;
    min-height: 250px;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 36px;
    color: var(--wb-text-muted);
    text-align: center;
}

.wb-empty-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 13px;
    border-radius: 8px;
    background: var(--wb-surface-subtle);
    color: var(--wb-primary);
    font-size: 21px;
}

.wb-empty strong {
    color: var(--wb-text);
}

.wb-empty p {
    margin: 4px 0 0;
}

.wb-feedback-layout {
    display: grid;
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.wb-panel {
    border: 1px solid var(--wb-border);
    border-radius: 8px;
    background: var(--wb-surface);
}

.wb-panel-head {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--wb-border);
}

.wb-panel-head strong {
    color: var(--wb-text);
}

.wb-panel-head small {
    display: block;
    color: var(--wb-text-muted);
}

.wb-panel-body {
    padding: 18px;
}

.wb-form-group {
    margin-bottom: 16px;
}

.wb-form-label {
    display: block;
    margin-bottom: 6px;
    color: var(--wb-text-secondary);
    font-size: 12px;
    font-weight: 700;
}

.wb-required {
    margin-left: 3px;
    color: var(--wb-danger);
}

.wb-input,
.wb-textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--wb-border-strong);
    border-radius: 7px;
    background: var(--wb-bg);
    color: var(--wb-text);
    outline: none;
}

.wb-input {
    height: 42px;
    padding: 0 12px;
}

.wb-textarea {
    min-height: 126px;
    padding: 10px 12px;
    resize: vertical;
}

.wb-input:focus,
.wb-textarea:focus {
    border-color: var(--wb-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wb-primary) 14%, transparent);
}

.wb-input::placeholder,
.wb-textarea::placeholder {
    color: var(--wb-text-muted);
}

.wb-form-note {
    margin: 12px 0 0;
    color: var(--wb-text-muted);
    font-size: 12px;
}

.wb-comment-list {
    min-height: 260px;
}

.wb-comment {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 0;
    border-bottom: 1px solid var(--wb-border);
}

.wb-comment:first-child {
    padding-top: 0;
}

.wb-comment:last-child {
    border-bottom: 0;
}

.wb-comment-avatar {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--wb-surface-subtle);
}

.wb-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-comment-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

.wb-comment-name {
    color: var(--wb-text);
    font-weight: 700;
}

.wb-comment-time {
    color: var(--wb-text-muted);
    font-size: 11px;
    white-space: nowrap;
}

.wb-comment-content {
    margin-top: 5px;
    color: var(--wb-text-secondary);
    overflow-wrap: anywhere;
}

.wb-comment-reply {
    margin-top: 10px;
    padding: 9px 11px;
    border-left: 3px solid var(--wb-primary);
    border-radius: 0 6px 6px 0;
    background: var(--wb-primary-soft);
    color: var(--wb-text-secondary);
}

.wb-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 16px 0 0;
    margin: 0;
    list-style: none;
}

.wb-pagination a,
.wb-pagination span {
    display: inline-grid;
    min-width: 34px;
    height: 34px;
    place-items: center;
    padding: 0 9px;
    border: 1px solid var(--wb-border);
    border-radius: 6px;
    background: var(--wb-surface);
    color: var(--wb-text-secondary);
    text-decoration: none;
}

.wb-pagination .active span {
    border-color: var(--wb-primary);
    background: var(--wb-primary);
    color: #fff;
}

.wb-pagination .disabled span {
    color: var(--wb-text-muted);
    opacity: .65;
}

.wb-auth-wrap {
    display: grid;
    min-height: calc(100vh - var(--wb-header-height) - 175px);
    place-items: center;
    padding: 30px 0;
}

.wb-auth-panel {
    width: min(420px, calc(100% - 32px));
    padding: 30px;
    border: 1px solid var(--wb-border);
    border-radius: 8px;
    background: var(--wb-surface);
    box-shadow: var(--wb-shadow);
    text-align: center;
}

.wb-auth-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 8px;
    background: var(--wb-primary-soft);
    color: var(--wb-primary);
    font-size: 23px;
}

.wb-auth-panel h1 {
    margin: 0 0 6px;
    color: var(--wb-text);
    font-size: 23px;
}

.wb-auth-panel > p {
    margin: 0 0 24px;
    color: var(--wb-text-muted);
}

.wb-auth-options {
    display: grid;
    gap: 10px;
}

.wb-auth-provider {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--wb-border);
    border-radius: 7px;
    background: var(--wb-bg);
    color: var(--wb-text);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.wb-auth-provider:hover {
    border-color: var(--wb-primary);
    color: var(--wb-primary);
    text-decoration: none;
}

.wb-auth-provider.qq i {
    color: #168bce;
}

.wb-auth-provider.wechat i {
    color: #2c9b54;
}

.wb-auth-back {
    margin-top: 18px;
}

.wb-qr {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.wb-qr img {
    max-width: 180px;
    border: 8px solid #fff;
    border-radius: 7px;
}

.wb-plugin-main {
    padding-top: 28px;
}

.wb-plugin-heading {
    align-items: center;
}

.wb-plugin-heading h1 {
    font-size: 24px;
}

.wb-plugin-content {
    min-width: 0;
}

.wb-plugin-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 26px 0 8px;
}

.wb-plugin-content .container-xl,
.wb-plugin-content .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.wb-plugin-content .center-block {
    float: none;
    margin-right: auto;
    margin-left: auto;
}

.wb-plugin-content .card {
    border-color: var(--wb-border);
    border-radius: 8px;
    background: var(--wb-surface);
    color: var(--wb-text);
    box-shadow: none;
}

.wb-plugin-content .card + .card {
    margin-top: 16px;
}

.wb-plugin-content .card-inner {
    padding: 18px;
}

.wb-plugin-content .form-label,
.wb-plugin-content label {
    color: var(--wb-text-secondary);
}

.wb-plugin-content .form-control {
    border-color: var(--wb-border-strong);
    border-radius: 7px;
    background: var(--wb-bg);
    color: var(--wb-text);
}

.wb-plugin-content .form-control:focus {
    border-color: var(--wb-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wb-primary) 14%, transparent);
}

.wb-plugin-content .btn {
    border-radius: 7px;
}

.wb-plugin-content .btn-outline-primary,
.wb-plugin-content .btn-dim.btn-outline-primary {
    border-color: var(--wb-primary);
    color: var(--wb-primary);
}

.wb-plugin-content .btn-outline-primary:hover,
.wb-plugin-content .btn-dim.btn-outline-primary:hover {
    background: var(--wb-primary);
    color: #fff;
}

.wb-plugin-content .btn-outline-light {
    border-color: var(--wb-border-strong);
    color: var(--wb-text-secondary);
}

.wb-plugin-content .table {
    color: var(--wb-text-secondary);
}

.wb-plugin-content .table td,
.wb-plugin-content .table th {
    border-color: var(--wb-border);
}

.wb-plugin-content .alert {
    border-radius: 7px;
}

.dark-mode .wb-plugin-content .alert-info {
    border-color: #24535a;
    background: #18373b;
    color: #9bd6dc;
}

.dark-mode .modal-content {
    border-color: var(--wb-border);
    background: var(--wb-surface);
    color: var(--wb-text);
}

.dark-mode .modal-header,
.dark-mode .modal-footer {
    border-color: var(--wb-border);
}

.dark-mode .close {
    color: var(--wb-text);
    text-shadow: none;
}

.layui-layer {
    overflow: hidden;
    border-radius: 8px !important;
    background: var(--wb-surface) !important;
    color: var(--wb-text) !important;
}

.layui-layer-title {
    border-color: var(--wb-border) !important;
    background: var(--wb-surface-subtle) !important;
    color: var(--wb-text) !important;
}

.layui-layer-btn a {
    border-radius: 6px !important;
}

.layui-layer-btn .layui-layer-btn0 {
    border-color: var(--wb-primary) !important;
    background: var(--wb-primary) !important;
}

@media (max-width: 1180px) {
    .wb-nav a {
        padding: 0 8px;
    }

    .wb-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-home-layout,
    .wb-list-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 920px) {
    .wb-shell {
        width: min(100% - 32px, 1320px);
    }

    .wb-nav,
    .wb-login-btn,
    .wb-user-menu {
        display: none;
    }

    .wb-menu-toggle {
        display: inline-grid;
    }

    .wb-drawer-overlay {
        position: fixed;
        inset: 0;
        z-index: 980;
        display: block;
        visibility: hidden;
        background: rgba(9, 16, 15, .52);
        opacity: 0;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .wb-drawer-overlay.is-open {
        visibility: visible;
        opacity: 1;
    }

    .wb-drawer {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 990;
        display: flex;
        width: min(340px, 88vw);
        flex-direction: column;
        border-left: 1px solid var(--wb-border);
        background: var(--wb-surface);
        box-shadow: var(--wb-shadow);
        transform: translateX(105%);
        transition: transform .22s ease;
    }

    .wb-drawer.is-open {
        transform: translateX(0);
    }

    .wb-drawer-open {
        overflow: hidden;
    }

    .wb-drawer-head {
        display: flex;
        min-height: var(--wb-header-height);
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 16px;
        border-bottom: 1px solid var(--wb-border);
    }

    .wb-drawer-nav {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 4px;
        overflow-y: auto;
        padding: 16px;
    }

    .wb-drawer-nav a {
        display: flex;
        min-height: 44px;
        align-items: center;
        gap: 12px;
        padding: 9px 12px;
        border-radius: 7px;
        color: var(--wb-text-secondary);
        text-decoration: none;
    }

    .wb-drawer-nav a i {
        width: 20px;
        color: var(--wb-text-muted);
        text-align: center;
    }

    .wb-drawer-nav a.active {
        background: var(--wb-primary-soft);
        color: var(--wb-primary);
        font-weight: 700;
    }

    .wb-drawer-nav a.active i {
        color: var(--wb-primary);
    }

    .wb-drawer-label {
        padding: 16px 12px 4px;
        color: var(--wb-text-muted);
        font-size: 11px;
        font-weight: 800;
    }

    .wb-drawer-foot {
        padding: 14px 16px 18px;
        border-top: 1px solid var(--wb-border);
    }

    .wb-home-head {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .wb-home-layout,
    .wb-list-layout {
        display: block;
    }

    .wb-sidebar {
        display: none;
    }

    .wb-mobile-categories {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        padding: 0 0 14px;
        margin-bottom: 20px;
        scrollbar-width: none;
    }

    .wb-mobile-categories::-webkit-scrollbar {
        display: none;
    }

    .wb-mobile-cat {
        display: inline-flex;
        height: 36px;
        flex: 0 0 auto;
        align-items: center;
        gap: 7px;
        padding: 0 12px;
        border: 1px solid var(--wb-border);
        border-radius: 7px;
        background: var(--wb-surface);
        color: var(--wb-text-secondary);
        cursor: pointer;
    }

    .wb-mobile-cat.active {
        border-color: var(--wb-primary);
        background: var(--wb-primary-soft);
        color: var(--wb-primary);
        font-weight: 700;
    }

    .wb-feedback-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .wb-shell {
        width: min(100% - 24px, 1320px);
    }

    .wb-main {
        padding: 24px 0 44px;
    }

    .wb-brand span {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wb-home-head {
        padding: 6px 0 26px;
    }

    .wb-home-head h1 {
        font-size: 25px;
    }

    .wb-home-meta {
        gap: 12px;
    }

    .wb-tool-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .wb-home-layout {
        margin-top: 22px;
    }

    .wb-section {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .wb-category-lock {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .wb-category-lock .wb-btn {
        width: 100%;
    }

    .wb-page-heading {
        display: block;
        margin-bottom: 20px;
    }

    .wb-page-heading h1 {
        font-size: 24px;
    }

    .wb-page-heading .wb-search,
    .wb-page-heading > .wb-btn {
        margin-top: 16px;
    }

    .wb-list-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .wb-list-toolbar .wb-btn {
        width: 100%;
    }

    .wb-panel-body,
    .wb-auth-panel {
        padding: 16px;
    }

    .wb-auth-panel {
        width: calc(100% - 24px);
    }

    .wb-comment {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .wb-comment-avatar {
        width: 34px;
        height: 34px;
    }

    .wb-comment-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 1px;
    }

    .wb-plugin-heading .wb-btn {
        display: none;
    }

    .wb-plugin-actions {
        flex-direction: column;
    }

    .wb-plugin-actions .wb-btn {
        width: 100%;
    }

    .wb-footer-inner {
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 18px 0;
    }

    .wb-footer-code {
        text-align: left;
    }

    .wb-to-top {
        right: 14px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.wb-btn:disabled,
.wb-auth-provider:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

.wb-feedback-form {
    position: sticky;
    top: calc(var(--wb-header-height) + 24px);
}

.wb-pending {
    display: inline-flex;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 5px;
    background: var(--wb-accent-soft);
    color: var(--wb-accent);
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
}

.wb-unlock-dialog {
    padding: 22px;
}

.wb-unlock-dialog p {
    margin: 0 0 12px;
    color: var(--wb-text-secondary);
}

.wb-unlock-dialog > div {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.wb-auth-options .wb-empty {
    min-height: 130px;
    padding: 18px;
}

.wb-qr .alert {
    width: 100%;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--wb-success) 35%, var(--wb-border));
    border-radius: 7px;
    background: color-mix(in srgb, var(--wb-success) 12%, var(--wb-surface));
    color: var(--wb-success);
}

.wb-qr .preview-icon-wrap {
    margin-bottom: 6px;
    font-size: 24px;
}

.wb-redirect-wrap {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.wb-redirect-panel {
    width: min(400px, 100%);
    padding: 34px;
    border: 1px solid var(--wb-border);
    border-radius: 8px;
    background: var(--wb-surface);
    box-shadow: var(--wb-shadow);
    text-align: center;
}

.wb-redirect-panel > img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
}

.wb-redirect-panel h1 {
    margin: 8px 0 5px;
    color: var(--wb-text);
    font-size: 21px;
}

.wb-redirect-panel p {
    margin: 0 0 20px;
    color: var(--wb-text-muted);
}

.wb-redirect-loader {
    display: flex;
    height: 28px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
}

.wb-redirect-loader i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wb-primary);
    animation: wb-loader 1s ease-in-out infinite;
}

.wb-redirect-loader i:nth-child(2) {
    animation-delay: .12s;
}

.wb-redirect-loader i:nth-child(3) {
    animation-delay: .24s;
}

@keyframes wb-loader {
    0%, 100% { opacity: .35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

.wb-plugin-content .nya-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid var(--wb-primary);
    color: var(--wb-text);
    font-size: 14px;
    font-weight: 700;
}

.wb-plugin-content .progress-rating,
.wb-plugin-content .form-control-wrap {
    position: relative;
}

.wb-plugin-content .preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.wb-plugin-content .preview-item {
    display: inline-block;
}

.wb-plugin-content .preview-icon-wrap .ni {
    font-size: 26px;
}

.wb-plugin-content .btn-dim {
    background: var(--wb-surface-subtle);
}

.wb-plugin-content .input-group-text {
    border-color: var(--wb-border-strong);
    background: var(--wb-surface-subtle);
    color: var(--wb-text-secondary);
}

.dark-mode .wb-plugin-content .table-hover tbody tr:hover {
    background: var(--wb-surface-subtle);
    color: var(--wb-text);
}

@media (max-width: 920px) {
    .wb-feedback-form {
        position: static;
    }
}

/* Clearly labeled, first-party promotional placements for the site network. */
.wb-nav-sponsor {
    gap: 6px;
    background: color-mix(in srgb, var(--wb-accent-soft) 68%, var(--wb-surface));
    color: var(--wb-accent) !important;
}

.wb-sponsor-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 14px 16px;
    margin-top: 18px;
    border: 1px solid color-mix(in srgb, var(--wb-primary) 24%, var(--wb-border));
    border-radius: 8px;
    background: color-mix(in srgb, var(--wb-primary-soft) 44%, var(--wb-surface));
    color: var(--wb-text);
    text-decoration: none;
}

.wb-sponsor-banner:hover {
    border-color: color-mix(in srgb, var(--wb-primary) 48%, var(--wb-border));
    color: var(--wb-text);
    text-decoration: none;
}

.wb-sponsor-mark,
.wb-sponsor-inline-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 7px;
    background: var(--wb-primary);
    color: #fff;
}

.wb-sponsor-copy {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.wb-sponsor-copy small,
.wb-sponsor-inline-copy small {
    color: var(--wb-accent);
    font-size: 10px;
    font-weight: 800;
}

.wb-sponsor-copy strong {
    color: var(--wb-text);
    font-size: 16px;
    line-height: 1.35;
}

.wb-sponsor-copy em {
    overflow: hidden;
    color: var(--wb-text-secondary);
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-sponsor-cta,
.wb-sponsor-inline-cta {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid color-mix(in srgb, var(--wb-primary) 30%, var(--wb-border));
    border-radius: 7px;
    background: var(--wb-surface);
    color: var(--wb-primary);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.wb-sponsor-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 11px 13px;
    margin: -8px 0 22px;
    border: 1px solid color-mix(in srgb, var(--wb-primary) 22%, var(--wb-border));
    border-radius: 8px;
    background: color-mix(in srgb, var(--wb-primary-soft) 36%, var(--wb-surface));
    color: var(--wb-text);
    text-decoration: none;
}

.wb-sponsor-inline:hover {
    border-color: color-mix(in srgb, var(--wb-primary) 46%, var(--wb-border));
    color: var(--wb-text);
    text-decoration: none;
}

.wb-sponsor-inline-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
}

.wb-sponsor-inline-copy {
    display: grid;
    min-width: 0;
    flex: 1;
}

.wb-sponsor-inline-copy strong {
    overflow: hidden;
    color: var(--wb-text);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-sponsor-inline-cta {
    min-height: 34px;
}

.wb-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.wb-footer-links a {
    color: var(--wb-text-secondary);
    text-decoration: none;
}

.wb-footer-links a:first-child {
    color: var(--wb-primary);
    font-weight: 700;
}

@media (max-width: 920px) {
    .wb-sponsor-banner {
        margin-top: 16px;
    }
}

@media (max-width: 640px) {
    .wb-sponsor-banner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .wb-sponsor-copy strong {
        font-size: 14px;
    }

    .wb-sponsor-copy em {
        white-space: normal;
    }

    .wb-sponsor-cta {
        grid-column: 2;
        justify-self: start;
        min-height: 32px;
    }

    .wb-sponsor-inline {
        align-items: flex-start;
        flex-wrap: wrap;
        margin-top: -4px;
    }

    .wb-sponsor-inline-copy {
        width: calc(100% - 50px);
        flex: 0 0 calc(100% - 50px);
    }

    .wb-sponsor-inline-copy strong {
        overflow: visible;
        white-space: normal;
    }

    .wb-sponsor-inline-cta {
        width: 100%;
    }

    .wb-footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}
