/* =============================================
 * Posts Styles (Public Side)
 * ============================================= */

.copyright {
    text-align: center;
    font-size: 12px;
    color: #dcdcdc;
    margin: 0 0 12px 0;
}

.post {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fafafa;
  transition: all 0.4s ease;
}

.post.clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.post.clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #ffffff;
}

.post-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.post-image:hover {
  opacity: 0.8;
}

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.choice {
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.choice:hover {
  border-color: #007bff;
  transform: translateY(-2px);
}

.choice.actual {
  border-color: #28a745;
  background-color: #f8fff8;
}

.choice-option {
  position: relative;
}

.choice-label {
  display: block;
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
}

.choice-label:hover {
  border-color: #007bff;
  transform: translateY(-2px);
}

input[type="radio"]:checked + .choice-label {
  border-color: #007bff;
  background-color: #e7f3ff;
  transform: translateY(-2px);
}

.tile {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.tile-image {
  width: 43px;
  height: auto;
  margin-bottom: 3.5px;
}

.vote-count {
  font-size: 14px;
  color: #666;
}

.vote-toggle-section {
  margin: 15px 0;
  text-align: center;
}

.vote-toggle-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 10px;
}

.vote-toggle-btn:hover {
  background: #5a6268;
}

.vote-results {
  margin-top: 10px;
}

.vote-chart {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 10px 0;
}

.vote-bar {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.vote-bar-main {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vote-bar.actual {
  border-color: #28a745;
  background-color: #f8fff8;
}

.vote-bar-tile {
  flex-shrink: 0;
  width: 28px;
  height: auto;
}

.vote-bar-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
}

.vote-bar-graph {
  flex: 1;
  height: 14px;
  background: #f0f0f0;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}

.vote-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 7px;
  transition: width 0.8s ease;
  min-width: 2px;
}

.vote-bar-count {
  flex-shrink: 0;
  font-weight: bold;
  color: #333;
  min-width: 25px;
  text-align: right;
  font-size: 0.9em;
}

.actual-indicator {
  margin-top: 6px;
  text-align: center;
  padding: 3px 6px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 3px;
  border: 1px solid #28a745;
  font-size: 0.9em;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Header Styles */
.site-header {
  background: white;
  color: #333;
  padding: 4px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e0e0e0;
}

.site-header .container {
  background: transparent;
  box-shadow: none;
  padding: 0 20px;
  border-radius: 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 15px 0 4px 0;
}

.site-logo {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.site-title {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #333;
  text-shadow: none;
  white-space: nowrap;
}

/* Main Content */
.main-content {
  padding: 20px 0;
}

.main-content .container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* レスポンシブナビゲーション */
.post-navigation-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 一覧画面専用ナビゲーション */
.post-navigation-content .btn-success {
  padding: 8px 16px;
  font-size: 16px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 詳細画面専用ナビゲーション */
.post-navigation-content.show-navigation {
  justify-content: space-between;
}

.post-navigation-content.show-navigation .btn {
  padding: 8px 16px;
  font-size: 16px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* レスポンシブタグ表示 */
.post-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.post-tags-container .tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* PCとモバイルの表示切り替え */
.post-navigation-desktop {
  display: flex !important;
}

.post-navigation-mobile {
  display: none !important;
}

.post-tags-desktop {
  display: flex !important;
}

.post-tags-mobile {
  display: none !important;
}

.sort-section-desktop {
  display: flex !important;
}

.sort-section-mobile {
  display: none !important;
}

/* 投票セクションの表示切り替え */
.inline-voting-desktop {
  display: block !important;
}

.inline-voting-mobile {
  display: none !important;
}

.choices-inline-desktop {
  display: flex !important;
}

/* PC版投稿画面の表示切り替え */
.post-title-desktop {
  display: block !important;
}

.post-title-mobile {
  display: none !important;
}

.choices-title-desktop {
  display: block !important;
}

.choices-title-mobile {
  display: none !important;
}

.choices-description-desktop {
  display: block !important;
}

.choices-description-mobile {
  display: none !important;
}

.form-checkbox-desktop {
  display: flex !important;
}

.form-checkbox-mobile {
  display: none !important;
}

.form-tags-desktop {
  display: block !important;
}

.form-tags-mobile {
  display: none !important;
}

.choice-layout-desktop {
  display: grid !important;
}

.choice-layout-mobile {
  display: none !important;
}

.submit-button-desktop {
  display: block !important;
}

.submit-button-mobile {
  display: none !important;
}

/* デスクトップサイズでのフィルターボタンの調整 */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.filter-buttons .btn {
  padding: 4px 12px;
  font-size: 14px;
  min-height: 24px;
  flex: 0 0 auto;
  width: auto !important;
  max-width: 85% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PC版では絞り込みボタンを非表示 */
@media (min-width: 769px) {
  .filter-toggle-btn {
    display: none !important;
  }
}

/* PC版ではフィルター内容を常に表示 */
@media (min-width: 769px) {
  .filter-content {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 10px !important;
  }
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
  .post-navigation-desktop {
    display: none !important;
  }
  
  .post-navigation-mobile {
    display: block !important;
  }
  
  .post-tags-desktop {
    display: none !important;
  }
  
  .post-tags-mobile {
    display: block !important;
  }
  
  .sort-section-desktop {
    display: none !important;
  }
  
  .sort-section-mobile {
    display: block !important;
  }
  
  /* 一覧画面専用ナビゲーション（モバイル版） */
  .post-navigation-content .btn-success {
    padding: 6px 12px;
    font-size: 14px;
    min-height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 詳細画面専用ナビゲーション（モバイル版） */
  .post-navigation-content.show-navigation .btn {
    padding: 6px 12px;
    font-size: 14px;
    min-height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* モバイル版投稿画面の表示切り替え */
  .post-title-desktop {
    display: none !important;
  }
  
  .post-title-mobile {
    display: block !important;
  }
  
  .choices-title-desktop {
    display: none !important;
  }
  
  .choices-title-mobile {
    display: block !important;
  }
  
  .choices-description-desktop {
    display: none !important;
  }
  
  .choices-description-mobile {
    display: block !important;
  }
  
  .form-checkbox-desktop {
    display: none !important;
  }
  
  .form-checkbox-mobile {
    display: block !important;
  }
  
  .form-tags-desktop {
    display: none !important;
  }
  
  .form-tags-mobile {
    display: block !important;
  }
  
  .choice-layout-desktop {
    display: none !important;
  }
  
  .choice-layout-mobile {
    display: block !important;
  }
  
  .submit-button-desktop {
    display: none !important;
  }
  
  .submit-button-mobile {
    display: block !important;
  }
  
  /* 投票セクションの表示切り替え（モバイル版） */
  .inline-voting-desktop {
    display: none !important;
  }
  
  .inline-voting-mobile {
    display: block !important;
  }
  
  .choices-inline-desktop {
    display: none !important;
  }
  
  /* モバイル用のナビゲーションボタンサイズ調整（投稿ボタン用） */
  .post-navigation-mobile .btn:not(.sort-btn) {
    padding: 8px 14px;
    font-size: 11px;
    min-height: 22px;
  }
  
  /* 並び順ボタン専用のスタイル */
  .post-navigation-mobile .sort-btn {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 16px;
  }
  
  /* モバイル用のレベルとタグサイズ調整（5%縮小） */
  .post-tags-mobile .badge {
    padding: 6px 11px !important;
    font-size: 13px !important;
  }
  
  /* モバイル用の通報ボタンサイズ調整（25%縮小） */
  .post-tags-mobile .btn {
    padding: 6px 12px !important;
    font-size: 11px !important;
    min-height: 32px;
  }
  
  /* SP用の通報ボタンの高さを30%調整 */
  .action-buttons .btn[style*="padding: 6px 12px"] {
    padding: 4px 12px !important;
    font-size: 11px !important;
    min-height: 22px !important;
  }
  
  /* CSS変数を使用したSP版通報ボタンの高さ調整（20%小さく） */
  .report-btn-small,
  .report-btn {
    padding: 4.8px 12px !important; /* 6px * 0.8 = 4.8px */
    line-height: 1.2 !important; /* フォントの潰れを防ぐ */
    min-height: auto !important; /* 最小高さの制約を解除 */
  }
  
  /* SP版コメント内通報ボタンの高さ調整（20%小さく） */
  .report-btn-tiny {
    padding: 3.2px 8px !important; /* 4px * 0.8 = 3.2px */
    line-height: 1.2 !important; /* フォントの潰れを防ぐ */
    min-height: auto !important; /* 最小高さの制約を解除 */
  }
  
  /* 詳細ページの通報ボタンの高さを30%調整 */
  .btn[style*="padding: 8px 16px"][style*="通報"] {
    padding: 6px 16px !important;
    font-size: 12px !important;
    min-height: 28px !important;
  }
  .container {
    padding: 15px;
    margin: 0 10px;
  }
  
  .site-title {
    font-size: 18px;
    line-height: 1.3;
  }
  
  .site-logo {
    height: 40px;
  }
  
  .header-content {
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }
  
  /* ボタンのタッチターゲットを拡大 */
  .btn {
    padding: 12px 20px;
    font-size: 16px;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
  }
  
  /* SP版の「一覧に戻る」ボタンの高さを40%小さくする */
  .btn:first-child {
    padding: 7px 20px;
    min-height: 26px;
  }
  
  /* SP版のチェックボックスを16x16pxで統一 */
  input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
  }
  
  /* フィルターボタンの調整 */
  .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
  }
  
  .filter-buttons .btn {
    padding: 4px 12px;
    font-size: 14px;
    min-height: 24px;
    flex: 0 0 auto;
    width: auto !important;
    max-width: 85% !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 並び順ボタンの調整 */
  .sort-section-desktop {
    display: none !important;
  }
  
  .sort-section-mobile {
    display: block !important;
  }
  
  .sort-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
    justify-content: center;
  }
  
  .sort-buttons .btn {
    padding: 4px 8px;
    font-size: 13px;
    min-height: 29px;
  }
  
  /* SP版の投稿してみる！ボタンのサイズ調整（10%大きく） */
  .post-navigation-mobile .btn-success {
    transform: scale(1.1);
  }
  
  /* 投稿カードの調整 */
  .post {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  /* モバイル用のdescription文字サイズ調整 */
  .post h2,
  .post h3 {
    font-size: 18px;
  }
  
  /* 選択肢の調整 */
  .choices {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 6px;
  }
  
  .choice {
    padding: 8px 6px;
    min-height: 33.6px;
  }
  
  .choice-label {
    padding: 6.4px 6px;
    min-height: 33.6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .tile {
    font-size: 14px;
  }
  
  .tile-image {
    width: 25px;
  }
  
  /* インライン投票の調整 */
  .choices-inline {
    flex-direction: column;
    gap: 6px;
  }
  
  .choice-inline {
    min-height: 28px;
    padding: 7px 10px;
    justify-content: flex-start;
  }
  
  .vote-submit-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    min-height: 48px;
  }
  
  /* アクションボタンの調整 */
  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .action-buttons > div {
    width: 100%;
    display: flex;
    gap: 10px;
  }
  
  .action-buttons .btn {
    flex: 1;
    text-align: center;
  }
  
  /* SP用の詳細を見る・投票結果ボタンの高さを30%調整 */
  .action-buttons .btn[style*="padding: 8px 16px"] {
    padding: 6px 16px !important;
    font-size: 13px !important;
    min-height: 30px !important;
  }
  
  /* 投票結果表示ボタンの調整 */
  .vote-toggle-btn {
    padding: 6px 16px !important;
    font-size: 13px !important;
    min-height: 30px !important;
  }
  
  /* SP版の投票ボタンの高さを15%小さくする */
  .btn-success[style*="padding: 12px 30px"] {
    padding: 10px 30px !important;
    font-size: 16px !important;
    min-height: 37px !important;
  }
  
  /* SP版の投稿ボタンのスタイル調整 */
  .btn-success[style*="width: 400px"] {
    width: 320px !important; /* 20%小さく */
    display: block !important;
    margin: 0 auto !important; /* 中央配置 */
  }
  
  /* 投票結果の調整 */
  .vote-bar-main {
    flex-direction: row;
    gap: 6px;
  }
  
  .vote-bar-content {
    flex-direction: row;
    gap: 6px;
  }
  
  .vote-bar-graph {
    height: 11px;
  }
  
  /* フォームの調整 */
  .form-group input, 
  .form-group select, 
  .form-group textarea {
    padding: 12px;
    font-size: 16px;
    min-height: 44px;
  }
  
  .form-group textarea {
    min-height: 80px;
  }
  
  /* モーダルの調整 */
  .image-modal-content {
    max-width: 98% !important;
    max-height: 95% !important;
    padding: 5px !important;
    margin: 5px auto !important;
  }
  
  .image-modal-close {
    font-size: 30px;
    top: 5px;
    right: 15px;
  }
  
  .image-modal img {
    max-width: 100% !important;
    max-height: 90vh !important;
  }
  
  /* コメントの調整 */
  .comment {
    padding: 12px;
  }
  
  /* SP版のコメント文字サイズを小さくする */
  .comment {
    font-size: 14px;
  }
  
  .comment small {
    font-size: 11px;
  }
  
  /* SP版のコメント通報ボタンの高さを30%小さくする */
  .comment .btn[style*="padding: 4px 8px"] {
    padding: 3px 8px !important;
    font-size: 9px !important;
    min-height: 20px !important;
  }
  
  /* フィルターセクションの調整 */
  .filter-section {
    padding: 12px;
  }
  
  .filter-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  /* SP版での絞り込みUI折りたたみ機能 */
  .filter-toggle-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 24px;
  }
  
  .filter-toggle-btn:hover {
    background: #0056b3;
  }
  
  /* モバイルデバイスでのホバー状態を適切に管理 */
  .filter-toggle-btn:active {
    background: #0056b3;
  }
  
  /* タッチデバイスでのホバー状態をクリア */
  @media (hover: none) and (pointer: coarse) {
    .filter-toggle-btn:hover {
      background: #007bff;
    }
  }
  
  .filter-toggle-btn .toggle-icon {
    transition: transform 0.3s ease;
  }
  
  .filter-toggle-btn.expanded .toggle-icon {
    transform: rotate(180deg);
  }
  
  .filter-content {
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    margin-top: 10px !important;
  }
  
  .filter-content.collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .filter-content.expanded {
    max-height: 1000px !important;
    opacity: 1 !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
    margin: 0 5px;
  }
  
  .site-title {
    font-size: 16px;
    line-height: 1.2;
  }
  
  .site-logo {
    height: 35px;
  }
  
  .header-content {
    margin: 10px 0 4px 0;
  }
  
  /* 一覧画面専用ナビゲーション（より小さな画面） */
  .post-navigation-content .btn-success {
    padding: 5px 10px;
    font-size: 13px;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 詳細画面専用ナビゲーション（より小さな画面） */
  .post-navigation-content.show-navigation .btn {
    padding: 5px 10px;
    font-size: 13px;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* より小さなボタン */
  .btn {
    padding: 10px 16px;
    font-size: 15px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
  }
  
  /* より小さな画面でのSP版「一覧に戻る」ボタンの高さを40%小さくする */
  .btn:first-child {
    padding: 6px 16px;
    min-height: 25px;
  }
  
  /* より小さな画面でのSP版チェックボックスを16x16pxで統一 */
  input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
  }
  
  .filter-buttons .btn {
    padding: 3px 10px;
    font-size: 13px;
    min-height: 23px;
    flex: 0 0 auto;
    width: auto !important;
    max-width: 85% !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .sort-buttons .btn {
    padding: 4px 8px;
    font-size: 12px;
    min-height: 27px;
  }
  
  /* 投稿カードの調整 */
  .post {
    padding: 12px;
    margin-bottom: 12px;
  }
  
  /* より小さな画面でのdescription文字サイズ調整 */
  .post h2,
  .post h3 {
    font-size: 16px;
  }
  
  /* 選択肢の調整 */
  .choices {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 4px;
  }
  
  .choice {
    padding: 7px 4px;
    min-height: 30.4px;
  }
  
  .choice-label {
    padding: 5.6px 4px;
    min-height: 30.4px;
  }
  
  .tile {
    font-size: 12px;
  }
  
  .tile-image {
    width: 20px;
  }
  
  /* インライン投票の調整 */
  .choice-inline {
    min-height: 32px;
    padding: 6px 8px;
  }
  
  .vote-submit-btn {
    padding: 10px 16px;
    font-size: 15px;
    min-height: 44px;
  }
  
  /* フォームの調整 */
  .form-group input, 
  .form-group select, 
  .form-group textarea {
    padding: 10px;
    font-size: 15px;
    min-height: 42px;
  }
  
  .form-group textarea {
    min-height: 70px;
  }
  
  /* モーダルの調整 */
  .image-modal-content {
    max-width: 99% !important;
    max-height: 98% !important;
    padding: 2px !important;
    margin: 2px auto !important;
  }
  
  .image-modal-close {
    font-size: 28px;
    top: 3px;
    right: 10px;
  }
  
  .image-modal img {
    max-width: 100% !important;
    max-height: 95vh !important;
  }
  
  /* コメントの調整 */
  .comment {
    padding: 10px;
  }
  
  /* より小さな画面でのSP版コメント文字サイズを小さくする */
  .comment {
    font-size: 13px;
  }
  
  .comment small {
    font-size: 10px;
  }
  
  /* より小さな画面でのSP版コメント通報ボタンの高さを30%小さくする */
  .comment .btn[style*="padding: 4px 8px"] {
    padding: 2px 8px !important;
    font-size: 8px !important;
    min-height: 18px !important;
  }
  
  /* フィルターセクションの調整 */
  .filter-section {
    padding: 10px;
  }
  
  .filter-section h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  /* より小さな画面でのナビゲーションボタンサイズ調整（投稿ボタン用） */
  .post-navigation-mobile .btn:not(.sort-btn) {
    padding: 7px 11px;
    font-size: 11px;
    min-height: 20px;
  }
  
  /* より小さな画面での並び順ボタンサイズ調整 */
  .post-navigation-mobile .sort-btn {
    padding: 5px 10px;
    font-size: 11px;
    min-height: 16px;
  }
  
  /* より小さな画面でのレベルとタグサイズ調整（5%縮小） */
  .post-tags-mobile .badge {
    padding: 6px 11px !important;
    font-size: 13px !important;
  }
  
  /* より小さな画面での通報ボタンサイズ調整（25%縮小） */
  .post-tags-mobile .btn {
    padding: 6px 12px !important;
    font-size: 11px !important;
    min-height: 28px;
  }
  
  /* より小さな画面での通報ボタンの高さを30%調整 */
  .action-buttons .btn[style*="padding: 6px 12px"] {
    padding: 3px 12px !important;
    font-size: 10px !important;
    min-height: 20px !important;
  }
  
  /* より小さな画面でのCSS変数を使用したSP版通報ボタンの高さ調整（20%小さく） */
  .report-btn-small,
  .report-btn {
    padding: 4.8px 12px !important; /* 6px * 0.8 = 4.8px */
    line-height: 1.2 !important; /* フォントの潰れを防ぐ */
    min-height: auto !important; /* 最小高さの制約を解除 */
  }
  
  /* より小さな画面でのSP版コメント内通報ボタンの高さ調整（20%小さく） */
  .report-btn-tiny {
    padding: 3.2px 8px !important; /* 4px * 0.8 = 3.2px */
    line-height: 1.2 !important; /* フォントの潰れを防ぐ */
    min-height: auto !important; /* 最小高さの制約を解除 */
  }
  
  /* より小さな画面での詳細ページ通報ボタンの高さを30%調整 */
  .btn[style*="padding: 8px 16px"][style*="通報"] {
    padding: 5px 16px !important;
    font-size: 11px !important;
    min-height: 26px !important;
  }
  
  /* より小さな画面での詳細を見る・投票結果ボタンの高さを30%調整 */
  .action-buttons .btn[style*="padding: 8px 16px"] {
    padding: 5px 16px !important;
    font-size: 12px !important;
    min-height: 28px !important;
  }
  
  /* より小さな画面での投票結果表示ボタンの調整 */
  .vote-toggle-btn {
    padding: 5px 16px !important;
    font-size: 12px !important;
    min-height: 28px !important;
  }
  
  /* より小さな画面でのSP版投票ボタンの高さを15%小さくする */
  .btn-success[style*="padding: 12px 30px"] {
    padding: 8px 30px !important;
    font-size: 15px !important;
    min-height: 35px !important;
  }
  
  /* より小さな画面でのSP版投稿ボタンのスタイル調整 */
  .btn-success[style*="width: 400px"] {
    width: 320px !important; /* 20%小さく */
    display: block !important;
    margin: 0 auto !important; /* 中央配置 */
  }
}

/* インラインスタイルの代替クラス */
.post-navigation {
  margin-bottom: 20px;
}

/* フィルターセクションのマージン */
.filter-section-margin-bottom {
  margin-bottom: 20px;
}

.filter-section-margin-bottom-small {
  margin-bottom: 15px;
}

/* 画像のカーソルポインター */
.post-image-clickable {
  cursor: pointer;
}

/* ヘッダーリンクのスタイル */
.header-links {
  text-align: center;
  margin: 10px 0;
  font-size: 12px;
}

.header-link {
  color: #6c757d;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.2s;
}

.header-link:hover {
  color: #495057;
}

/* モーダルの表示制御 */
.modal-hidden {
  display: none;
}

/* 投票結果の表示制御 */
.vote-results-hidden {
  display: none;
}

/* プライバシーポリシーリンク */
.privacy-policy-link {
  color: #007bff;
  text-decoration: underline;
}

/* Cookie設定ボタンの表示制御 */
.cookie-settings-hidden {
  display: none;
}

/* ラジオボタンの非表示 */
.choice-radio-hidden {
  display: none;
}

/* 投票バーの幅設定（CSS変数使用） */
.vote-bar-fill {
  width: var(--percentage, 0%);
}

/* タグリンクのスタイル */
.tag-link {
  text-decoration: none;
}

/* 投票成功メッセージ */
.vote-success-message {
  text-align: center;
  padding: 15px;
  color: #28a745;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin: 10px 0;
}

.vote-success-title {
  margin: 0 0 5px 0;
  font-size: 16px;
}

/* モーダル画像のスタイル */
.modal-image {
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 8px;
}

/* 動的スタイル制御用クラス */
.modal-visible {
  display: block !important;
}

.modal-hidden {
  display: none !important;
}

/* ルールモーダル専用の表示制御 */
.rules-modal.modal-visible {
  display: flex !important;
}

.body-scroll-locked {
  overflow: hidden !important;
}

.body-scroll-auto {
  overflow: auto !important;
}

/* 選択肢の選択状態 */
.choice-selected {
  border-color: #007bff !important;
  background-color: #e7f3ff !important;
  transform: translateY(-2px) !important;
}

.choice-unselected {
  border-color: #ddd !important;
  background-color: white !important;
  transform: translateY(0) !important;
}

/* ボタンの状態 */
.btn-enabled {
  opacity: 1 !important;
  cursor: pointer !important;
}

.btn-disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.btn-secondary-bg {
  background: #6c757d !important;
}

.btn-primary-bg {
  background: #007bff !important;
}

.btn-danger-bg {
  background: #dc3545 !important;
}

.btn-danger-bg:hover {
  background: #c82333 !important;
}

.btn-info-bg {
  background: #17a2b8 !important;
}

.btn-info-bg:hover {
  background: #138496 !important;
}

.btn-success-bg {
  background: #28a745 !important;
}

.btn-success-bg:hover {
  background: #218838 !important;
}

/* 投票結果の表示制御 */
.vote-results-visible {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  animation: slideDown 0.5s ease-out;
}

.vote-results-hidden {
  display: none !important;
}

/* 投票結果のスライドダウンアニメーション */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(0px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 1000px;
  }
}

/* 投票結果のスムーズなトランジション */
.vote-results {
  transition: opacity 0.3s ease, max-height 0.3s ease, transform 0.3s ease;
}

.vote-chart {
  transition: opacity 0.3s ease;
}

/* アップロードステータスの色 */
.upload-status-info {
  color: #007bff !important;
}

.upload-status-success {
  color: #28a745 !important;
}

.upload-status-error {
  color: #dc3545 !important;
}

.upload-status-muted {
  color: #6c757d !important;
}

/* 画像プレビューの表示制御 */
.image-preview-visible {
  display: block !important;
}

.image-preview-hidden {
  display: none !important;
}

/* 選択肢オプションの表示制御 */
.choice-option-visible {
  display: block !important;
}

.choice-option-hidden {
  display: none !important;
}

/* コピーボタンの状態 */
.copy-btn-success {
  background: #28a745 !important;
}

.copy-btn-primary {
  background: #007bff !important;
}

/* テキストエリアの非表示 */
.textarea-hidden {
  position: fixed !important;
  left: -999999px !important;
  top: -999999px !important;
}

.post-navigation-desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-navigation-desktop.with-margin {
  margin-bottom: 20px;
}

.post-navigation-mobile {
  display: none;
}

.post-navigation-mobile .flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.post-navigation-mobile .center-container {
  text-align: center;
  margin-bottom: 15px;
}

.sort-section {
  margin-bottom: 15px;
}

/* PC版並び順レイアウト */
.sort-section-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sort-section-desktop .sort-label {
  font-size: 14px;
  color: #666;
  font-weight: bold;
  white-space: nowrap;
}

.sort-section-desktop .sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.sort-section-desktop .sort-buttons .btn {
  padding: 4px 8px;
  font-size: 13px;
  min-height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SP版並び順レイアウト */
.sort-section-mobile {
  display: none;
}

.sort-section-mobile .sort-label-container {
  text-align: center;
  margin-bottom: 8px;
}

.sort-section-mobile .sort-label {
  font-size: 14px;
  color: #666;
  font-weight: bold;
}

.sort-section-mobile .sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  justify-content: center;
}

.sort-section-mobile .sort-buttons .btn {
  padding: 4px 8px;
  font-size: 13px;
  min-height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sort-buttons .btn.active {
  background: #007bff;
  color: white;
}

.sort-buttons .btn.inactive {
  background: #e9ecef;
  color: #495057;
}

/* Other Components */
.no-image-placeholder {
  background: #f0f0f0;
  padding: 40px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 15px;
  color: #666;
}

.post-tags-container {
  margin: 15px 0;
}

.post-tags-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.post-tags-desktop .tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-tags-mobile {
  display: none;
}

.post-tags-mobile .tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.post-tags-mobile .center-container {
  text-align: center;
}

.badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: white;
  text-decoration: none;
  display: inline-block;
}

.badge-info {
  background: #17a2b8;
}

.badge-success {
  background: #28a745;
}

.badge-small {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
}

.report-btn {
  padding: 8px 16px;
  font-size: 14px;
  background: #6c757d !important;
  color: white !important;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.report-btn:hover {
  background: #495057 !important;
  color: white !important;
}

.report-btn:active {
  background: #495057 !important;
  color: white !important;
}

.report-btn:focus {
  background: #6c757d !important;
  color: white !important;
  outline: none;
}

.report-btn-small {
  padding: 6px 12px;
  font-size: 12px;
  background: #6c757d !important;
  color: white !important;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.report-btn-small:hover {
  background: #495057 !important;
  color: white !important;
}

.report-btn-small:active {
  background: #495057 !important;
  color: white !important;
}

.report-btn-small:focus {
  background: #6c757d !important;
  color: white !important;
  outline: none;
}

.report-btn-tiny {
  padding: 4px 8px;
  font-size: 10px;
  background: #6c757d !important;
  color: white !important;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin-left: 10px;
  flex-shrink: 0;
}

.report-btn-tiny:hover {
  background: #495057 !important;
  color: white !important;
}

.report-btn-tiny:active {
  background: #495057 !important;
  color: white !important;
}

.report-btn-tiny:focus {
  background: #6c757d !important;
  color: white !important;
  outline: none;
}

.vote-error {
  display: none;
  margin: 15px 0;
  padding: 10px;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
}

.vote-submit-container {
  text-align: center;
  margin: 20px 0;
}

.vote-submit-btn {
  padding: 12px 30px;
  font-size: 16px;
}

.vote-submit-btn-large {
  padding: 10px 20px;
  font-size: 17px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s;
}

.vote-submit-btn-large:disabled {
  opacity: 0.5;
}

.vote-submit-btn-large:not(:disabled) {
  opacity: 1;
}

.vote-submit-btn-small {
  padding: 8px 16px;
  font-size: 14px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s;
}

.vote-submit-btn-small:disabled {
  opacity: 0.5;
}

.vote-submit-btn-small:not(:disabled) {
  opacity: 1;
}

.vote-results {
  display: none;
}

.vote-bar-fill {
  transition: width 0.8s ease;
  min-width: 2px;
}

.actual-indicator-text {
  color: #28a745;
  font-weight: bold;
  font-size: 14px;
}

.comment-disabled-info {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.comment-item {
  position: relative;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #f8f9fa;
}

.comment-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.comment-text {
  flex: 1;
}

.comment-meta {
  color: #6c757d;
}


.filter-section {
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.filter-content {
  transition: all 0.3s ease;
  overflow: hidden;
  margin-top: 10px;
}

.filter-content.collapsed {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.filter-content.expanded {
  max-height: 1000px;
  opacity: 1;
}

.filter-section h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  text-align: center;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.filter-buttons .btn {
  padding: 4px 12px;
  font-size: 14px;
  min-height: 24px;
  flex: 0 0 auto;
  width: auto !important;
  max-width: 85% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-buttons .btn.active {
  background: #007bff;
  color: white;
}

.filter-buttons .btn.inactive {
  background: #e9ecef;
  color: #495057;
}

.filter-buttons .btn.tag-active {
  background: #28a745;
  color: white;
}

.filter-buttons .btn.level-active {
  background: #17a2b8;
  color: white;
}

.filter-status {
  font-size: 14px;
  color: #6c757d;
}

.filter-status .filter-info {
  margin-bottom: 5px;
}

.filter-clear-link {
  color: #dc3545;
  text-decoration: underline;
  font-size: 14px;
}

.post-tags-inline {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.post-tags-inline .badge {
  cursor: pointer;
  transition: background 0.2s;
}

.inline-voting {
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.inline-voting-desktop {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 10px;
}

.inline-voting-desktop .voting-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.inline-voting-desktop .voting-title h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.choices-inline-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: center;
}

.choices-inline-desktop .choices-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


.choice-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
  justify-content: center;
}

.choice-inline:hover {
  border-color: #007bff;
  transform: translateY(-2px);
}

.choice-inline.selected {
  border-color: #007bff;
  background-color: #e7f3ff;
}

.choice-inline img {
  width: 24px;
  height: auto;
}

.choice-inline .choice-text {
  font-size: 12px;
  font-weight: bold;
}

.vote-submit-container-inline {
  margin-left: auto;
}

.inline-voting-mobile {
  display: none;
}

.inline-voting-mobile .voting-title {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.inline-voting-mobile .voting-title h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.choices-inline {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.choices-inline .choices-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.choice-inline-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
  justify-content: center;
}

.choice-inline-mobile:hover {
  border-color: #007bff;
  transform: translateY(-2px);
}

.choice-inline-mobile.selected {
  border-color: #007bff;
  background-color: #e7f3ff;
}

.choice-inline-mobile img {
  width: 18px;
  height: auto;
}

.choice-inline-mobile .choice-text {
  font-size: 12px;
  font-weight: bold;
}

.vote-submit-container-mobile {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.voting-instruction {
  font-size: 10px;
  color: #6c757d;
  text-align: center;
}

.action-buttons {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.action-buttons .actions-group {
  display: flex;
  gap: 10px;
}

.action-btn {
  padding: 8px 16px;
  font-size: 14px;
  background: #6c757d !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: #495057 !important;
  color: white !important;
  text-decoration: none !important;
}

.action-btn:visited {
  background: #6c757d !important;
  color: white !important;
  text-decoration: none !important;
}

.action-btn:active {
  background: #5a6268 !important;
  color: white !important;
  text-decoration: none !important;
}

.action-btn-info {
  background: #17a2b8;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.action-btn-info:hover {
  background: #138496;
}

.loading-container {
  display: none;
  text-align: center;
  padding: 20px;
}

.loading-text {
  color: #666;
}

.image-preview {
  display: none;
  margin-top: 10px;
}

.preview-image {
  max-width: 400px;
  max-height: 400px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.remove-image-btn {
  margin-top: 5px;
}

.remove-image-btn .btn {
  background: #dc3545;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
}

.checkbox-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.checkbox-label {
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.checkbox-help {
  display: block;
  color: #6c757d;
  margin-top: 5px;
}

.tag-checkbox {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 5px;
}

.choice-item {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.choice-item .grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.choice-item .select-container {
  display: flex;
  align-items: center;
}

.choice-item .checkbox-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.choice-item .checkbox-label {
  white-space: nowrap;
  margin: 0;
}

.choice-item .checkbox-input {
  margin-right: 5px;
}

.choice-item .remove-btn {
  background: #dc3545;
  padding: 5px 10px;
  font-size: 12px;
}

.choice-add-container {
  text-align: center;
  margin: 20px 0;
}

.choice-count {
  margin: 20px 0;
}

.submit-container {
  text-align: center;
  margin: 30px 0;
}

.submit-btn-large {
  width: 400px;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
}

.choice-text-inline {
  text-align: center;
  margin-top: 5.6px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}


/* モバイル用の追加スタイル */
@media (max-width: 768px) {
  .post-navigation-mobile {
    display: block !important;
  }
  
  .post-navigation-desktop {
    display: none !important;
  }
  
  .post-tags-mobile {
    display: block !important;
  }
  
  .post-tags-desktop {
    display: none !important;
  }
  
  .sort-section-desktop {
    display: none !important;
  }
  
  .sort-section-mobile {
    display: block !important;
  }
  
  .inline-voting-mobile {
    display: block !important;
  }
  
  .inline-voting-desktop {
    display: none !important;
  }
  
  .choices-inline-desktop {
    display: none !important;
  }
  
  .choice-inline {
    display: none !important;
  }
  
  .choice-inline-mobile {
    display: flex !important;
  }
  
  .vote-submit-container-inline {
    display: none !important;
  }
  
  .vote-submit-container-mobile {
    display: flex !important;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .action-buttons .actions-group {
    width: 100%;
    display: flex;
    gap: 10px;
  }
  
  .action-buttons .btn {
    flex: 1;
    text-align: center;
  }
  
  .submit-btn-large {
    width: 320px !important;
    display: block !important;
    margin: 0 auto !important;
  }
}

/* タッチデバイス用の追加スタイル */
@media (hover: none) and (pointer: coarse) {
  .post.clickable:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .choice:hover,
  .choice-label:hover {
    transform: none;
  }
  
  .btn:hover {
    background: #007bff;
  }
  
  .btn-success:hover {
    background: #28a745;
  }
  
  .post-image:hover {
    opacity: 1;
  }
}


/* =============================================
 * Dynamic Post Styles (for infinite scroll)
 * ============================================= */

/* Post image styles */
.post-image {
  cursor: pointer;
}

.no-image-placeholder {
  background: #f0f0f0;
  padding: 40px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 15px;
  color: #666;
}

/* Badge styles - using existing badge classes */

/* Choice inline styles */
.choice-inline-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
  justify-content: center;
}

.choice-inline-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
  justify-content: center;
}

.choice-tile-desktop {
  width: 24px;
  height: auto;
}

.choice-tile-mobile {
  width: 18px;
  height: auto;
}

.choice-text {
  font-size: 12px;
  font-weight: bold;
}

/* Inline voting styles */
.inline-voting-dynamic {
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.inline-voting-desktop-dynamic {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 10px;
}

.voting-title-dynamic {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.voting-title-dynamic h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.choices-inline-desktop-dynamic {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: center;
}

.choices-group-dynamic {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vote-submit-container-dynamic {
  margin-left: auto;
}

.vote-submit-btn-large-dynamic {
  padding: 10px 20px;
  font-size: 17px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s;
}

.vote-submit-btn-small-dynamic {
  padding: 8px 16px;
  font-size: 14px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s;
}

/* Mobile voting styles */
.inline-voting-mobile-dynamic {
  display: none;
}

.voting-title-mobile-dynamic {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.choices-inline-mobile-dynamic {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.choices-group-mobile-dynamic {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.vote-submit-container-mobile-dynamic {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.voting-instruction-dynamic {
  font-size: 12px;
  color: #6c757d;
  text-align: center;
}

/* Vote results styles */
.actual-indicator-dynamic span {
  color: #28a745;
  font-weight: bold;
  font-size: 14px;
}

.vote-bar-fill-dynamic {
  width: var(--percentage, 0%);
}

/* Post tags styles - using existing post-tags-container and tags-group classes */

/* Vote results container */
.vote-results-dynamic {
  display: none;
}
