
/* Post list card */
.home-section .section-header { padding: 1rem 0 20px 0;margin-top: 2rem; }
.home-section.first-home-section .section-header { margin-top: 0 !important; padding-top: 0 !important; }
.post-list { display: flex;flex-direction: column; gap: 16px; }
.card.card--list { display: flex; gap: 16px; border-bottom: 1px solid var(--ffp-border); padding-bottom: 16px; align-items: center; }
.card-thumb { flex: 0 0 112px; display: block; position: relative; height: 63px; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-placeholder { width: 100%; height: 100%; background: var(--ffp-hover-bg); border: 1px solid var(--ffp-border); display: block; }
.card-body { flex: 1 1 auto; min-width: 0; }
.card-title { font-size: 1.125rem; line-height: 1.3; margin: 0 0 4px; }
.card-title a { color: var(--ffp-fg); text-decoration: none; }
.card-meta { color: var(--ffp-muted); font-size: 0.875rem; display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.card-excerpt { color: var(--ffp-fg); font-size: 0.95rem; }

@media (min-width: 1200px) {
  .card-thumb { flex: 0 0 300px; height: 200px; border-radius: 10px; overflow: hidden; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .card-thumb { flex: 0 0 240px; height: 200px; border-radius: 10px; overflow: hidden; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .card-thumb { flex: 0 0 200px; height: 160px; border-radius: 10px; overflow: hidden; }
}

@media (max-width: 768px) {
  .card-thumb { flex: 0 0 90px; height: 90px; flex-basis: 90px; border-radius: 10px; overflow: hidden; }
  .card-excerpt { display: none !important; }
  .card-title { font-size: 16px; }
}

/* Entries */
.entry-header { margin-bottom: 16px; }
.archive-header { margin: 8px 0 16px; }
.archive-title { font-size: 1.5rem; line-height: 1.3; font-weight: 800; }
@media (max-width: 640px) {
  .archive-title { font-size: 1.25rem; }
}
.archive-desc { margin-top: 6px; color: var(--ffp-muted); }
/* Archive subcategory buttons (same look as entry-tags) */
.archive-subcats { display:flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; margin-bottom: 8px; }
.archive-subcats .subcats-label { font-size: 0.875rem; color: var(--ffp-muted); margin-right: 8px; align-self: center; }
.archive-subcats a { display:inline-block; padding: 4px 8px; border: 1px solid var(--ffp-border); border-radius: 999px; background: var(--ffp-panel-bg); color: var(--ffp-muted); font-size: 0.8125rem; text-decoration: none; transition: all 0.2s ease; }
.archive-subcats a:hover { background: var(--ffp-hover-bg); color: var(--ffp-fg); text-decoration: none; }
.archive-subcats a.current { background: var(--ffp-primary); color: #fff; border-color: var(--ffp-primary); }
.archive-subcats--children { margin-top: 8px; }
.archive-subcats--children .subcats-label { color: var(--ffp-primary); font-weight: 500; }

.entry-title { font-size: 2rem; line-height: 1.25; }
.entry--single .entry-title { font-size: 2.125rem; }
.entry--page .entry-title { font-size: 2rem; }
@media (max-width: 640px) {
  .entry-title, .entry--single .entry-title, .entry--page .entry-title { font-size: 1.75rem; }
}
.entry-meta { color: var(--ffp-muted); margin-top: 8px; display:flex; gap:8px; align-items:center; font-size: 0.875rem; }

.entry-media { margin: 12px 0 16px; border-radius: 10px; overflow: hidden; }
.entry-media img { width: 100%; height: auto; display: block; }

.ffp-toc{ border:1px solid var(--ffp-border); background: var(--ffp-panel-bg); border-radius: 16px; box-shadow: var(--ffp-shadow-sm); padding: 12px; }
.ffp-toc--dock{ position: sticky; top: calc(var(--ffp-header-height, 64px) + 18px); max-height: 200px; overflow: auto; margin-bottom: 25px; scroll-behavior: smooth; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; z-index: 20; }
.ffp-toc__head{ display:flex; align-items:center; justify-content:flex-start; gap:10px; margin-bottom:8px; }
.ffp-toc__progress{ display:none; }
.ffp-toc__bar{ display:none; }
.ffp-toc__list{ list-style:none; margin: 0; padding: 0; display:grid; gap:4px; }
.ffp-toc__item{ line-height:1.35; }
.ffp-toc__item--l1{ padding-left: 0; }
.ffp-toc__item--l2{ padding-left: 10px; }
.ffp-toc__item--l3{ padding-left: 20px; }
.ffp-toc__link{ display:inline-block; color: var(--ffp-fg); text-decoration:none; font-size: 14px; border-radius:8px; padding: 4px 6px; }
.ffp-toc__link:hover{ background: var(--ffp-hover-bg); text-decoration:none; }
.ffp-toc__link.is-active{ color: var(--ffp-primary); background: var(--ffp-hover-bg); font-weight: 600; }

/* Force hide 3rd party TOC if present */
#ez-toc-container{ display: none !important; }

/* Ensure only one TOC is visible depending on width */
@media (min-width: 1024px){
  .ffp-toc--inline{ display: none !important; }
}
@media (max-width: 1023px){
  .ffp-toc--dock{ display: none !important; }
}

.entry-content,
.series-content,
.project-content { line-height: 1.64; word-break: break-all; }
.entry-content img,
.series-content img,
.project-content img { height: auto; }
.entry-content a,
.series-content a,
.project-content a { color: var(--ffp-primary); }
.entry-content hr,
.series-content hr,
.project-content hr { border: 0; border-top: 1px solid var(--ffp-border); }
.entry-content p,
.series-content p,
.project-content p { margin-top: 2rem; margin-bottom: 1rem; }

/* Headings inside content: shared top margin */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.series-content h1,
.series-content h2,
.series-content h3,
.series-content h4,
.series-content h5,
.series-content h6,
.project-content h1,
.project-content h2,
.project-content h3,
.project-content h4,
.project-content h5,
.project-content h6 { margin-top: 1.55em; margin-bottom: .5em; line-height: 1.35; font-weight: 700; }
.entry-content h1,
.series-content h1,
.project-content h1 { font-size: 1.75rem; }
.entry-content h2,
.series-content h2,
.project-content h2 { font-size: 1.5rem; }
.entry-content h3,
.series-content h3,
.project-content h3 { font-size: 1.25rem; }
.entry-content h4,
.series-content h4,
.project-content h4 { font-size: 1.125rem; }
.entry-content h5,
.series-content h5,
.project-content h5 { font-size: 1rem; }
.entry-content h6,
.series-content h6,
.project-content h6 { font-size: 0.875rem; }

/* Emphasis */
.entry-content strong,
.entry-content b,
.series-content strong,
.series-content b,
.project-content strong,
.project-content b { font-weight: 700; }

/* Blockquote */
.entry-content blockquote,
.series-content blockquote,
.project-content blockquote { border-left: 3px solid var(--ffp-border); margin: 12px 0; padding: 6px 12px; color: var(--ffp-muted); background: transparent; }

/* Tables with scroll hints */
.entry-content .table-responsive,
.series-content .table-responsive,
.project-content .table-responsive { 
  position: relative;
  width: 100%; 
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid var(--ffp-border);
}

.entry-content .table-responsive table,
.series-content .table-responsive table,
.project-content .table-responsive table { 
  min-width: 640px; 
  margin: 0;
  border: none;
}

.entry-content table,
.series-content table,
.project-content table { 
  width: 100%; 
  border-collapse: collapse; 
  position: relative;
}

/* Auto-wrap tables that don't have .table-responsive wrapper */
.entry-content table:not(.table-responsive table),
.series-content table:not(.table-responsive table),
.project-content table:not(.table-responsive table) {
  display: block; 
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid var(--ffp-border);
  position: relative;
}

/* Tooltips removed */

/* Table scroll animations and hints removed */

/* Scroll gradient indicators removed */

.entry-content th, .entry-content td,
.series-content th, .series-content td,
.project-content th, .project-content td { 
  border: 1px solid var(--ffp-border); 
  padding: 8px; 
  text-align: left; 
  white-space: nowrap; 
}

.entry-content th,
.series-content th,
.project-content th { 
  background: var(--ffp-hover-bg); 
  font-weight: 600; 
  position: sticky;
  top: 0;
  z-index: 3;
}

/* JavaScript-controlled table states */
.ffp-table-no-scroll .ffp-table-scroll-controls {
  display: none;
}

/* Scroll progress indicator removed */

/* Touch-friendly scroll area indicator */
.ffp-table-scrollable {
  cursor: grab;
}

.ffp-table-scrollable:active {
  cursor: grabbing;
}

/* Table scroll buttons - positioned below table */
.ffp-table-scroll-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.ffp-table-scroll-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ffp-border);
  border-radius: 50%;
  background: var(--ffp-panel-bg);
  color: var(--ffp-fg);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ffp-table-scroll-btn:hover:not(:disabled) {
  background: var(--ffp-primary);
  color: white;
  border-color: var(--ffp-primary);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(11, 95, 255, 0.3);
}

.ffp-table-scroll-btn:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

[data-theme="dark"] .ffp-table-scroll-btn {
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .ffp-table-scroll-btn:hover:not(:disabled) {
  background: var(--ffp-primary);
  border-color: var(--ffp-primary);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

/* Hide scroll buttons on mobile touch devices */
@media (hover: none) and (pointer: coarse) {
  .ffp-table-scroll-btn {
    display: none;
  }
}

/* Mobile specific adjustments for scroll controls */
@media (max-width: 768px) {
  .ffp-table-scroll-controls {
    gap: 8px;
    margin-top: 8px;
  }
  
  .ffp-table-scroll-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

/* Code blocks */
.entry-content code, .entry-content pre,
.series-content code, .series-content pre,
.project-content code, .project-content pre { background: var(--ffp-hover-bg); color: var(--ffp-fg); }
.entry-content pre,
.series-content pre,
.project-content pre { padding: 10px; border-radius: 6px; overflow: auto; }

.entry-content figure,
.series-content figure,
.project-content figure { margin: 1em 0; }
.entry-content caption,
.series-content caption,
.project-content caption { color: var(--ffp-muted); }

/* Footer tags */
.entry-footer { margin-top: 20px; }
.entry-footer .entry-tags { display:flex; flex-wrap: wrap; gap: 6px; }
.entry-footer .entry-tags a { display:inline-block; padding: 4px 8px; border: 1px solid var(--ffp-border); border-radius: 999px; background: var(--ffp-panel-bg); color: var(--ffp-muted); font-size: 0.8125rem; text-decoration: none; }
.entry-footer .entry-tags a:hover { background: var(--ffp-hover-bg); color: var(--ffp-fg); text-decoration: none; }

/* Share & Bookmark */
.entry-footer .entry-share { margin-top: 10px; display:flex; align-items:center; gap:8px; }
.entry-footer .entry-share .button { border-radius: 10px; padding: 6px 12px; font-size: 13px; border:1px solid var(--ffp-border); background: var(--ffp-panel-bg); color: var(--ffp-fg); cursor:pointer; }
.entry-footer .entry-share .share-wrap .button:hover { background: var(--ffp-hover-bg);color: var(--ffp-fg)!important; }
.entry-footer .share-wrap { position: relative; }
.entry-footer .share-menu { position:absolute; right:0; top:0; transform: translateX(calc(100% + 8px)); background: var(--ffp-panel-bg); border:1px solid var(--ffp-border); border-radius: 12px; box-shadow: 0 10px 24px var(--ffp-shadow-soft-color); padding: 6px; display: grid; grid-template-columns: 1fr; gap: 4px; min-width: 170px; }
.entry-footer .share-menu[hidden] { display:none; }
.entry-footer .share-item { display:block; width:100%; text-align:left; padding:8px 10px; border-radius:8px; border:0; background:transparent; color: var(--ffp-fg); cursor:pointer; font-size:13px;}
.entry-footer .share-item:hover { background: var(--ffp-hover-bg); }
.entry-footer .btn-share { display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.entry-footer .btn-bookmark { display:inline-flex; align-items:center; gap:6px; }
.entry-footer .btn-bookmark.is-active,
.entry-footer .btn-bookmark.is-active:hover { background: var(--ffp-primary); color: #fff; border-color: var(--ffp-primary); }
/* Like button follows bookmark style */
.entry-footer .btn-like { display:inline-flex; align-items:center; gap:6px; }
.entry-footer .btn-like .icon { display:inline-flex; }
.entry-footer .btn-like .count { margin-left: 2px; font-variant-numeric: tabular-nums; }
.entry-footer .btn-like.is-active,
.entry-footer .btn-like.is-active:hover { background: var(--ffp-primary); color:#fff; border-color: var(--ffp-primary); }
/* micro interaction */
.entry-footer .btn-like.is-pulse { animation: ffp-like-pulse 180ms ease; }
@keyframes ffp-like-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Pagination */
.pagination { 
  margin: 16px 0 8px; 
  display: flex !important; 
  align-items: center; 
  justify-content: center; 
  width: 100%;
}

.pagination .nav-links { 
  display: flex !important; 
  flex-direction: row !important; 
  flex-wrap: wrap; 
  gap: 8px; 
  align-items: center; 
  justify-content: center; 
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pagination .nav-links .page-numbers {
  display: inline-flex !important; 
  align-items: center; 
  justify-content: center;
  min-width: 36px; 
  height: 36px; 
  padding: 0 10px;
  border: 1px solid var(--ffp-border); 
  border-radius: 10px;
  background: var(--ffp-panel-bg); 
  color: var(--ffp-fg);
  text-decoration: none; 
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.pagination .nav-links .page-numbers:hover { 
  background: var(--ffp-hover-bg); 
  text-decoration: none; 
}

.pagination .nav-links .page-numbers.current {
  background: var(--ffp-primary); 
  border-color: var(--ffp-primary); 
  color: #fff;
  font-weight: 700; 
  cursor: default;
}

.pagination .nav-links .page-numbers.dots { 
  border: 0; 
  background: transparent; 
  cursor: default; 
}

.pagination .nav-links .prev, 
.pagination .nav-links .next { 
  padding: 0 12px; 
}

/* Force horizontal layout for all pagination variations */
.wp-pagenavi,
.wp-pagenavi .pages,
.navigation.pagination,
.navigation.paging-navigation {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.wp-pagenavi a,
.wp-pagenavi span,
.navigation.pagination a,
.navigation.paging-navigation a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Archive and search page specific fixes */
.archive .pagination,
.search .pagination {
  margin: 24px 0 16px;
  clear: both;
}

/* Mobile responsive pagination */
@media (max-width: 640px) {
  .pagination .nav-links {
    gap: 4px;
  }
  
  .pagination .nav-links .page-numbers {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }
  
  .pagination .nav-links .prev, 
  .pagination .nav-links .next {
    padding: 0 10px;
  }
}

/* Footer */
.site-footer { border-top: 1px solid var(--ffp-border); margin-top: 24px; }
.site-footer .container { padding: 16px 0; }
.site-footer .footer-nav .footer-menu { display:flex; flex-wrap:wrap; gap: 8px; list-style:none; padding:0; margin:0 0 6px 0; }
.site-footer .footer-nav .footer-menu a { display:inline-block; padding:6px 8px; border-radius:8px; color: var(--ffp-fg); text-decoration:none; font-size: 13px; }
.site-footer .footer-nav .footer-menu a:hover { background: var(--ffp-hover-bg); text-decoration:none; }
.site-footer .footer-meta { color: var(--ffp-muted); font-size: 13px; margin: 6px 0; }
.site-footer .footer-copy { color: var(--ffp-muted); font-size: 13px; margin: 6px 0 0; }

/* Go to top button */
.ffp-gotop{ position: fixed; right: 16px; bottom: 16px; z-index: 100000; display: inline-flex; align-items: center; justify-content:center; width: 48px; height: 48px; padding: 0; border-radius: 999px; border: 1px solid var(--ffp-border); background: var(--ffp-panel-bg); color: var(--ffp-fg); box-shadow: 0 10px 24px var(--ffp-shadow-soft-color); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, filter .15s ease; }
[data-theme="dark"] .ffp-gotop{ border-color: var(--ffp-border); }

/* Mobile TOC toggle button (<=768px) */
.ffp-toc-toggle{ position: fixed; right: 16px; bottom: 72px; z-index: 100000; display: inline-flex; align-items:center; justify-content:center; width: 48px; height:48px; border-radius:999px; border:1px solid var(--ffp-border); background: var(--ffp-panel-bg); box-shadow: 0 10px 24px var(--ffp-shadow-soft-color); cursor:pointer; opacity:0; pointer-events:none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.ffp-toc-toggle.is-show{ opacity:1; pointer-events:auto; transform: translateY(0); }
@media (min-width: 1025px){ .ffp-toc-toggle{ display:none !important; } }
/* icon color handle via currentColor */
.ffp-toc-toggle svg{ color: var(--ffp-fg); stroke: currentColor; }
[data-theme="dark"] .ffp-toc-toggle{ border-color: var(--ffp-border); }

/* Floating TOC panel (mobile/tablet) */
.ffp-toc-panel{ position: fixed; right: 0; bottom: 72px; z-index: 100001; width: 86%; max-width: 360px; background: var(--ffp-panel-bg); border:1px solid var(--ffp-border); border-radius: 12px 0 0 12px; box-shadow: 0 10px 24px var(--ffp-shadow-soft-color); transform: translateX(110%); transition: transform .25s ease; max-height: 50vh; overflow: auto; overscroll-behavior: contain; padding: 10px; }
.ffp-toc-panel.is-open{ transform: translateX(0); }
.ffp-toc-overlay{ position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.2); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.ffp-toc-overlay.is-show{ opacity: 1; pointer-events: auto; }
.ffp-gotop:hover{ filter: brightness(.98); }
.ffp-gotop.is-show{ opacity: 1; pointer-events: auto; transform: translateY(0); }
.ffp-gotop__icon{ display:inline-flex; width: 20px; height: 20px; align-items:center; justify-content:center; }
.ffp-gotop__label{ display:none; }
[data-theme="dark"] .ffp-gotop{ border-color: var(--ffp-border); }

/* Account page */
.account-section { background: var(--ffp-panel-bg); border:1px solid var(--ffp-border); border-radius:12px; padding:14px; margin:12px 0; box-shadow: var(--ffp-shadow-sm); }
.account-section h2 { margin:0 0 10px; font-size:16px; }
.account-section .ffp-inline { display:flex; gap:8px; align-items:center; flex-wrap: wrap; }
.account-section input[type="text"] { border:1px solid var(--ffp-border); background:var(--ffp-bg); color: var(--ffp-fg); border-radius:10px; padding:8px 10px; }
.account-section .ffp-kv { display:grid; grid-template-columns: max-content 1fr; row-gap: 6px; column-gap: 12px; align-items:center; margin: 6px 0 10px; }
.account-section .ffp-kv dt { color: var(--ffp-muted); font-weight: 600; }
.account-section .ffp-kv dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex;align-items: center;gap: 10px;}
.account-comments, .account-bookmarks { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.account-comments a, .account-bookmarks a { color: var(--ffp-fg); text-decoration:none; }
.account-comments a:hover, .account-bookmarks a:hover { text-decoration: underline; }
.account-section .table-responsive { width:100%; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling: touch; border:1px solid var(--ffp-border); border-radius:12px; }
.account-section .table-responsive { touch-action: pan-x; }
.account-table { width:100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.account-table { min-width: 720px; }
.account-table th, .account-table td { border-bottom: 1px solid var(--ffp-border); padding: 8px 10px; text-align:left; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-table th:nth-child(3), .account-table td:nth-child(3) { width: 140px; }
.account-table th:nth-child(4), .account-table td:nth-child(4) { width: 88px; text-align: right; }
.account-table th { background: var(--ffp-hover-bg); font-weight:600; position: sticky; top: 0; z-index: 1; }
.account-table tr:last-child td { border-bottom: 0; }
.account-table a { display:block; color:var(--ffp-fg); text-decoration:none; border-radius:8px; padding:4px 10px; overflow:hidden; text-overflow:ellipsis; }
.account-table td:nth-child(2) a { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; }
.account-table a:hover { background:var(--ffp-hover-bg); }
.account-table td .button { padding: 4px 8px; border-radius: 8px; border:1px solid var(--ffp-border); background: var(--ffp-panel-bg); color: var(--ffp-fg); cursor:pointer; font-size: 12px; }
.account-table td .button:hover { background: var(--ffp-hover-bg); }
.account-section #ffp-nickname-save { padding: 6px 12px; border-radius: 10px; border:1px solid var(--ffp-border); background: var(--ffp-panel-bg); color: var(--ffp-fg); cursor:pointer; }
.account-section #ffp-nickname-save:hover { background: var(--ffp-hover-bg); }

/* Account danger button (delete) */
.account-section .btn-danger { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:10px; border:1px solid #ef4444; background:#ef4444; color:#fff; font-weight:700; cursor:pointer; }
.account-section .btn-danger:hover { filter:brightness(.98); }
.account-section #ffp-attend { padding: 6px 12px; border-radius: 10px; border:1px solid var(--ffp-border); background: var(--ffp-panel-bg); color: var(--ffp-fg); cursor:pointer; }
.account-section #ffp-attend.is-active, .account-section #ffp-attend:disabled { background: var(--ffp-primary); color:#fff; border-color: var(--ffp-primary); cursor: default; }

/* Responsive video embeds */
.entry-content .ffp-embed,
.entry-content .ffp-embed-16x9 { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.entry-content .ffp-embed-4x3 { position: relative; width: 100%; padding-bottom: 75%; height: 0; overflow: hidden; }
.entry-content .ffp-embed iframe,
.entry-content .ffp-embed-16x9 iframe,
.entry-content .ffp-embed-4x3 iframe,
.entry-content .ffp-embed embed,
.entry-content .ffp-embed object,
.entry-content .ffp-embed-16x9 embed,
.entry-content .ffp-embed-4x3 embed,
.entry-content .ffp-embed-16x9 object,
.entry-content .ffp-embed-4x3 object { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Gutenberg YouTube/Vimeo block fallback */
.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Generic iframe fallback */
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo.com"] { width: 100% !important; aspect-ratio: 16 / 9; height: auto; }

/* Widgets */
.widget { border: 1px solid var(--ffp-border); background: var(--ffp-panel-bg); padding: 12px 12px 22px 12px; border-radius: 28px; }
.widget.module--search{ padding: 0 !important; border:none !important;}
.widget + .widget { margin-top: 16px; }
.widget-title { font-weight: 600; margin-bottom: 8px; font-size:16px;padding: 10px 10px 0 10px;}
/* Widget: Search */
/* Widget: Module common list */
.module .module-list { display: grid; gap: 8px; }
.module .module-item {display:flex;align-items: flex-start;gap: 4px;flex-direction: column;line-height: 1.4;padding: 5px 10px;}
.module .module-item:hover {background: var(--ffp-hover-bg);border-radius: 8px;}
.module .module-item .module-link {text-decoration: none !important;display:block;width: 100%;}
.module .module-item .module-title { display:block; color: var(--ffp-fg); font-size: 14px;}
.module .module-item .module-link:hover .module-title {color: var(--ffp-primary);}
.module .module-item .module-date { color: var(--ffp-muted); font-size: 12px; }

/* Most viewed weekly layout */
.module.module--most_viewed_week .mv-list { display: grid; gap: 8px; }
.module.module--most_viewed_week .mv-item .module-link { display:flex; align-items:flex-start; gap:10px; }
.module.module--most_viewed_week .mv-rank { flex:0 0 18px; width:18px; text-align:center; font-weight:700; color: var(--ffp-muted); }
.module.module--most_viewed_week .module-title {flex: 1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;display: flex;flex-direction: column;align-items: flex-start;}
.module.module--most_viewed_week .module-thumb { flex:0 0 64px; width:64px; height:64px; border-radius:10px; overflow:hidden; display:block; }
.module.module--most_viewed_week .module-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

/* Make recent_posts share the same look as most_viewed_week (without rank) */
.module.module--recent_posts .module-list { display:grid; gap:8px; }
.module.module--recent_posts .module-item .module-link { display:flex; align-items:flex-start; gap:10px; }
.module.module--recent_posts .module-title { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; display:flex; flex-direction:column; align-items:flex-start; }
.module.module--recent_posts .module-thumb { flex:0 0 64px; width:64px; height:64px; border-radius:10px; overflow:hidden; display:block; }
.module.module--recent_posts .module-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

/* Widget: Tag cloud module */
.module.module--tag_cloud .module-tags a { display:inline-block; padding: 4px 8px; border:1px solid var(--ffp-border); border-radius: 999px; text-decoration:none; color: var(--ffp-fg); margin: 4px 6px 0 0; }
.module.module--tag_cloud .module-tags a:hover { background: var(--ffp-hover-bg); }

/* Widget: Categories tree */
.module.module--categories .cat-tree { list-style: none; padding-left: 0; margin: 0; }
.module.module--categories .cat-tree li {padding: 0;}
.module.module--categories .cat-tree li a { color: var(--ffp-fg); text-decoration: none; padding: 4px 10px;display:block;font-size:14px;border-radius: 8px;}
.module.module--categories .cat-tree li a:hover { text-decoration: underline; background: var(--ffp-hover-bg);text-decoration: none;}
.module.module--categories .cat-tree li ul { list-style: none; margin-left: 6px; padding-left: 6px; border-left: 1px dashed var(--ffp-border); }
.widget_search .search-form,
.module-search .search-form,
.drawer-search .search-form { display:flex; gap:8px; }
.widget_search .search-field,
.module-search .search-field,
.drawer-search .search-field { flex:1 1 auto; min-width:0; font-size:14px; border:1px solid var(--ffp-border); background: var(--ffp-bg); color: var(--ffp-fg); border-radius:10px; padding:10px 12px; }
.widget_search .search-field::placeholder,
.module-search .search-field::placeholder,
.drawer-search .search-field::placeholder { color: var(--ffp-muted); }
.widget_search .search-submit,
.module-search .search-submit,
.drawer-search .search-submit { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; border:1px solid var(--ffp-primary); background: var(--ffp-primary); color:#fff; border-radius: 28px; padding:10px 12px; cursor:pointer; }
.widget_search .search-submit:hover,
.module-search .search-submit:hover,
.drawer-search .search-submit:hover { filter: brightness(0.95); }
.widget_search .search-submit .icon,
.module-search .search-submit .icon,
.drawer-search .search-submit .icon { display:inline-flex; }

/* Comments (div-based) */
.comments-area { margin-top: 32px; }
.comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ffp-border); }
.comments-area .comment.depth-2,
.comments-area .comment.depth-3,
.comments-area .comment.depth-4,
.comments-area .comment.depth-5,
.comments-area .comment.depth-6,
.comments-area .comment.depth-7 { padding-left: 35px; }
.comment-avatar {flex: 0 0 35px;}
.comment-avatar img { border-radius: 50%; height: 35px;}
.comment-header { display: flex; gap: 8px; align-items: baseline; }
.comment-author { font-weight: 600; display: flex; align-items: center; }
.comment-author img {display: block;height: 13px!important;}
.comment-author a {color: var(--ffp-fg) !important;}
.comment-date { color: var(--ffp-muted); font-size: 0.875rem; }
.comment-date a {color:var(--ffp-muted) !important;}
.comment-content { margin-top: 4px; }
.comment-actions { margin-top: 6px; font-size: 0.875rem; }
.comments-title { font-weight: 700; margin: 12px 0; }
.comment a { color: var(--ffp-primary); }
.no-comments { color: var(--ffp-muted); }
.comment-moderation { color: var(--ffp-muted); }

/* Comment form */
.comment-respond {
  margin-top: 16px;
  border: 1px solid var(--ffp-border);
  border-radius: 28px;
  padding: 16px;
  background: linear-gradient(105.89deg, #fff9 11.3%, #fff3 90.1%), linear-gradient(0deg, #fff3, #fff3);
  box-shadow: inset -1px -1px 4px #fffc;
  overflow: hidden;
}
[data-theme="dark"] .comment-respond {
  background: linear-gradient(105.89deg, rgba(17,24,39,.44) 11.3%, rgba(17,24,39,.2) 90.1%), linear-gradient(0deg, rgba(17,24,39,.2), rgba(17,24,39,.2));
  box-shadow: inset -1px -1px 4px rgba(255,255,255,.04);
}
.comment-respond label { display:block; margin-bottom:6px; color: var(--ffp-muted); }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea { width:100%; border:1px solid var(--ffp-border); background: var(--ffp-bg); color: var(--ffp-fg); border-radius: 28px; padding:8px 10px; }
.comment-respond input[type="submit"], .comment-respond .submit { background: var(--ffp-primary); color:#fff; border:0; border-radius: 28px;font-size: 14px; padding:6px 18px; cursor:pointer; }
.comment-respond input[type="submit"]:hover, .comment-respond .submit:hover { filter: brightness(0.95); }

/* Removed WP visual editor overrides; reverted to default textarea comment form */

/* Removed topics forum styles */

/* Header navigation dropdown */
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: inline-flex; align-items: center; padding: 6px 8px; color: var(--ffp-fg); border-radius:8px; font-size:13px; text-decoration: none; }
.site-nav .menu > li > a:hover { background: var(--ffp-hover-bg); text-decoration: none !important;}
.site-nav .menu li .sub-menu { position: absolute; top: 100%; right: 0; left: auto; min-width: 180px; display: none; z-index: 1001; background: var(--ffp-panel-bg); border: 1px solid var(--ffp-border); box-shadow: 0 10px 24px var(--ffp-shadow-soft-color); padding: 6px; margin: 0; list-style: none; border-radius: 10px; }
.site-nav .menu li:hover > .sub-menu,
.site-nav .menu li:focus-within > .sub-menu,
.site-nav .menu li.is-open > .sub-menu { display: block; }
.site-nav .menu li .sub-menu li { position: relative; }
.site-nav .menu li .sub-menu a { display: block; padding: 8px 10px; white-space: nowrap; height: auto; line-height: 1.4; color: var(--ffp-fg); border-radius: 8px; font-size: 13px; }
.site-nav .menu li .sub-menu a:hover { background: var(--ffp-hover-bg); text-decoration: none; }
.site-nav .menu li .sub-menu .sub-menu { top: 0; right: 100%; left: auto; margin-right: 2px; }
.site-nav .menu .menu-item-has-children > a::after { content: '▾'; font-size: .8em; margin-left: 6px; opacity: .7; }
.site-nav .menu .menu-item-has-children .sub-menu .menu-item-has-children > a::after { content: '▸'; }

/* Header auth */
.site-header .header-inner { display:flex; align-items:center; justify-content:space-between; }
.site-header .site-nav { display:flex; align-items:center; gap:2px; }
.site-header .site-nav .menu { display:flex; gap:0; }
.site-header .nav-auth { display:flex; align-items:center; gap:0px; position:relative; }
.site-branding { display:flex; align-items:center; }
.site-branding .site-title { display:inline-flex; align-items:center; text-decoration:none; color: var(--ffp-fg); font-weight:700; font-size: 18px; }
.brand-logo { display:inline-flex; align-items:center; }
.brand-logo picture, .brand-logo img { display:block; height: 28px; }
.brand-logo--dark { display:none; }
[data-theme="dark"] .brand-logo--light { display:none; }
[data-theme="dark"] .brand-logo--dark { display:inline-flex; }

.site-header .button.button-small { padding:6px 8px; font-size:13px; border:none; background:transparent; }
.site-header .button.button-small:hover { background: var(--ffp-hover-bg); }
.site-header .nav-user { color: var(--ffp-muted); font-size:14px; }
.site-header .nav-userbox { position: relative; }
.site-header .nav-userbtn { display:inline-flex; align-items:center; gap:8px; border:none; background:transparent; cursor:pointer; padding:6px 8px; border-radius:8px; font-size: 13px; color: var(--ffp-fg); }
.site-header .nav-userbtn:hover { background: var(--ffp-hover-bg); }
.site-header .nav-userbtn .nav-avatar img {
  width:24px;height:24px;border-radius: 100%;
}
.site-header .user-menu[hidden] { display:none !important; }
.site-header .user-menu { position:absolute; right:0; top:100%; margin-top:6px; background: var(--ffp-panel-bg); border:1px solid var(--ffp-border); border-radius:10px; box-shadow:0 10px 24px var(--ffp-shadow-soft-color); min-width:180px; padding:6px; }
.site-header .user-menu a { display:block; padding:8px 10px; border-radius:8px; color: var(--ffp-fg); text-decoration:none; font-size:13px;}
.site-header .user-menu a:hover { background: var(--ffp-hover-bg); }
.site-header .login-menu { position:absolute; right:0; top:100%; margin-top:6px; background: var(--ffp-panel-bg); border:1px solid var(--ffp-border); border-radius:10px; box-shadow:0 10px 24px var(--ffp-shadow-soft-color); min-width:180px; padding:6px; display:none; }
.site-header .login-menu.is-open { display:block; }
.site-header .login-menu a { display:block; padding:8px 10px; border-radius:8px; color: var(--ffp-fg); text-decoration:none; }
.site-header .login-menu a:hover { background: var(--ffp-hover-bg); }
.site-header .login-menu a svg { vertical-align:middle; }

/* Header icons visibility & spacing */
.site-header .nav-auth .nav-dark { display: inline-flex; }
.site-header .nav-auth .nav-hamburger { display: none; }
.site-header .nav-auth .nav-dark .icon,
.site-header .nav-auth .nav-hamburger .icon { display:inline-flex; }
.site-header .nav-auth .nav-dark svg,
.site-header .nav-auth .nav-hamburger svg { width:20px; height:20px; }
/* Notification bell */
.site-header .nav-auth .nav-bell { display:inline-flex; position:relative; margin: 0 6px; }
.site-header .nav-auth .nav-bell .icon svg{ width:20px; height:20px; }
.site-header .nav-auth .nav-bell .badge { position:absolute; top:-4px; right:-4px; min-width:16px; height:16px; padding:0 4px; background:#ef4444; color:#fff; border-radius:999px; font-size:11px; display:flex; align-items:center; justify-content:center; }

/* Bell panel */
.ffp-bell-panel{ position:fixed; z-index: 100000; background: var(--ffp-panel-bg); border:1px solid var(--ffp-border); border-radius:12px; box-shadow: 0 10px 24px var(--ffp-shadow-soft-color); min-width:320px; max-width:420px; max-height: 70vh; overflow:auto; }
.ffp-bell-header{ padding:8px 10px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--ffp-border); position: sticky; top:0; background: var(--ffp-panel-bg); }
.ffp-bell-empty{ padding:12px; font-size: 13px; }
.ffp-bell-item{ padding:12px; border-bottom:1px solid var(--ffp-border); display:flex; flex-direction:column; gap:6px; align-items: flex-start;}
.ffp-bell-item .ts{ font-size:12px; color: var(--ffp-muted); }
.ffp-bell-item .msg{ line-height:1.5; font-size: 13px;}
.ffp-bell-panel .btn{ padding:2px 10px; border-radius:8px; border:1px solid var(--ffp-border); background: var(--ffp-panel-bg); cursor:pointer; color:var(--ffp-fg); font-size:12px; }
.ffp-bell-panel .btn:hover{ background: var(--ffp-hover-bg); }
.ffp-bell-actions{ display:flex; gap:8px; justify-content:flex-end; }

@media (max-width: 480px){
  .ffp-bell-panel{ min-width: calc(100vw - 16px); max-width: calc(100vw - 16px); right:8px !important; left:8px; }
}

/* Hide desktop nav at <=1024px; show hamburger, dark toggle remains visible */
@media (max-width: 1024px) {
  .site-header .site-nav .menu { display: none; }
  .site-header .nav-auth { margin-left: auto; }
  .site-header .nav-auth .nav-dark { display: inline-flex; }
  .site-header .nav-auth .nav-bell { display: inline-flex; }
  .site-header .nav-auth .nav-hamburger { display: inline-flex; }
}

/* Modal */
.ffp-modal[hidden] { display:none; }
.ffp-modal { position: fixed; inset: 0; z-index: 10000; }
.ffp-modal__overlay { position:absolute; inset:0; background: var(--ffp-overlay); backdrop-filter: blur(2px); }
.ffp-modal__dialog { position: relative; width: 90%; max-width: 360px; margin: 10% auto; background: var(--ffp-panel-bg); border-radius: 12px; border:1px solid var(--ffp-border); box-shadow: 0 20px 48px var(--ffp-shadow-strong-color); overflow: hidden; }
.ffp-modal__header { display:flex; align-items:center; justify-content:space-between; padding: 12px 14px; border-bottom:1px solid var(--ffp-border); }
.ffp-modal__body { padding: 14px; }
.ffp-modal__body .ffp-modal__desc { margin-bottom: 12px; text-align: center;}
.ffp-modal__close { border:none; background:transparent; font-size:20px; line-height:1; cursor:pointer; color: var(--ffp-fg);}
.ffp-login-benefits { margin: 10px 0 14px; background: var(--ffp-hover-bg); border:1px solid var(--ffp-border); border-radius: 10px; padding: 12px; }
.ffp-login-benefits__title { font-weight:700; margin:0 0 6px; }
.ffp-login-benefits__list { margin:0; padding-left: 18px; }
.ffp-login-benefits__list li { margin: 2px 0; }
.ffp-login-providers { display:flex; flex-direction:column; gap:10px; align-items: center !important;}
/* New login form + icon row */
.ffp-login-form{ display:flex; flex-direction:column; gap:10px; }
.ffp-login-form input[type="text"],
.ffp-login-form input[type="password"]{ width:100%; height:40px; padding:0 12px; border:1px solid var(--ffp-border); border-radius:8px; background: var(--ffp-bg); color: var(--ffp-fg); }
.ffp-login-remember{ display:flex; align-items:center; gap:8px; font-size:13px; color: var(--ffp-muted); }
.ffp-login-submit{ width:100%; height:42px; border-radius:8px; border:1px solid var(--ffp-primary); background: var(--ffp-primary); color:#fff; cursor:pointer; }
.ffp-login-submit:hover{ filter:brightness(.98); }
.ffp-login-sep{ margin:10px 0; display:flex; align-items:center; justify-content:center; color: var(--ffp-muted); font-size:13px; }
.ffp-login-icons{ display:flex; align-items:center; justify-content:center; gap:14px; }
.ffp-login-icon{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:999px; border:1px solid var(--ffp-border); background: var(--ffp-panel-bg); }
.ffp-login-icon img{ display:block; width:22px; height:22px; }
.icon--kakao{ background:#FEE500; border-color:#F3D800; }
.icon--naver{ background:#03c75a; border-color:#03c75a; }
.icon--google{ background:#fff; }


/* Auth promo (comments login) */
.ffp-auth-promo{ padding:14px; border:1px solid var(--ffp-border); border-radius:12px; background: var(--ffp-panel-bg); box-shadow: 0 8px 18px var(--ffp-shadow-soft-color); margin: 12px 0; }
.ffp-auth-promo__title{ display:block; margin-bottom:8px; }
.ffp-auth-promo__desc{ margin:10px 0; color: var(--ffp-muted); }
.ffp-auth-promo .button{ padding:8px 12px; border-radius:10px; border:1px solid var(--ffp-border); background: var(--ffp-panel-bg);color: var(--ffp-fg); cursor:pointer; font-size:13px;}
.ffp-auth-promo .button:hover{ background: var(--ffp-hover-bg); }

/* Unified login buttons */
.ffp-login-btn {position: relative; display:flex; align-items:center; justify-content:center; gap:0; width:183px; height:45px; border-radius:6px; font-weight:700; font-size:16px; text-decoration:none; line-height:1; transition:filter .15s ease; text-decoration:none !important; }
.ffp-login-btn__icon{ display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; margin-right:0; }
.ffp-login-btn__icon img, .ffp-login-btn__icon svg{ display:block; max-width:100%; max-height:100%; }
.ffp-login-btn__label { display:inline-block; font-size: 14px; font-weight: 400; margin-left: 30px; color: #111;}

/* Google button: light surface with thin border */
.ffp-btn--google { background:#ffffff; color:#111; border:1px solid var(--ffp-border); }
.ffp-btn--google:hover { filter:brightness(0.97); }

/* Naver button: strict brand green and white, hover color unchanged */
.ffp-btn--naver { background:#03c75a; color:#fff; border:1px solid #03c75a; }
/* Hover에서도 동일한 브랜드 색상을 유지 (no tint/brightness change) */
.ffp-btn--naver:hover { background:#03c75a; border-color:#03c75a; }

/* Kakao button */
.ffp-btn--kakao { background:#FEE500; color:#111; border:1px solid #F3D800; }
.ffp-btn--kakao:hover { background:#FEE500; }
.ffp-btn--wp{ background:#1d2327; color:#fff; border:1px solid #1d2327; }
.ffp-btn--wp:hover{ filter:brightness(.98); }
/* Native Kakao button (image-as-button) */
.ffp-btn--kakao-native { background: transparent !important; border:none !important; height:45px; padding:0; border-radius:0; display:inline-flex; justify-content:flex-start; width:183px; }
.ffp-btn--kakao-native img{ display:block; height:45px; width:183px; object-fit:cover; }

.ffp-btn--naver .ffp-login-btn__icon{width:22px;height:37px;margin-right:10px;position:absolute;left:10px;}
.ffp-btn--naver .ffp-login-btn__icon img{ width:auto; height:100%; object-fit:cover; }
.ffp-btn--google .ffp-login-btn__icon svg{ width:20px; height:20px; }
.ffp-btn--kakao .ffp-login-btn__icon svg{ width:42px; height:42px; }
.ffp-btn--naver .ffp-login-btn__label { margin-left: 0; color: #fff !important;}
 

/* Drawer */
.ffp-drawer[hidden] { display:none; }
.ffp-drawer { position: fixed; inset: 0; z-index: 999999; }
.ffp-drawer__overlay { position:absolute; inset:0; background: var(--ffp-overlay); }
.ffp-drawer__panel { position:absolute; right:0; top:0; bottom:0; width: 86%; max-width: 360px; background: var(--ffp-panel-bg); border-left:1px solid var(--ffp-border); box-shadow: -20px 0 48px var(--ffp-shadow-strong-color); transform: translateX(100%); transition: transform .25s ease; display:flex; flex-direction:column; overflow: hidden; }
.ffp-drawer.is-open .ffp-drawer__panel { transform: translateX(0); }
.ffp-drawer__header { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid var(--ffp-border); }
.ffp-drawer__close { border:none; background:transparent; font-size:20px; cursor:pointer; }
.ffp-drawer__body { padding:14px; overflow-y: auto; overflow-x: hidden; }
.drawer-brand { font-weight:700; text-decoration:none; color: var(--ffp-fg); }
.drawer-nav .drawer-menu { list-style:none; margin:0; padding:0; }
.drawer-nav .drawer-menu li a { display:block; padding:10px 8px; border-radius:8px; color: var(--ffp-fg); text-decoration:none; }
.drawer-nav .drawer-menu li a:hover { background: var(--ffp-hover-bg); }
.drawer-nav {
  padding:25px 0;
}
.drawer-nav ul, .drawer-nav li {
  list-style: none;
  padding: 0;
}
.drawer-nav ul.sub-menu li a {
  padding-left: 20px;
  font-size: 14px;
}
@media (min-width: 1025px) {
  .ffp-drawer { display:none; }
}

[data-theme="dark"] .site-header .nav-auth .nav-dark,
[data-theme="dark"] .site-header .nav-auth .nav-hamburger { color: #fff; }

/* Cookie consent bar (modern, compact, centered) */
.ffp-cookiebar{
  position:fixed; left:50%; bottom:calc(env(safe-area-inset-bottom, 0px) + 12px); transform:translateX(-50%); z-index:100000;
  background:var(--ffp-panel-bg); color:var(--ffp-fg);
  border:1px solid var(--ffp-border); border-radius:14px;
  box-shadow:0 12px 32px var(--ffp-shadow-soft-color);
  max-width:min(640px, calc(100% - 24px)); width:auto;
}

/* Recommended post popup */
.ffp-reco{ position:fixed; left:16px; bottom:16px; z-index:100000; max-width:360px; width:calc(100vw - 32px); transition: transform .25s ease, opacity .25s ease; transform: translateX(-20px); opacity:0; }
.ffp-reco.is-open{ transform: translateX(0); opacity:1; }
.ffp-reco[hidden]{ display:none; }
.ffp-reco__outer{
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 28px;
  box-shadow: inset 1px 1px 4px #fff9;
}
.ffp-reco__inner{
  background: linear-gradient(105.89deg, #fff9 11.3%, #fff3 90.1%), linear-gradient(0deg, #fff3, #fff3);
  border-radius: 28px;
  box-shadow: inset -1px -1px 4px #fffc;
  border: 1px solid var(--ffp-border);
  overflow:hidden;
}
.ffp-reco__link{ display:flex; gap:12px; padding:12px; text-decoration:none; color: var(--ffp-fg); align-items:flex-start; }
.ffp-reco__link:hover, .ffp-reco__link:focus, .ffp-reco__link:active{ text-decoration: none; }
.ffp-reco__media{ flex:0 0 72px; width:72px; height:72px; border-radius:14px; overflow:hidden; background: var(--ffp-hover-bg); border:1px solid var(--ffp-border); }
.ffp-reco__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.ffp-reco__body{ flex:1 1 auto; min-width:0; }
.ffp-reco__label{ display:inline-block; font-size:12px; color: var(--ffp-muted); margin-top:2px; }
.ffp-reco__title{ margin:4px 0 4px; font-size:16px; line-height:1.35; color: var(--ffp-fg); overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ffp-reco__desc{ margin:0; font-size:13px; color: var(--ffp-muted); overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ffp-reco__close{ position:absolute; top:8px; right:10px; border:none; background:transparent; color: var(--ffp-muted); cursor:pointer; font-size:18px; line-height:1; padding:4px; border-radius:8px; }
.ffp-reco__close:hover{ background: var(--ffp-hover-bg); color: var(--ffp-fg); }

@media (max-width: 480px){
  .ffp-reco{ left:8px; right:auto; bottom:8px; max-width: none; }
}

/* Dark mode overrides */
[data-theme="dark"] .ffp-reco__outer{ box-shadow: inset 1px 1px 4px rgba(255,255,255,.06); }
[data-theme="dark"] .ffp-reco__inner{
  background: linear-gradient(105.89deg, rgba(17,24,39,.44) 11.3%, rgba(17,24,39,.2) 90.1%), linear-gradient(0deg, rgba(17,24,39,.2), rgba(17,24,39,.2));
  box-shadow: inset -1px -1px 4px rgba(255,255,255,.04);
}
[data-theme="dark"] .ffp-reco__media{ background: rgba(255,255,255,.04); }

.ffp-cookiebar__inner{ padding:10px 12px; display:flex; align-items:center; gap:12px; }
.ffp-cookiebar__msg{ flex:1; font-size:14px; line-height:1.45; }
.ffp-cookiebar__actions{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.ffp-cookiebar__link{ color:var(--ffp-primary); text-decoration:underline; font-size:13px; }
.ffp-cookiebar__btn{ background:var(--ffp-primary); color:#fff; border:none; border-radius:10px; height:32px; padding:0 12px; cursor:pointer; font-weight:400; font-size:13px; }
@media (max-width: 720px){
  .ffp-cookiebar{ max-width: calc(100% - 16px); border-radius:12px; width: 100%;}
  .ffp-cookiebar__msg{ font-size:13px; }
  .site-header .nav-user { display:none !important; }
}
@media (max-width: 420px){
  .ffp-cookiebar__inner{ flex-direction:column; align-items:stretch; gap:8px; }
  .ffp-cookiebar__actions{ justify-content:space-between; width:100%; gap:8px; }
  .ffp-cookiebar__btn{ flex:1; height:34px; }
}

/* Gradient + inset style reuse: tag cloud, entry tags, search fields */
.module.module--tag_cloud .module-tags a,
.entry-footer .entry-tags a{
  background: linear-gradient(105.89deg, #fff9 11.3%, #fff3 90.1%), linear-gradient(0deg, #fff3, #fff3);
  border-radius: 28px;
  box-shadow: inset -1px -1px 4px #fffc;
  border: 1px solid var(--ffp-border);
  overflow: hidden;
}
[data-theme="dark"] .module.module--tag_cloud .module-tags a,
[data-theme="dark"] .entry-footer .entry-tags a{
  background: linear-gradient(105.89deg, rgba(17,24,39,.44) 11.3%, rgba(17,24,39,.2) 90.1%), linear-gradient(0deg, rgba(17,24,39,.2), rgba(17,24,39,.2));
  box-shadow: inset -1px -1px 4px rgba(255,255,255,.04);
}

.widget_search .search-field,
.module-search .search-field,
.drawer-search .search-field{
  background: linear-gradient(105.89deg, #fff9 11.3%, #fff3 90.1%), linear-gradient(0deg, #fff3, #fff3);
  border-radius: 28px;
  box-shadow: inset -1px -1px 4px #fffc;
  border: 1px solid var(--ffp-border);
  overflow: hidden;
}
[data-theme="dark"] .widget_search .search-field,
[data-theme="dark"] .module-search .search-field,
[data-theme="dark"] .drawer-search .search-field{
  background: linear-gradient(105.89deg, rgba(17,24,39,.44) 11.3%, rgba(17,24,39,.2) 90.1%), linear-gradient(0deg, rgba(17,24,39,.2), rgba(17,24,39,.2));
  box-shadow: inset -1px -1px 4px rgba(255,255,255,.04);
}

/* Modern ads block styling */
.ads-block {
  position: relative;
  margin: 2rem auto;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, 
    var(--ffp-panel-bg) 0%, 
    rgba(11, 95, 255, 0.02) 50%, 
    var(--ffp-panel-bg) 100%
  );
  border: 1px solid var(--ffp-border);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.ads-block::after {
  content: '광고 영역';
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  background: linear-gradient(135deg, 
    rgba(11, 95, 255, 0.1), 
    rgba(11, 95, 255, 0.05)
  );
  color: var(--ffp-primary);
  border: 1px solid rgba(11, 95, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(11, 95, 255, 0.1);
  letter-spacing: 0.02em;
  z-index: 1;
}

.ads-block:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px -4px rgba(0, 0, 0, 0.08),
    0 16px 32px -8px rgba(11, 95, 255, 0.06);
  border-color: rgba(11, 95, 255, 0.2);
}

[data-theme="dark"] .ads-block {
  background: linear-gradient(135deg, 
    var(--ffp-panel-bg) 0%, 
    rgba(96, 165, 250, 0.03) 50%, 
    var(--ffp-panel-bg) 100%
  );
}

[data-theme="dark"] .ads-block::after {
  background: linear-gradient(135deg, 
    rgba(96, 165, 250, 0.15), 
    rgba(96, 165, 250, 0.08)
  );
  color: var(--ffp-primary);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .ads-block:hover {
  box-shadow: 
    0 8px 24px -4px rgba(0, 0, 0, 0.2),
    0 16px 32px -8px rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ads-block {
    margin: 1.5rem auto;
    padding: 20px;
    border-radius: 12px;
  }
  
  .ads-block::after {
    top: 6px;
    right: 8px;
    font-size: 0.7rem;
    padding: 3px 6px;
  }
}

/* 상품 리뷰 스타일 */
.ffp-product-review {
    background: linear-gradient(135deg, var(--ffp-panel-bg) 0%, rgba(99, 102, 241, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 24px;
    padding: 32px;
    margin: 48px 0;
    box-shadow: 
        0 4px 16px -4px rgba(0, 0, 0, 0.08),
        0 20px 40px -12px rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ffp-product-review:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px -4px rgba(0, 0, 0, 0.12),
        0 32px 64px -16px rgba(99, 102, 241, 0.15);
}

[data-theme="dark"] .ffp-product-review {
    background: linear-gradient(135deg, var(--ffp-panel-bg) 0%, rgba(147, 197, 253, 0.04) 100%);
    border-color: rgba(147, 197, 253, 0.12);
    box-shadow: 
        0 4px 16px -4px rgba(0, 0, 0, 0.25),
        0 20px 40px -12px rgba(147, 197, 253, 0.1);
}

[data-theme="dark"] .ffp-product-review:hover {
    box-shadow: 
        0 8px 24px -4px rgba(0, 0, 0, 0.35),
        0 32px 64px -16px rgba(147, 197, 253, 0.15);
}

.ffp-product-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--ffp-primary) 0%, 
        #8b5cf6 25%, 
        #06b6d4 50%, 
        #10b981 75%, 
        #f59e0b 100%
    );
    border-radius: 24px 24px 0 0;
}

.ffp-product-review::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.ffp-review-header {
    margin-bottom: 24px;
}

.ffp-review-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.ffp-review-title-section {
    flex: 1;
}

.ffp-review-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ffp-fg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ffp-review-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ffp-review-badge {
    background: var(--ffp-primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: auto;
}

.ffp-review-product {
    font-size: 1.25rem;
    color: var(--ffp-fg);
    line-height: 1.4;
}

.ffp-review-images-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ffp-review-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid var(--ffp-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ffp-review-thumb:hover {
    transform: scale(1.1) rotate(2deg);
    border-color: var(--ffp-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ffp-review-more-images {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ffp-hover-bg), rgba(99, 102, 241, 0.1));
    border: 2px solid var(--ffp-border);
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ffp-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.ffp-review-more-images:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--ffp-primary), rgba(99, 102, 241, 0.2));
    color: white;
    border-color: var(--ffp-primary);
}

.ffp-review-brand {
    color: var(--ffp-muted);
    font-weight: 400;
}

.ffp-review-rating {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid var(--ffp-border);
    border-radius: 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.ffp-rating-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ffp-rating-score {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ffp-primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ffp-rating-max {
    font-size: 1.25rem;
    color: var(--ffp-muted);
    margin-top: 8px;
}

.ffp-rating-stars {
    display: flex;
    gap: 2px;
}

.ffp-star {
    font-size: 20px;
    color: var(--ffp-border);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.ffp-star.filled {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
    transform: scale(1.05);
}

.ffp-review-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ffp-primary), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    margin-left: auto;
}

.ffp-price-currency {
    font-size: 0.875rem;
    color: var(--ffp-muted);
}

.ffp-review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .ffp-review-pros-cons {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .ffp-review-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .ffp-rating-display {
        align-self: center;
    }
    
    .ffp-review-price {
        font-size: 1.25rem;
        margin-left: 0;
        align-self: center;
    }
    
    .ffp-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .ffp-review-images-preview {
        align-self: flex-end;
    }
}

.ffp-review-pros,
.ffp-review-cons {
    background: var(--ffp-panel-bg);
    border: 1px solid var(--ffp-border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ffp-review-pros:hover,
.ffp-review-cons:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .ffp-review-pros:hover,
[data-theme="dark"] .ffp-review-cons:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ffp-review-pros h4,
.ffp-review-cons h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--ffp-fg);
}

.ffp-review-pros ul,
.ffp-review-cons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ffp-review-pros li,
.ffp-review-cons li {
    padding: 8px 0;
    color: var(--ffp-fg);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding-left: 8px;
    margin-left: -8px;
}

.ffp-review-pros li:hover,
.ffp-review-cons li:hover {
    background: var(--ffp-hover-bg);
    padding-left: 12px;
}


.ffp-review-pros li::before {
    content: "✓";
    color: #10b981;
    font-weight: 700;
    margin-right: 12px;
    text-shadow: 0 0 4px rgba(16, 185, 129, 0.3);
    font-size: 1.1rem;
}


.ffp-review-cons li::before {
    content: "✗";
    color: #ef4444;
    font-weight: 700;
    margin-right: 12px;
    text-shadow: 0 0 4px rgba(239, 68, 68, 0.3);
    font-size: 1.1rem;
}

.ffp-review-images {
    margin-bottom: 32px;
}

.ffp-review-images h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--ffp-fg);
}


.ffp-review-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .ffp-review-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}

.ffp-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
    border: 2px solid transparent;
    background: linear-gradient(var(--ffp-panel-bg), var(--ffp-panel-bg)) padding-box,
                linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2)) border-box;
}

.ffp-gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--ffp-primary);
}

[data-theme="dark"] .ffp-gallery-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ffp-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.ffp-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(99, 102, 241, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.ffp-gallery-item:hover .ffp-gallery-overlay {
    opacity: 1;
}

.ffp-zoom-icon {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transform: scale(0.8);
    transition: transform 0.2s ease;
}

.ffp-gallery-item:hover .ffp-zoom-icon {
    transform: scale(1);
}

.ffp-review-summary {
    background: linear-gradient(135deg, var(--ffp-hover-bg) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid var(--ffp-border);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ffp-review-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--ffp-primary);
}

[data-theme="dark"] .ffp-review-summary:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .ffp-review-summary {
    background: linear-gradient(135deg, var(--ffp-hover-bg) 0%, rgba(147, 197, 253, 0.05) 100%);
}

.ffp-review-summary::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 4px;
    background: linear-gradient(135deg, var(--ffp-primary), #8b5cf6);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.ffp-review-summary h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--ffp-fg);
    padding-left: 20px;
}


.ffp-review-summary p {
    margin: 0;
    color: var(--ffp-fg);
    line-height: 1.8;
    padding-left: 20px;
    font-size: 1.05rem;
    font-weight: 400;
}

/* 이미지 모달 */
.ffp-image-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    animation: ffp-modal-fade-in 0.3s ease;
}

@keyframes ffp-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ffp-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ffp-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 100001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.ffp-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

#ffp-modal-image {
    max-width: 100%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: ffp-image-zoom-in 0.3s ease;
}

@keyframes ffp-image-zoom-in {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 썸네일 평점 표시 */
.card-rating {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 10;
}

.module-rating {
    position: absolute;
    bottom: 4px;
    right: 4px;
    z-index: 10;
}

.rating-circle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .rating-circle {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

.module-rating .rating-circle {
    width: 24px;
    height: 24px;
}

.rating-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rating-bg {
    stroke: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .rating-bg {
    stroke: rgba(255, 255, 255, 0.2);
}

.rating-fill {
    stroke: var(--ffp-primary);
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

.rating-number {
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: 700;
    color: var(--ffp-fg);
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.module-rating .rating-number {
    font-size: 8px;
}

/* 모듈 썸네일 위치 조정 */
.module-thumb {
    position: relative;
}

/* 반응형 처리 */
@media (max-width: 768px) {
    .card-rating {
        bottom: 6px;
        right: 6px;
    }
    
    .rating-circle {
        width: 28px;
        height: 28px;
    }
    
    .rating-number {
        font-size: 9px;
    }
    
    .ffp-product-review {
        padding: 20px;
        margin: 24px 0;
        border-radius: 16px;
    }
    
    .ffp-review-header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .ffp-review-title {
        font-size: 1.25rem;
        flex-wrap: wrap;
    }
    
    .ffp-review-badge {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .ffp-review-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .ffp-rating-display {
        gap: 8px;
    }
    
    .ffp-rating-score {
        font-size: 2rem;
    }
    
    .ffp-review-images-preview {
        align-self: flex-start;
    }
    
    .ffp-modal-content {
        padding: 10px;
    }
    
    .ffp-modal-close {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}
