
:root{--fresh-green:#16865a;--fresh-deep:#103f32;--fresh-yellow:#ffda50;--fresh-cream:#fffdf2}
body{background:#f5f9f2;color:#213c31}
a{transition:color .18s ease}a:hover{color:#17895d}
.site-header,.ast-primary-header-bar{background:linear-gradient(115deg,#faffee,#e9f8e8)!important;border-bottom:3px solid #f5ce43!important}
.site-title a,.site-title{color:#125b40!important;font-weight:900!important;letter-spacing:.025em}
.site-description{color:#39725b!important}
.main-header-menu .menu-link{font-weight:700}
.main-header-menu .current-menu-item>.menu-link{color:#147f55!important}
.fresh-hero{background:linear-gradient(125deg,#0f6c4d,#22a96c);border-radius:20px;padding:30px 34px;margin:22px auto 30px;color:white;box-shadow:0 14px 35px #17684624;position:relative;overflow:hidden}
.fresh-hero:after{content:'🍌';font-size:110px;position:absolute;right:24px;top:-15px;opacity:.25;transform:rotate(-18deg)}
.fresh-hero h2{color:#fff!important;font-size:clamp(24px,3vw,38px);font-weight:900;margin:0 0 8px;position:relative;z-index:1}
.fresh-hero p{color:#f1ffe9;margin:0;position:relative;z-index:1}
body.blog .ast-row,body.archive .ast-row,body.search .ast-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
body.blog .ast-row>article,body.archive .ast-row>article,body.search .ast-row>article{width:100%!important;max-width:100%!important;float:none!important;margin:0!important;padding:0!important;min-width:0}
body.blog .ast-row>article .ast-article-post,body.archive .ast-row>article .ast-article-post,body.search .ast-row>article .ast-article-post{height:100%}
body.blog article .ast-article-inner,body.archive article .ast-article-inner,body.search article .ast-article-inner{height:100%;border:1px solid #dfe9dc!important;border-radius:16px!important;overflow:hidden;background:#fff!important;box-shadow:0 5px 18px #194f2710;padding:14px!important}
body.blog article .post-thumb img,body.archive article .post-thumb img,body.search article .post-thumb img{display:block;width:100%;height:260px;object-fit:contain;object-position:center;background:#f7f9f4;border-radius:10px}
body.blog article .entry-title,body.archive article .entry-title,body.search article .entry-title{font-size:17px!important;line-height:1.5;font-weight:800}
body.blog article .entry-title a,body.archive article .entry-title a{color:#204a37}
.ast-pagination,.navigation.pagination,.nav-links,.page-numbers{box-sizing:border-box}
.ast-pagination .nav-links,.navigation.pagination .nav-links{display:flex!important;flex-flow:row nowrap!important;align-items:center;gap:7px;overflow-x:auto;max-width:100%;white-space:nowrap;padding:10px 2px 16px;scrollbar-width:thin}
.ast-pagination .page-numbers,.navigation.pagination .page-numbers{flex:0 0 auto!important;display:inline-flex!important;align-items:center;justify-content:center;min-width:38px;min-height:38px;margin:0!important;padding:7px 11px!important;border-radius:9px!important;background:#fff;border:1px solid #cfe1d4;color:#16583c}
.ast-pagination .page-numbers.current,.navigation.pagination .page-numbers.current{background:#ffda50!important;color:#194b32!important;border-color:#e2b83b!important;font-weight:900}
.ast-pagination .page-numbers.next,.navigation.pagination .page-numbers.next{min-width:max-content!important}
button,input[type=submit],.ast-button,.button{border-radius:10px}
@media(max-width:921px){body.blog .ast-row,body.archive .ast-row,body.search .ast-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}body.blog article .post-thumb img,body.archive article .post-thumb img,body.search article .post-thumb img{height:210px}}
@media(max-width:480px){.fresh-hero{padding:20px 18px;margin:12px auto 20px}.fresh-hero:after{font-size:65px;right:5px;top:5px}body.blog article .post-thumb img,body.archive article .post-thumb img,body.search article .post-thumb img{height:170px}body.blog article .ast-article-inner,body.archive article .ast-article-inner,body.search article .ast-article-inner{padding:9px!important}body.blog article .entry-title,body.archive article .entry-title,body.search article .entry-title{font-size:14px!important}}

/* Fresh Banana rankings and recommendations */
.fresh-featured{margin:26px 0 38px;display:grid;gap:32px;min-width:0}
.fresh-feature-section{background:#fff;border:1px solid #e4edda;border-radius:20px;padding:22px;box-shadow:0 8px 28px rgba(26,73,37,.07);min-width:0}
.fresh-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.fresh-section-head h2{font-size:clamp(21px,2.5vw,28px);margin:0;color:#245c2e;font-weight:800}
.fresh-section-head p{margin:0;color:#63735e;font-size:13px}
.fresh-rank-tabs{display:flex;gap:10px;margin:0 0 20px}
.fresh-rank-tabs button{background:#edf6e7;color:#2e6134;border:1px solid #c9e1bd;border-radius:999px;padding:9px 22px;font-weight:700;cursor:pointer}
.fresh-rank-tabs button[aria-selected=true]{background:#347b38;color:#fff;border-color:#347b38}
.fresh-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.fresh-work-card{min-width:0;position:relative;background:#fbfdf8;border:1px solid #e1eadb;border-radius:14px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.fresh-work-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(22,65,31,.13)}
.fresh-work-card a{text-decoration:none;color:#24402a;display:block;height:100%}
.fresh-work-card img.fresh-work-thumb{width:100%;height:220px;object-fit:contain;display:block;background:#f3f7ee}
.fresh-work-card h3{font-size:15px;line-height:1.55;margin:0;padding:12px 13px 16px;overflow-wrap:anywhere;font-weight:700}
.fresh-card-rank{position:absolute;z-index:2;top:10px;left:10px;background:#f9cf4c;color:#49360a;border-radius:8px;padding:4px 11px;font-weight:800;box-shadow:0 2px 6px #0002}
.fresh-thumb-placeholder{display:flex;height:220px;align-items:center;justify-content:center;font-size:58px;background:#f3f7ee}
.fresh-empty{margin:10px 0;color:#677260}
@media(max-width:767px){.fresh-featured{gap:20px}.fresh-feature-section{padding:14px;border-radius:14px}.fresh-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fresh-work-card img.fresh-work-thumb,.fresh-thumb-placeholder{height:165px}.fresh-work-card h3{font-size:13px;padding:9px}.fresh-rank-tabs button{flex:1;padding:9px 8px}}

/* v1.2: prominent work search */
.fresh-search-panel{background:#fff;border:1px solid #dcebd9;border-radius:18px;padding:22px 24px;margin:20px auto 25px;box-shadow:0 6px 22px rgba(24,88,50,.07)}
.fresh-search-heading h2{color:#145c3b;font-size:clamp(20px,2.5vw,27px);font-weight:900;margin:0 0 4px}
.fresh-search-heading p{font-size:14px;color:#647b69;margin:0 0 14px}
.fresh-search-form{display:flex;align-items:stretch;gap:10px;margin:0}
.fresh-search-form input[type=search]{flex:1;min-width:0;min-height:50px;border:2px solid #cfe5d5;border-radius:12px;background:#fbfefa;padding:10px 15px;font-size:16px}
.fresh-search-form input[type=search]:focus{border-color:#19865c;outline:2px solid #a7e0c2;outline-offset:1px}
.fresh-search-form button{flex:0 0 auto;background:#167d53;color:#fff;border-radius:12px;padding:11px 24px;font-weight:800;min-height:50px}
.fresh-search-form button:hover{background:#0d6040}
/* v1.2: mobile pagination puts NEXT first, with clear Japanese labels */
@media(max-width:767px){
 .fresh-search-panel{padding:16px;margin:12px auto 20px}
 .fresh-search-form{flex-direction:column;gap:9px}
 .fresh-search-form button{width:100%;min-height:48px}
 .ast-pagination .navigation.pagination .nav-links,.ast-pagination .nav-links,.navigation.pagination .nav-links{display:flex!important;flex-wrap:wrap!important;overflow-x:visible!important;white-space:normal!important;gap:7px!important;justify-content:center!important;padding:10px 0 16px!important}
 .ast-pagination .page-numbers,.navigation.pagination .page-numbers{min-height:42px!important}
 .ast-pagination a.next.page-numbers,.navigation.pagination a.next.page-numbers{order:-2!important;flex:1 0 100%!important;width:100%!important;min-height:52px!important;background:#15835a!important;color:#fff!important;border:2px solid #15835a!important;font-size:16px!important;font-weight:900!important;box-shadow:0 5px 12px #14684625!important}
 .ast-pagination a.prev.page-numbers,.navigation.pagination a.prev.page-numbers{order:2!important;flex:1 0 100%!important;width:100%!important;min-height:46px!important;background:#fff!important;color:#175c42!important;border:1px solid #bed9c8!important;font-size:14px!important;font-weight:700!important}
 .ast-pagination .page-numbers.current,.navigation.pagination .page-numbers.current{background:#ffda50!important}
}

/* Fresh Banana 1.3: advanced category search and keyword chips */
.fresh-advanced-search{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:10px 12px;align-items:end}
.fresh-advanced-search label{font-weight:700;color:#24553c;font-size:14px}
.fresh-advanced-search label:first-child{grid-column:1}.fresh-advanced-search label:nth-of-type(2){grid-column:2}
.fresh-advanced-search input[type=search]{grid-column:1;min-width:0;width:100%;box-sizing:border-box}
.fresh-advanced-search select{grid-column:2;min-width:0;width:100%;height:48px;border:1px solid #a7d1b3;border-radius:12px;background:#fff;padding:0 12px;color:#204c32}
.fresh-advanced-search button{grid-column:3;grid-row:2;min-height:48px;white-space:nowrap}
.fresh-keywords{margin-top:22px;border-top:1px solid #dbeadf;padding-top:18px}.fresh-keywords h3{margin:0 0 5px;font-size:19px}.fresh-keywords p{margin:0 0 13px;font-size:13px;color:#63756a}
.fresh-keyword-list{display:flex;flex-wrap:wrap;gap:9px}.fresh-keyword{display:inline-flex;padding:8px 13px;border:1px solid #b6d9bd;background:#eff9ef;color:#21663b!important;border-radius:999px;font-size:13px;font-weight:700;text-decoration:none!important}.fresh-keyword:hover,.fresh-keyword:focus{background:#ffe78c;border-color:#e2bc45;color:#3d4119!important}
@media(max-width:767px){.fresh-advanced-search{display:flex;flex-direction:column;align-items:stretch;gap:8px}.fresh-advanced-search input[type=search],.fresh-advanced-search select,.fresh-advanced-search button{width:100%;min-height:46px}.fresh-advanced-search label:nth-of-type(2){margin-top:8px}.fresh-keyword-list{gap:7px}.fresh-keyword{font-size:12px;padding:8px 11px}}

/* v1.4: compact genre navigation */
.fresh-genre-section{margin-top:24px}
.fresh-genre-section h3{margin:0 0 6px}
.fresh-genre-section>p{margin:0 0 14px;opacity:.75}
.fresh-genre-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.fresh-genre-link{display:flex;justify-content:center;align-items:center;text-align:center;min-height:48px;padding:10px 8px;background:#f1f9ef;border:1px solid #d6e9d0;border-radius:12px;color:#17683d;text-decoration:none;font-weight:700;overflow-wrap:anywhere}
.fresh-genre-link span{font-size:.85em;font-weight:400;white-space:nowrap}
.fresh-genre-link:hover,.fresh-genre-link:focus-visible{background:#e0f3d8;border-color:#7bbd77;color:#14512f}
.fresh-genre-more{margin-top:12px}
.fresh-genre-more summary{cursor:pointer;text-align:center;border:1px solid #bcd7b7;border-radius:10px;padding:12px;color:#17683d;font-weight:700;list-style-position:inside}
.fresh-genre-more[open] summary{margin-bottom:12px}
@media(max-width:767px){.fresh-genre-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fresh-genre-link{font-size:13px;min-height:48px}}

/* v1.5: consistent desktop search form alignment and 100-category limit */
.fresh-search-panel .fresh-advanced-search{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto!important;gap:12px!important;align-items:end!important}
.fresh-search-panel .fresh-search-field{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;align-self:stretch!important}
.fresh-search-panel .fresh-search-field label{display:block!important;margin:0!important;font-size:14px!important;line-height:1.4!important;font-weight:700!important;color:#24553c!important}
.fresh-search-panel .fresh-search-field input[type=search],.fresh-search-panel .fresh-search-field select{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;height:50px!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
.fresh-search-panel .fresh-advanced-search button[type=submit]{grid-column:3!important;grid-row:1!important;align-self:end!important;margin:0!important;min-height:50px!important;white-space:nowrap!important}
.fresh-search-panel .fresh-advanced-search .fresh-search-field-keyword{grid-column:1!important;grid-row:1!important}
.fresh-search-panel .fresh-advanced-search .fresh-search-field-category{grid-column:2!important;grid-row:1!important}
.fresh-search-panel .fresh-genre-link{gap:3px;text-decoration:none!important;color:#17683d!important}
@media(max-width:767px){.fresh-search-panel .fresh-advanced-search{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}.fresh-search-panel .fresh-search-field{width:100%!important}.fresh-search-panel .fresh-advanced-search button[type=submit]{width:100%!important;align-self:stretch!important}.fresh-search-panel .fresh-genre-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
