/* Editorial compositions using only approved Brawlpedia tokens and dimensions. */
body {overflow-x:visible;} img {max-width:100%;height:auto;} figure {margin:0;} button {cursor:pointer;} [hidden] {display:none!important;} main {min-width:0;} main:focus {outline:none;}
.screen-reader-text {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.skip-link:focus {position:fixed;top:8px;left:8px;z-index:100;width:auto;height:auto;clip:auto;padding:12px 16px;border-radius:var(--radius-lg);background:hsl(var(--primary));color:hsl(var(--primary-foreground));}
.bb-icon {width:16px;height:16px;flex-shrink:0;} .bp-logo__tile {color:hsl(var(--secondary));} .bp-logo__text {max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.bb-brand {flex-shrink:0;min-width:0;max-width:50%;} .custom-logo {max-height:36px;width:auto;max-width:200px;object-fit:contain;} .bb-desktop-nav {display:none;min-width:0;} .bb-menu {padding:0;margin:0;list-style:none;} .bb-menu li {position:relative;list-style:none;} .bb-menu a {display:block;font-size:14px;font-weight:500;padding:6px 12px;border-radius:var(--radius-lg);color:hsl(var(--foreground)/.7);overflow-wrap:anywhere;}
.bb-menu a:hover,.bb-menu a:focus-visible {background:hsl(var(--muted));color:hsl(var(--foreground));} .bb-menu .current-menu-item>a,.bb-menu .current-menu-ancestor>a,.bb-menu .current_page_item>a {color:hsl(var(--primary));}
.bb-menu .sub-menu,.bb-menu .children {margin:0;padding:4px 0 4px 12px;list-style:none;} .bb-menu-toggle {margin-left:0;} .bb-theme-toggle {margin-left:auto;} .bb-mobile-inner {padding-top:12px;padding-bottom:12px;display:grid;gap:12px;} .bb-mobile-menu {border-top:1px solid hsl(var(--border));} .bb-mobile-menu .bb-menu {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;} .bb-mobile-menu .sub-menu,.bb-mobile-menu .children {grid-column:1/-1;}
.bb-menu-toggle,.bb-theme-toggle {display:none;} .bb-js .bb-menu-toggle,.bb-js .bb-theme-toggle {display:inline-flex;}
.bb-search-form {display:flex;width:100%;position:relative;} .bb-search-form .bp-input {padding:0 40px 0 12px;} .bb-search-submit {position:absolute;right:1px;top:1px;bottom:1px;width:38px;background:transparent;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;color:hsl(var(--muted-foreground));} .bb-search-submit:hover {color:hsl(var(--primary));} .bp-header__search {display:none;} .bb-search-panel {padding:12px;margin-bottom:20px;}
.bb-hero-grid {display:grid;gap:16px;} .bb-hero {position:relative;overflow:hidden;padding:24px;} .bb-hero>*:not(.bb-hero-decoration) {position:relative;} .bb-hero-decoration {position:absolute;right:-24px;top:-48px;width:160px;height:160px;background:hsl(var(--secondary)/.3);transform:rotate(25deg);border-radius:var(--radius-xl);}
.bb-tag {display:inline-block;border-radius:var(--radius-md);padding:2px 8px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:hsl(var(--secondary)/.3);color:hsl(var(--secondary-foreground));}
.bb-hero h1 {margin-top:16px;max-width:640px;} .bb-hero>p {font-size:16px;line-height:1.625;color:hsl(var(--muted-foreground));margin-top:12px;max-width:640px;} .bb-hero>.bp-btn {margin-top:20px;} .bb-featured {padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0;} .bb-featured-title {font-size:20px;line-height:28px;font-weight:700;} .bb-featured .bb-text-link {margin-top:auto;padding-top:16px;} .bb-text-link {display:inline-flex;gap:8px;align-items:center;color:hsl(var(--primary));font-size:14px;font-weight:600;}
.bb-section {margin-top:32px;scroll-margin-top:80px;} .bb-topic-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;} .bb-topic {display:flex;gap:12px;align-items:center;padding:16px;min-width:0;} .bb-topic strong {font:600 14px/20px var(--font-display);display:block;overflow-wrap:anywhere;} .bb-topic small {display:block;color:hsl(var(--muted-foreground));font-size:11px;line-height:16.5px;margin-top:4px;} .bb-topic-bar {background:hsl(var(--primary));width:6px;height:32px;border-radius:9999px;flex-shrink:0;}
.bb-post-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:16px;} .bb-post-card {overflow:hidden;min-width:0;} .bb-card-media {display:block;aspect-ratio:16/9;background:hsl(var(--muted));overflow:hidden;} .bb-card-media img {width:100%;height:100%;object-fit:cover;transition:transform .3s;} .bb-post-card:hover .bb-card-media img {transform:scale(1.04);} .bb-image-fallback {display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:linear-gradient(160deg,hsl(var(--primary)/.1),hsl(var(--muted)));color:hsl(var(--primary)/.5);} .bb-image-fallback svg {width:40px;height:40px;}
.bb-card-content {padding:16px;} .bb-card-title {font:600 18px/28px var(--font-display);margin:8px 0;overflow-wrap:anywhere;} .bb-card-title a:hover,.bb-featured-title a:hover {color:hsl(var(--primary));} .bb-categories {display:flex;flex-wrap:wrap;gap:6px;font-size:11px;line-height:16.5px;font-weight:600;color:hsl(var(--primary));} .bb-categories a {background:hsl(var(--primary)/.1);padding:2px 6px;border-radius:var(--radius-md);} .bb-meta {display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;line-height:16px;color:hsl(var(--muted-foreground));} .bb-card-excerpt {margin-top:12px;font-size:14px;line-height:1.625;color:hsl(var(--foreground)/.8);} .bb-label {font-size:11px;line-height:16.5px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted-foreground));}
.bb-archive-description {color:hsl(var(--muted-foreground));font-size:14px;line-height:1.625;margin-top:8px;} .bb-archive-description a {color:hsl(var(--primary));text-decoration:underline;} .bb-with-sidebar {display:grid;gap:32px;} .bb-with-sidebar>div,.bb-main-column {min-width:0;} .bb-sidebar {display:grid;align-content:start;gap:24px;} .widget {padding:16px;overflow-wrap:anywhere;} .widget h2 {margin-bottom:12px;} .widget ul {padding-left:20px;font-size:14px;line-height:1.625;} .widget a:hover {color:hsl(var(--primary));}
.bb-entry-header {margin-bottom:20px;} .bb-entry-header h1 {margin-top:8px;overflow-wrap:anywhere;} .bb-entry-header .bb-meta {margin-top:12px;} .bb-featured-image {margin:0 0 24px;border-radius:var(--radius-xl);overflow:hidden;background:hsl(var(--muted));} .bb-featured-image img {display:block;width:100%;height:auto;} .entry-content {font-size:15px;line-height:1.625;color:hsl(var(--foreground)/.8);display:flow-root;overflow-wrap:anywhere;}
.entry-content>* {margin-top:0;margin-bottom:16px;} .entry-content>:last-child {margin-bottom:0;} .entry-content :is(h1,h2,h3,h4,h5,h6) {color:hsl(var(--foreground));scroll-margin-top:80px;margin-top:32px;margin-bottom:12px;font-family:var(--font-display);font-weight:600;} .entry-content h2 {font-size:20px;line-height:28px;} .entry-content h3 {font-size:18px;line-height:28px;} .entry-content h4 {font-size:16px;} .entry-content a:not(.wp-element-button) {color:hsl(var(--primary));text-decoration:underline;text-underline-offset:3px;} .entry-content :is(ul,ol) {padding-left:24px;} .entry-content li {margin:6px 0;} .entry-content li::marker {color:hsl(var(--primary));}
.entry-content blockquote {margin:24px 0;border-left:4px solid hsl(var(--primary));padding:16px 20px;background:hsl(var(--muted)/.7);border-radius:0 var(--radius-lg) var(--radius-lg) 0;} .entry-content blockquote p:last-child {margin-bottom:0;} .entry-content :is(pre,code) {font-family:Menlo,monospace;font-size:13px;background:hsl(var(--muted));border-radius:var(--radius-sm);} .entry-content pre {padding:16px;overflow-x:auto;white-space:pre;} .entry-content code {padding:2px 4px;} .entry-content pre code {padding:0;} .entry-content :is(iframe,video,embed,object) {max-width:100%;} .entry-content .wp-block-embed__wrapper {overflow:hidden;}
.entry-content table {width:100%;border-collapse:collapse;font-size:14px;} .entry-content :is(th,td) {padding:10px 16px;text-align:start;border:1px solid hsl(var(--border));} .entry-content th {background:hsl(var(--muted)/.7);font-weight:600;color:hsl(var(--foreground));} .entry-content .wp-block-table {overflow-x:auto;border:1px solid hsl(var(--border));border-radius:14px;background:hsl(var(--card));} .entry-content table:not(.has-fixed-layout) {table-layout:auto;} .entry-content figcaption,.wp-caption-text {font-size:12px;line-height:16px;color:hsl(var(--muted-foreground));margin-top:8px;text-align:center;} .wp-caption {max-width:100%;} .aligncenter {display:block;margin-left:auto;margin-right:auto;} .alignleft {float:left;margin:0 16px 16px 0;} .alignright {float:right;margin:0 0 16px 16px;} .alignwide,.alignfull {width:100%;max-width:none;} .gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px;} .wp-block-image img {height:auto;} .wp-block-button__link,.wp-element-button {border-radius:var(--radius-lg);background:hsl(var(--primary));color:hsl(var(--primary-foreground));padding:10px 16px;font-size:14px;font-weight:600;}
.bb-entry-footer {margin-top:24px;} .bb-tags {display:flex;flex-wrap:wrap;gap:6px;} .bb-tags a {font-size:12px;font-weight:600;padding:6px 10px;border:1px solid hsl(var(--border));border-radius:var(--radius-lg);background:hsl(var(--card));} .bb-tags a:hover {border-color:hsl(var(--primary)/.4);}
.pagination,.comments-pagination {margin-top:24px;} .pagination .nav-links,.comments-pagination .nav-links {display:flex;flex-wrap:wrap;gap:6px;justify-content:center;} .page-numbers,.bb-page-links a,.bb-page-links>span {display:inline-flex;justify-content:center;align-items:center;min-width:36px;height:36px;padding:0 12px;font-size:14px;font-weight:600;border:1px solid hsl(var(--border));border-radius:var(--radius-md);background:hsl(var(--card));} .page-numbers.current {background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary));} .post-navigation {margin-top:32px;padding-top:24px;border-top:1px solid hsl(var(--border));} .post-navigation .nav-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;font-size:14px;} .post-navigation a {display:grid;gap:8px;} .post-navigation .nav-next {text-align:right;} .bb-page-links {display:flex;flex-wrap:wrap;gap:6px;clear:both;}
.bb-comments {padding-top:24px;border-top:1px solid hsl(var(--border));} .comment-list {list-style:none;padding:0;margin:16px 0;} .comment-list .children {list-style:none;padding-left:16px;} .comment-body {margin-bottom:16px;padding:16px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:14px;font-size:14px;overflow-wrap:anywhere;} .comment-author {display:flex;align-items:center;gap:8px;font-weight:600;} .comment-author .avatar {border-radius:var(--radius-lg);} .comment-metadata {margin:8px 0;color:hsl(var(--muted-foreground));font-size:12px;} .comment-content p {margin-bottom:12px;} .reply,.comment-awaiting-moderation {font-size:12px;color:hsl(var(--primary));} .bypostauthor>.comment-body {border-color:hsl(var(--primary)/.3);}
.comment-respond {padding:20px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:14px;margin-top:24px;} .comment-form {display:grid;gap:12px;margin-top:16px;font-size:14px;} .comment-form p {margin:0;} .comment-form label,.post-password-form label {display:block;font-size:12px;color:hsl(var(--muted-foreground));margin-bottom:4px;} :is(.comment-form,.post-password-form,.widget) :is(input:not([type=checkbox]):not([type=submit]),textarea,select) {width:100%;border:1px solid hsl(var(--input));border-radius:var(--radius-lg);background:hsl(var(--card));color:hsl(var(--foreground));padding:10px 12px;min-width:0;font:inherit;} .comment-form textarea {resize:vertical;} .comment-form-cookies-consent {display:flex;align-items:start;gap:8px;} .comment-form-cookies-consent input {margin-top:3px;flex-shrink:0;} .post-password-form input[type=submit] {padding:10px 16px;border-radius:var(--radius-lg);background:hsl(var(--primary));color:hsl(var(--primary-foreground));} .comment-reply-title small {font-size:12px;margin-left:12px;}
.bb-empty {padding:40px 24px;text-align:center;border-style:dashed;background:hsl(var(--card)/.6);margin:24px 0;} .bb-empty-icon {display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:9999px;background:hsl(var(--muted));color:hsl(var(--muted-foreground));margin-bottom:12px;} .bb-empty p {margin-top:8px;} .bb-not-found {display:grid;justify-items:center;gap:20px;max-width:640px;margin:40px auto;text-align:center;} .bb-not-found form {max-width:400px;} .bb-error-code {font:800 60px/1 var(--font-display);color:hsl(var(--primary));} .bb-footer-widgets {padding-top:24px;display:grid;gap:16px;} .bp-footer .bb-menu {display:flex;flex-wrap:wrap;gap:4px;} .bp-footer .bb-menu a {font-size:12px;padding:4px 8px;} .bp-footer nav {display:block;} .bp-footer p {margin-top:4px;}
.bb-panel {padding:20px;display:grid;gap:16px;min-width:0;} .bb-style-grid {display:grid;gap:16px;} .bb-catalog-art {aspect-ratio:1;background:hsl(var(--muted));overflow:hidden;border-radius:var(--radius-xl);} .bb-catalog-art img {width:100%;height:100%;object-fit:contain;} .bb-art-missing {background:hsl(var(--muted));} .bb-entity-header {padding:24px;display:grid;gap:20px;} .bb-entity-header img {max-width:220px;} .bb-entity-header p {margin-top:12px;}
body.admin-bar .bp-header {top:32px;} @media(max-width:782px){body.admin-bar .bp-header {top:46px;}} @media(max-width:600px){body.admin-bar .bp-header {top:0;}}
@media(min-width:640px){.bb-hero {padding:32px;} .bb-post-grid {grid-template-columns:repeat(2,minmax(0,1fr));} .bb-topic-grid {grid-template-columns:repeat(3,minmax(0,1fr));} .bb-style-grid {grid-template-columns:repeat(2,minmax(0,1fr));} .bb-entity-header {grid-template-columns:auto 1fr;} .comment-list .children {padding-left:24px;}}
@media(min-width:768px){.bp-header__search {display:block;max-width:320px;} .bb-mobile-menu .bb-search-form {display:none;} .bb-theme-toggle {margin-left:0;}}
@media(min-width:1024px){.bb-hero-grid {grid-template-columns:1.4fr 1fr;} .bb-post-grid {grid-template-columns:repeat(3,minmax(0,1fr));} .bb-with-sidebar {grid-template-columns:minmax(0,1fr) 260px;} .bb-with-sidebar .bb-post-grid {grid-template-columns:repeat(2,minmax(0,1fr));} .bb-topic-grid {grid-template-columns:repeat(6,minmax(0,1fr));} .bb-footer-widgets {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(min-width:1280px){.bb-desktop-nav {display:block;flex:1;} .bb-desktop-nav>.bb-menu {display:flex;flex-wrap:wrap;align-items:center;} .bb-desktop-nav .sub-menu,.bb-desktop-nav .children {display:none;position:absolute;left:0;top:100%;min-width:200px;max-width:280px;padding:4px;background:hsl(var(--popover));border:1px solid hsl(var(--border));border-radius:var(--radius-xl);box-shadow:var(--shadow-popover);z-index:50;} .bb-desktop-nav li:hover>.sub-menu,.bb-desktop-nav li:focus-within>.sub-menu,.bb-desktop-nav li:hover>.children,.bb-desktop-nav li:focus-within>.children {display:block;} .bb-desktop-nav .sub-menu .sub-menu,.bb-desktop-nav .children .children {left:0;top:100%;} .bb-desktop-nav .current-menu-item>a {position:relative;} .bb-js .bb-menu-toggle,.bb-mobile-menu {display:none!important;} .bp-header__bar {height:auto;min-height:56px;padding-top:4px;padding-bottom:4px;} .bp-header__search {max-width:240px;} .bb-brand {max-width:240px;}}
@media(prefers-reduced-motion:reduce){html {scroll-behavior:auto;} .bp-rise {animation:none;} .bp-lift,.bb-card-media img {transition:none;} .bb-post-card:hover .bb-card-media img {transform:none;}}
@media print {.bp-header,.bp-footer,.bb-sidebar,.comment-respond,.post-navigation,.pagination {display:none!important;} body {background:white;color:black;} .bp-container {max-width:none;} .entry-content {color:black;} a {color:inherit;} }

.bp-breadcrumbs {font-size:12px;line-height:16px;color:hsl(var(--muted-foreground));overflow-wrap:anywhere;}.bp-breadcrumbs a:hover {color:hsl(var(--primary));}.bp-breadcrumbs [aria-current=page] {color:hsl(var(--foreground));font-weight:500;}
@media(min-width:640px){.bp-container--narrow .entry-content>.alignwide {position:relative;left:50%;width:min(1280px,calc(100vw - 48px));max-width:none;transform:translateX(-50%);}}
.bb-brand .bp-logo {min-width:0;}.bb-brand .bp-logo__text {min-width:0;flex:1;}

.entry-content .wp-block-table thead {border-bottom:1px solid hsl(var(--border));}.bp-input:focus-visible {outline:2px solid hsl(var(--ring));outline-offset:2px;}

/* Identity: one optional icon plus independently editable text. */
.bb-logo-icon {width:32px;height:32px;object-fit:contain;flex-shrink:0;}
