.icon{width:18px;height:18px;display:inline-block;flex-shrink:0;vertical-align:middle}.header-inner nav a,.tabs a,.read-more,.tag,.rating{display:inline-flex;align-items:center;gap:6px}.tag .icon{width:13px;height:13px}.rating .icon{width:15px;height:15px;fill:#e7efad}.search>.icon,.category-search>.icon{color:var(--green)}.header-inner>.button{gap:9px}.card-bottom{display:block}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0 4px}.card-actions button,.card-actions a{width:auto;height:auto;min-height:42px;padding:9px 7px;gap:7px;border:1px solid #e4e8dc;background:#fafbf6;font-size:11px;font-weight:600;color:#5f7151;text-align:center;line-height:1.4}.card-actions button:hover,.card-actions a:hover{border-color:#9fb38b;background:#ecf2e3;color:#284d34}.card-actions button[aria-pressed=true] .icon-heart{fill:#c86c5b;stroke:#c86c5b}.share-panel{margin:16px -23px -15px;border-top:1px solid #e5e9df;border-radius:0 0 12px 12px;overflow:hidden}.share-panel summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;padding:16px 22px;font-size:11px;font-weight:650;color:#456045;background:#f7f9f1;min-height:48px}.share-panel summary::-webkit-details-marker{display:none}.share-panel summary>.icon:last-child{margin-left:auto;width:16px}.share-panel summary:hover{background:#edf3e2}.share-panel[open] summary{border-bottom:1px solid #e4e9db}.share-content{padding:20px;background:#fcfdf9;min-width:0}.share-content label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;margin:0 0 10px;color:#3c563b}.share-content input,.share-content textarea{font:11px/1.65 ui-monospace,Consolas,monospace;background:#fff;color:#596650;border:1px solid #dce4d0;border-radius:7px;padding:11px;width:100%;min-width:0}.share-content textarea{display:block;resize:vertical;min-height:110px}.copy-field{display:flex;gap:6px}.copy-field input{flex:1}.copy-field button,.embed-actions button,.social-actions button,.social-actions a,.embed-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dce4d0;padding:10px;border-radius:7px;font-size:11px;font-weight:600;background:#fff;color:#456045;cursor:pointer;min-height:40px}.copy-field button .icon{width:15px}.social-actions{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 24px}.social-actions button,.social-actions a{padding:7px 9px;font-size:10px}.share-help{font-size:11px;color:#7b8772;line-height:1.75;margin:0 0 11px}.copy-field+.share-help{margin-top:10px}.embed-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 22px}.embed-actions .copy-code{color:white;background:var(--green);border-color:var(--green)}.copy-field button:hover,.social-actions a:hover,.social-actions button:hover,.embed-actions a:hover{background:#eaf2dc;border-color:#a7ba91}.copy-success{box-shadow:0 0 0 3px #a7c98166!important;background:#e7f2d8!important;color:#294c31!important}.share-panel summary:focus-visible{outline:3px solid #e49c54;outline-offset:-4px}.share-content input:focus,.share-content textarea:focus{border-color:#9cb87a;background:#fffef6}.joke-card:focus-within{border-color:#a3b78d}button:active,.button:active,.card-actions a:active{transform:scale(.97)}
@media(prefers-reduced-motion:no-preference){
  a,button,input,textarea,summary{transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s}.joke-card{transition:border-color .25s,box-shadow .25s,transform .25s}.joke-card:hover{box-shadow:0 9px 25px #30432709;transform:translateY(-2px)}.card-revealed{animation:card-appear .55s ease both}.joke-card:nth-child(even).card-revealed{animation-delay:.08s}.hero>div:first-child{animation:card-appear .65s ease both}.smile{animation:happy-float 4s ease-in-out 2}.bubble{animation:bubble-in .7s ease both}.spark.one{animation:spark-turn 5s ease-in-out 2}.spark.two{animation:twinkle 3s ease-in-out 3}.brand:hover .brand-face{transform:rotate(-15deg) scale(1.1)}.brand-face{display:inline-block;transition:transform .3s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 13px #274b3420}.category:hover{transform:translateX(3px)}.card-actions a:hover .icon,.card-actions button:hover .icon{transform:translateY(-2px)}.icon{transition:transform .2s,fill .2s}.card-actions [aria-pressed=true] .icon-heart{animation:heart-pop .4s ease}.share-panel[open] .share-content{animation:panel-open .25s ease}.copy-success .icon{animation:heart-pop .35s ease}.search:focus-within{box-shadow:0 0 0 4px #e7efad70;transition:box-shadow .2s}#toast.show{animation:toast-in .25s ease}.next-random:hover .icon-shuffle{transform:rotate(180deg)}
}
@keyframes card-appear{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}@keyframes happy-float{0%,100%{transform:translateY(0) rotate(-12deg)}50%{transform:translateY(-10px) rotate(-7deg)}}@keyframes bubble-in{from{opacity:0;transform:translateY(10px) rotate(2deg)}to{opacity:1;transform:translateY(0) rotate(6deg)}}@keyframes spark-turn{0%,100%{transform:rotate(0)}50%{transform:rotate(45deg)}}@keyframes twinkle{0%,100%{transform:scale(1)}50%{transform:scale(1.13)}}@keyframes heart-pop{0%,100%{transform:scale(1)}45%{transform:scale(1.25)}}@keyframes panel-open{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(max-width:700px){.share-panel{margin-left:-20px;margin-right:-20px;margin-bottom:-14px}.share-content{padding:16px}.share-panel summary{padding:15px 19px}.card-actions button,.card-actions a{font-size:11px;padding:10px 8px;min-height:44px}.header-inner nav a{gap:4px}.header-inner nav .icon{width:15px;height:15px}.header-inner nav{gap:12px}.header-inner>.button .icon{width:20px;height:20px}.header-inner>.button{padding:11px}.brand{font-size:22px}.brand-face{font-size:33px}.tabs a{gap:5px;padding:10px 12px}.tabs .icon{width:15px;height:15px}.copy-field button{padding:9px}.copy-field button>span{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.contribute-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:22px;color:#7a8671;font-size:12px}.contribute-bar .button{white-space:nowrap}@media(max-width:600px){.contribute-bar{font-size:11px;line-height:1.6}.contribute-bar .button{padding:11px}.contribute-bar>span{max-width:180px}}

.rating-box{background:#f5f7eb;border:1px solid #e2e8d3;border-radius:9px;padding:14px;margin:0 0 15px}.rating-summary{display:flex;align-items:center;gap:9px}.rating-summary>.icon{color:#a58830;fill:#efdc8d;width:21px;height:21px}.rating-summary strong{font-size:23px;color:#344d34}.rating-summary strong small{font-size:13px;font-weight:400;color:#88927b}.rating-count{margin-left:auto;color:#758267;font-size:11px}.vote-stars{display:flex;gap:4px;margin-top:10px}.vote-stars button{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #dfe6d0;border-radius:7px;color:#9aa68a;background:#fff;cursor:pointer}.vote-stars .icon{width:23px;height:23px}.vote-stars button.filled{color:#ad8524;border-color:#dfcb82;background:#fff9e5}.vote-stars button.filled .icon{fill:#edcc61}.vote-stars button:disabled{cursor:default}.vote-stars button:not(:disabled):hover,.vote-stars:has(button:not(:disabled):hover) button:has(~ button:hover){color:#ad8524;background:#fff5d2;border-color:#dfcb82}.vote-stars button:not(:disabled):hover .icon,.vote-stars:has(button:not(:disabled):hover) button:has(~ button:hover) .icon{fill:#edcc61}.vote-status{font-size:11px;line-height:1.6;color:#78866a;margin:9px 0 0}@media(prefers-reduced-motion:no-preference){.vote-stars button:not(:disabled):hover{transform:translateY(-3px)}.vote-stars button.filled .icon{animation:heart-pop .35s ease}}

.breadcrumbs{font-size:12px;color:#78856b;line-height:1.8}.breadcrumbs a{color:var(--green);text-decoration:underline;text-underline-offset:3px}

/* Reading-first layout and compact voting. */
.jokes{grid-template-columns:minmax(0,1fr)}.joke-text{font-size:16px;line-height:1.85}.card-actions{display:flex;flex-wrap:wrap}.card-actions button,.card-actions a{flex:1 1 auto;padding:9px 12px}.rating-box{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;background:transparent;border:0;border-bottom:1px solid #edf0e8;border-radius:0;padding:0 0 10px;margin:0 0 10px}.rating-summary{gap:7px}.rating-summary strong{font-size:17px}.rating-summary>.icon{width:16px;height:16px}.rating-count{margin-left:3px}.vote-stars{margin:0;gap:1px}.vote-stars button{width:34px;height:34px;border:0;background:transparent}.vote-stars .icon{width:20px;height:20px}.vote-status{flex-basis:100%;margin:0;font-size:10px;line-height:1.4}.feed-loader{text-align:center;padding:28px 10px 8px}.feed-loader p{font-size:12px;color:#778369}.feed-loader button:disabled{opacity:.6;cursor:wait}[data-speech][aria-pressed=true]{background:#e7efad;border-color:#afc177;color:#2c5d47}.card-actions button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:700px){.card-actions{display:grid;grid-template-columns:1fr 1fr}.card-actions button,.card-actions a{padding:10px 7px}.vote-stars button{width:40px;height:40px}.rating-box{gap:6px 10px}.rating-summary{flex-wrap:wrap}.joke-text{font-size:15px}}

.vote-status:empty{display:none}.share-tools{position:relative;margin:16px -23px -15px}.share-tools .share-panel{margin:0}.share-tools .share-panel summary{padding-right:160px;min-height:57px}.share-tools summary>.icon:last-child{display:none}.download-graphic{position:absolute;right:14px;top:9px;z-index:1;display:inline-flex;align-items:center;gap:6px;padding:10px;border:1px solid #dce4d0;border-radius:7px;background:#fff;color:#456045;font-size:11px;font-weight:600;min-height:38px}.download-graphic:hover{background:#eaf2dc;border-color:#a7ba91}.download-graphic .icon{width:16px;height:16px}@media(max-width:700px){.card-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.card-actions>button>span,.card-actions>a>span{display:none}.card-actions>button,.card-actions>a{min-width:0;min-height:44px;padding:10px}.card-actions .icon{width:21px;height:21px}.share-tools{margin-left:-20px;margin-right:-20px;margin-bottom:-14px}.share-tools .share-panel summary{padding:12px 145px 12px 16px;min-height:64px;gap:7px;font-size:10px}.download-graphic{right:10px;top:12px;font-size:10px;padding:10px 8px;min-height:40px}}
