.fbd-joke-submit,.fbd-joke-cards,.fbd-my-jokes,.fbd-preferences{--fbd-dark:#070f17;--fbd-blue:#1456d9;--fbd-gold:#ffb400;--fbd-white:#fff;--fbd-soft:#f4f7fa;--fbd-line:rgba(7,15,23,.12);box-sizing:border-box}
.fbd-joke-submit *,.fbd-joke-cards *,.fbd-my-jokes *,.fbd-preferences *{box-sizing:border-box}
.fbd-joke-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--fbd-gold);color:var(--fbd-dark)!important;border:0;border-radius:7px;padding:13px 28px;font-weight:900;text-decoration:none;text-transform:uppercase;line-height:1.2;cursor:pointer;box-shadow:none}.fbd-joke-btn:hover{background:#ffd24d;color:var(--fbd-dark)!important;transform:translateY(-1px)}

/* Submit joke page: centered, white, store-style card */
.fbd-joke-submit{width:min(1180px,calc(100% - 32px));margin:34px auto 44px auto;display:grid;grid-template-columns:minmax(260px,.78fr) minmax(320px,1.55fr);gap:28px;background:#fff;border:1px solid rgba(255,180,0,.55);border-radius:16px;padding:28px;color:#070f17;box-shadow:0 14px 38px rgba(7,15,23,.11)}
.fbd-joke-submit h2{color:#070f17;font-size:34px;line-height:1.05;margin:0 0 14px;font-weight:900}.fbd-joke-submit p,.fbd-joke-submit li{color:#070f17}.fbd-joke-submit__intro{background:#070f17;color:#fff;border-radius:14px;padding:26px;border:1px solid rgba(255,180,0,.45);min-height:100%}.fbd-joke-submit__intro h2,.fbd-joke-submit__intro p,.fbd-joke-submit__intro li{color:#fff}.fbd-joke-submit__intro ul{margin:18px 0;padding-left:20px}.fbd-joke-submit__smile{max-width:118px;width:100%;height:auto;margin-top:22px;border-radius:8px}
.fbd-joke-submit__form{background:#fff;color:#070f17}.fbd-joke-submit__form label{display:block;color:#070f17;font-weight:800;margin:14px 0 7px}.fbd-joke-submit__form label span{color:var(--fbd-gold)}
.fbd-joke-submit input[type=text],.fbd-joke-submit textarea,.fbd-joke-submit select{width:100%;background:#fff;color:#070f17;border:1px solid rgba(7,15,23,.22);border-radius:7px;padding:12px;box-sizing:border-box;font:inherit}.fbd-joke-submit input[type=text]:focus,.fbd-joke-submit textarea:focus,.fbd-joke-submit select:focus{outline:2px solid rgba(255,180,0,.35);border-color:#ffb400}.fbd-joke-submit textarea{min-height:100px}.fbd-char-count{text-align:right;color:#5f6670;font-size:13px;margin-top:4px}.fbd-radio-stack label,.fbd-terms{font-weight:500!important;font-size:14px;line-height:1.45}.fbd-radio-stack input,.fbd-terms input{margin-right:7px}.fbd-source-field{margin-top:4px}.fbd-alert ul{margin:6px 0 0}.fbd-joke-alert{border-radius:8px;padding:12px 14px;margin-bottom:16px}.fbd-joke-alert--success{background:#d7ffe6;color:#11632c}.fbd-joke-alert--error{background:#ffd6d6;color:#8a1111}

/* Front-end joke cards: product-card inspired, no category label shown */
.fbd-joke-cards{width:100%;max-width:1460px;margin:46px auto 54px auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;justify-content:center;align-items:stretch}
.fbd-joke-cards:has(.fbd-joke-card:nth-child(1):last-child){grid-template-columns:minmax(280px,520px)}
.fbd-joke-cards:has(.fbd-joke-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(280px,520px))}
.fbd-joke-cards:has(.fbd-joke-card:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(260px,1fr))}
.fbd-joke-cards--count-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.fbd-joke-cards--count-4:has(.fbd-joke-card:nth-child(1):last-child){grid-template-columns:minmax(280px,520px)}
.fbd-joke-cards--count-4:has(.fbd-joke-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(280px,520px))}
.fbd-joke-cards--count-4:has(.fbd-joke-card:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(260px,1fr))}
.fbd-joke-cards--count-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.fbd-joke-cards--count-5:has(.fbd-joke-card:nth-child(1):last-child){grid-template-columns:minmax(280px,520px)}
.fbd-joke-cards--count-5:has(.fbd-joke-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(280px,520px))}
.fbd-joke-cards--count-5:has(.fbd-joke-card:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(260px,1fr))}
.fbd-joke-cards--count-5:has(.fbd-joke-card:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.fbd-joke-card{background:#fff;border:1px solid #ffb400;border-radius:0;color:#070f17;padding:28px 28px;box-shadow:0 12px 28px rgba(7,15,23,.06);display:flex;flex-direction:column;min-height:310px;text-align:left}
.fbd-joke-card__cat{display:none!important}
.fbd-joke-card__text{font-size:22px;line-height:1.35;color:#070f17;flex:1;font-weight:800;letter-spacing:-.01em}
.fbd-joke-card__byline{color:#070f17;font-size:14px;margin-top:18px;padding-top:14px;border-top:1px solid rgba(7,15,23,.12)}
.fbd-joke-card__byline strong{font-weight:900}
.fbd-joke-card__actions{display:flex;gap:10px;margin-top:16px;align-items:center;flex-wrap:wrap}
.fbd-joke-card__actions button{background:#f4f7fa;color:#070f17;border:1px solid rgba(7,15,23,.14);border-radius:8px;padding:10px 13px;cursor:pointer;font-weight:900;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.15}.fbd-action-label{font-size:13px}.fbd-action-count{font-size:14px}.fbd-joke-vote[data-vote="shirt"] .fbd-action-label{white-space:nowrap}
.fbd-joke-card__actions button:hover,.fbd-joke-card__actions .is-voted{border-color:#ffb400;color:#070f17;background:#fff8df}.fbd-joke-card__actions .is-flagged{border-color:#e23b3b;color:#e23b3b;background:#fff0f0}.fbd-no-jokes{grid-column:1/-1;text-align:center;padding:30px;background:#f4f7fa;border-radius:10px;color:#070f17}

/* WooCommerce My Account joke dashboard */
.fbd-my-jokes h2,.fbd-preferences h2{font-size:30px;color:#070f17}.fbd-my-jokes-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden}.fbd-my-jokes-table th,.fbd-my-jokes-table td{padding:12px;border-bottom:1px solid rgba(7,15,23,.08);text-align:left}.fbd-my-jokes-table th{background:#070f17;color:#fff}.fbd-status{display:inline-flex;border-radius:5px;padding:4px 7px;font-weight:800;font-size:12px}.fbd-status-approved,.fbd-status-featured{background:#d7ffe6;color:#11632c}.fbd-status-pending_review,.fbd-status-needs_edit{background:#fff0c2;color:#7b5200}.fbd-status-rejected,.fbd-status-auto_hidden,.fbd-status-locked{background:#ffd6d6;color:#8a1111}.fbd-status-archived{background:#e7e7e7;color:#333}.fbd-pref-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.fbd-pref-grid label{background:#f4f7fa;border-radius:8px;padding:12px}

@media(max-width:1200px){.fbd-joke-cards,.fbd-joke-cards--count-4,.fbd-joke-cards--count-5{grid-template-columns:repeat(2,minmax(0,1fr))}.fbd-joke-card__text{font-size:21px}}
@media(max-width:900px){.fbd-joke-submit{grid-template-columns:1fr;width:min(760px,calc(100% - 24px));padding:18px}.fbd-joke-cards,.fbd-joke-cards--count-4,.fbd-joke-cards--count-5,.fbd-joke-cards:has(.fbd-joke-card:nth-child(1):last-child),.fbd-joke-cards:has(.fbd-joke-card:nth-child(2):last-child),.fbd-joke-cards:has(.fbd-joke-card:nth-child(3):last-child),.fbd-joke-cards--count-4:has(.fbd-joke-card:nth-child(2):last-child),.fbd-joke-cards--count-5:has(.fbd-joke-card:nth-child(4):last-child){grid-template-columns:1fr}.fbd-pref-grid{grid-template-columns:1fr}.fbd-my-jokes-table{display:block;overflow-x:auto}.fbd-joke-card{min-height:auto}.fbd-joke-card__text{font-size:20px}.fbd-joke-card__actions button{flex:1 1 auto}.fbd-joke-vote[data-vote="shirt"]{flex-basis:100%}}
