/* ============================================
   PRICE BASE News Archive
   news カテゴリアーカイブ専用スタイル
   Design: Dark Hero × Orange Accent
   ============================================ */

/* --- Variables --- */
.pb-news {
  --news-accent: #ff6600;
  --news-accent-dark: #e55a00;
  --news-accent-glow: rgba(255, 102, 0, 0.15);
  --news-dark: #1f1f1f;
  --news-dark-mid: #2d2624;
  --news-bg: #ffffff;
  --news-bg-light: #f8f9fa;
  --news-bg-section: #f5f6f8;
  --news-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  --news-card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15);
  --news-radius: 6px;
  --news-radius-sm: 4px;
  --news-text: #1e1e1e;
  --news-text-sub: #64748b;
  --news-text-light: #94a3b8;
  --news-border: #e5e7eb;
  --news-label-bg: #f1f5f9;
  --news-gap: 1.5rem;
  --news-gap-sm: 1rem;
}

/* --- Full-width Layout Override --- */
.pb-news-fullwidth #content.l-content {
  max-width: 100%;
}
.pb-news-fullwidth .l-mainContent {
  flex: 1 1 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.pb-news-fullwidth #sidebar,
.pb-news-fullwidth .l-sidebar {
  display: none;
}

/* --- Hide initial header & breadcrumb (keep sticky header) --- */
.pb-news-fullwidth .l-header {
  display: none;
}
.pb-news-fullwidth .p-breadcrumb {
  display: none;
}

/* --- Hero (Dark Gradient) --- */
.pb-news-hero {
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #1f1f1f 0%, #2d2624 100%);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.pb-news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.015) 40px,
      rgba(255, 255, 255, 0.015) 80px
    );
  pointer-events: none;
}
.pb-news-hero__inner {
  position: relative;
  z-index: 1;
}
.pb-news-hero__brand {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--news-accent);
  letter-spacing: 0.18em;
  margin: 0 0 0.4rem;
}
.pb-news-hero__title {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.2em;
  margin: 0 0 1rem;
  line-height: 1.1;
  /* Reset SWELL h1 defaults */
  background: none;
  padding: 0;
  border: none;
}
.pb-news-hero__title::before,
.pb-news-hero__title::after {
  display: none;
}
.pb-news-hero__line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--news-accent);
  margin: 0 auto 1rem;
  border-radius: 2px;
}
.pb-news-hero__desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 0.75rem;
}
.pb-news-hero__meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
.pb-news-hero__sep {
  margin: 0 0.25em;
}

/* --- Empty State --- */
.pb-news-empty {
  text-align: center;
  padding: 4rem 1.5rem;
}
.pb-news-empty__text {
  font-size: 0.9rem;
  color: var(--news-text-sub);
  margin: 0;
}

/* --- Section Title (Dark Band) --- */
.pb-news-section__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.6em 0.75em;
  border-left: 4px solid var(--news-accent);
  margin: 0 0 1.25rem;
  line-height: 1.4;
  background: var(--news-dark) !important;
  border-radius: var(--news-radius);
}
.pb-news-section__title::before,
.pb-news-section__title::after {
  display: none !important;
}

/* --- Labels --- */
.pb-news-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2em 0.55em;
  border-radius: 3px;
  background: var(--news-label-bg);
  color: var(--news-text-sub);
  line-height: 1.4;
  white-space: nowrap;
}
.pb-news-label--title {
  background: transparent;
  color: var(--news-text-sub);
  border: 1px solid var(--news-border);
}
.pb-news-label--breaking { background: #fef2f2; color: #dc2626; }
.pb-news-label--market-analysis { background: #eff6ff; color: #2563eb; }
.pb-news-label--release-info { background: #f0fdf4; color: #16a34a; }
.pb-news-label--tournament-meta { background: #faf5ff; color: #7c3aed; }
.pb-news-label--periodic-report { background: #f0fdfa; color: #0d9488; }

.pb-news-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

/* --- Card Base (Stronger Shadow + Border) --- */
.pb-news-card {
  background: var(--news-bg);
  border-radius: var(--news-radius);
  border: 1px solid var(--news-border);
  box-shadow: var(--news-card-shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pb-news-card:hover {
  box-shadow: var(--news-card-shadow-hover);
  transform: translateY(-3px);
  border-color: var(--news-accent);
}
.pb-news-card a {
  text-decoration: none;
  color: inherit;
}
.pb-news-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.pb-news-card__thumb {
  position: relative;
  overflow: hidden;
  background: #ebeef3;
}
.pb-news-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.pb-news-card:hover .pb-news-card__thumb::after {
  opacity: 1;
}
.pb-news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pb-news-card__body {
  padding: 0.75rem 0.85rem;
}
.pb-news-card__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--news-text);
  line-height: 1.55;
  margin: 0 0 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Reset SWELL heading defaults */
  background: none;
  padding: 0;
  border: none;
}
.pb-news-card__title::before,
.pb-news-card__title::after {
  display: none;
}
.pb-news-card__date {
  font-size: 0.7rem;
  color: var(--news-text-light);
}

/* --- Thumbnail Placeholder (Dark) --- */
.pb-news-thumb--placeholder {
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: linear-gradient(135deg, #2d2624 0%, #1f1f1f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-news-thumb--placeholder span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
}

/* --- Featured Grid --- */
.pb-news-featured {
  margin-bottom: 2.5rem;
}
.pb-news-featured__grid {
  display: grid;
  gap: var(--news-gap);
}

/* 1 post */
.pb-news-featured--count-1 {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}
.pb-news-featured--count-1 .pb-news-card__thumb {
  aspect-ratio: 16 / 9;
}
.pb-news-featured--count-1 .pb-news-card__title {
  font-size: 1.05rem;
}

/* 2 posts */
.pb-news-featured--count-2 {
  grid-template-columns: 1fr 1fr;
}
.pb-news-featured--count-2 .pb-news-card__thumb {
  aspect-ratio: 16 / 9;
}

/* 3+ posts: main left, subs right */
.pb-news-featured--count-3,
.pb-news-featured--count-4,
.pb-news-featured--count-5 {
  grid-template-columns: 3fr 2fr;
}
.pb-news-card--main {
  grid-row: 1 / -1;
}
.pb-news-card--main .pb-news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pb-news-card--main .pb-news-card__thumb {
  flex: 1 1 auto;
  min-height: 180px;
}
.pb-news-card--main .pb-news-card__body {
  flex: 0 0 auto;
}
.pb-news-card--main .pb-news-card__title {
  font-size: 1.05rem;
  -webkit-line-clamp: 4;
}

/* Sub cards (horizontal layout) */
.pb-news-card--sub .pb-news-card__link {
  display: flex;
  flex-direction: row;
  height: 100%;
}
.pb-news-card--sub .pb-news-card__thumb {
  width: 96px;
  min-width: 96px;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.pb-news-card--sub .pb-news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.7rem;
  min-width: 0;
}
.pb-news-card--sub .pb-news-card__title {
  font-size: 0.8rem;
  -webkit-line-clamp: 2;
}

/* --- Quick Nav (Dark Band) --- */
.pb-news-quicknav {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--news-dark-mid);
  border-top: none;
  border-bottom: none;
}
.pb-news-quicknav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.pb-news-quicknav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5em 1em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--news-dark);
  background: #ffffff;
  border: 2px solid var(--news-accent);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}
.pb-news-quicknav__link:hover {
  background: var(--news-accent);
  color: #fff;
  border-color: var(--news-accent);
}
.pb-news-quicknav__count {
  font-size: 0.68rem;
  color: var(--news-accent);
  background: rgba(255, 102, 0, 0.1);
  padding: 0.1em 0.45em;
  border-radius: 100px;
  min-width: 1.4em;
  text-align: center;
  font-weight: 700;
}
.pb-news-quicknav__link:hover .pb-news-quicknav__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* --- Latest News List --- */
.pb-news-latest {
  margin-bottom: 2.5rem;
}
.pb-news-latest__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pb-news-latest__item {
  border-bottom: 1px solid var(--news-border);
}
.pb-news-latest__item:first-child {
  border-top: 1px solid var(--news-border);
}
.pb-news-latest__link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.pb-news-latest__link:hover {
  background: rgba(255, 102, 0, 0.04);
}
.pb-news-latest__thumb {
  width: 88px;
  min-width: 88px;
  aspect-ratio: 1;
  border-radius: var(--news-radius-sm);
  overflow: hidden;
  background: #ebeef3;
  flex-shrink: 0;
}
.pb-news-latest__thumb img,
.pb-news-latest__thumb .pb-news-thumb--placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pb-news-latest__body {
  flex: 1;
  min-width: 0;
}
.pb-news-latest__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--news-text);
  line-height: 1.55;
  margin: 0.2rem 0 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Reset SWELL heading defaults */
  background: none;
  padding: 0;
  border: none;
}
.pb-news-latest__title::before,
.pb-news-latest__title::after {
  display: none;
}
.pb-news-latest__date {
  font-size: 0.7rem;
  color: var(--news-text-light);
}

/* --- Type Sections --- */
.pb-news-type-section {
  margin-bottom: 2.5rem;
}
.pb-news-type-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--news-gap);
  margin-bottom: 0.75rem;
}
.pb-news-card--grid .pb-news-card__thumb {
  aspect-ratio: 16 / 10;
}
.pb-news-card--grid .pb-news-card__title {
  font-size: 0.8rem;
  -webkit-line-clamp: 2;
}
.pb-news-type-section__more {
  text-align: right;
}
.pb-news-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--news-accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.pb-news-more-link:hover {
  opacity: 0.75;
}

/* --- Title Chips --- */
.pb-news-titles {
  margin-bottom: 2.5rem;
}
.pb-news-titles__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pb-news-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4em 0.85em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--news-text);
  background: var(--news-bg);
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius-sm);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pb-news-chip:hover {
  background: var(--news-bg-light);
  border-color: var(--news-accent);
  color: var(--news-accent);
}

/* --- Related Links (Dark Background) --- */
.pb-news-related {
  background: var(--news-dark);
  padding: 2rem 1.5rem;
  margin: 1rem 0 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.pb-news-related > .pb-news-section__title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}
.pb-news-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--news-gap);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.pb-news-related__card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem;
  min-height: 44px;
  background: var(--news-bg);
  border-radius: var(--news-radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.pb-news-related__card:hover {
  border-color: var(--news-accent);
  box-shadow: var(--news-card-shadow-hover);
  transform: translateY(-2px);
}
.pb-news-related__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--news-text);
}
.pb-news-related__desc {
  font-size: 0.7rem;
  color: var(--news-text-sub);
  line-height: 1.5;
}

/* --- Schedule Section (Orange Tint) --- */
.pb-news-schedule {
  margin-bottom: 2.5rem;
}
.pb-news-schedule__desc {
  font-size: 0.82rem;
  color: var(--news-text-sub);
  margin: -0.75rem 0 1.25rem;
}
.pb-news-schedule__body {
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: var(--news-radius);
  overflow: hidden;
  background: var(--news-bg);
}
.pb-news-schedule__date-group {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--news-border);
}
.pb-news-schedule__date-group:last-child {
  border-bottom: none;
}
.pb-news-schedule__date-heading {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--news-text);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--news-accent);
}
.pb-news-schedule__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pb-news-schedule__item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
}
.pb-news-schedule__item:not(:last-child) {
  border-bottom: 1px solid #f1f5f9;
}
.pb-news-schedule__tcg {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15em 0.45em;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.pb-news-schedule__tcg--pokemon  { background: #fef9c3; color: #a16207; }
.pb-news-schedule__tcg--yugioh   { background: #f3e8ff; color: #7c3aed; }
.pb-news-schedule__tcg--onepiece { background: #fee2e2; color: #dc2626; }
.pb-news-schedule__tcg--duel     { background: #dbeafe; color: #2563eb; }
.pb-news-schedule__tcg--vanguard { background: #dcfce7; color: #16a34a; }
.pb-news-schedule__tcg--other    { background: #f1f5f9; color: #64748b; }

.pb-news-schedule__product {
  font-size: 0.82rem;
  color: var(--news-text);
  line-height: 1.5;
}
.pb-news-schedule__footer {
  margin-top: 1rem;
  text-align: center;
  padding: 0.75rem;
  background: var(--news-bg-light);
  border-radius: var(--news-radius);
}
.pb-news-schedule__footer-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--news-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  min-height: 44px;
}
.pb-news-schedule__footer-link:hover {
  opacity: 0.75;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .pb-news-card,
  .pb-news-quicknav__link,
  .pb-news-chip,
  .pb-news-related__card,
  .pb-news-more-link,
  .pb-news-latest__link {
    transition: none;
  }
  .pb-news-card:hover,
  .pb-news-related__card:hover {
    transform: none;
  }
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet: 768-1024px */
@media (max-width: 1024px) {
  .pb-news-type-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pb-news-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SP: max-width 767px */
@media (max-width: 767px) {
  /* Hero */
  .pb-news-hero {
    padding: 2.5rem 1rem 2rem;
  }
  .pb-news-hero__title {
    font-size: 2rem;
    letter-spacing: 0.12em;
  }
  .pb-news-hero__desc {
    font-size: 0.82rem;
  }
  .pb-news-hero__line {
    width: 40px;
  }

  /* Featured */
  .pb-news-featured--count-2,
  .pb-news-featured--count-3,
  .pb-news-featured--count-4,
  .pb-news-featured--count-5 {
    grid-template-columns: 1fr;
  }
  .pb-news-card--main {
    grid-row: auto;
  }
  .pb-news-card--main .pb-news-card__link {
    display: block;
    height: auto;
  }
  .pb-news-card--main .pb-news-card__thumb {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
  .pb-news-card--sub .pb-news-card__thumb {
    width: 80px;
    min-width: 80px;
  }
  .pb-news-card--sub .pb-news-card__title {
    font-size: 0.78rem;
  }

  /* Quick Nav */
  .pb-news-quicknav {
    padding: 1rem;
  }
  .pb-news-quicknav__list {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .pb-news-quicknav__list::-webkit-scrollbar {
    display: none;
  }
  .pb-news-quicknav__link {
    white-space: nowrap;
    font-size: 0.76rem;
    padding: 0.4em 0.8em;
  }

  /* Latest */
  .pb-news-latest__thumb {
    width: 72px;
    min-width: 72px;
  }
  .pb-news-latest__title {
    font-size: 0.84rem;
  }
  .pb-news-latest__link {
    gap: 0.75rem;
  }

  /* Type sections */
  .pb-news-type-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--news-gap-sm);
  }

  /* Related */
  .pb-news-related {
    padding: 1.5rem 1rem;
  }
  .pb-news-related__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--news-gap-sm);
  }

  /* Schedule */
  .pb-news-schedule__date-group {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .pb-news-related__grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================================
 *  pb-news-floatside — News TOP (news-preview) 専用の右浮遊サイドバー
 *  スコープ: .page-template-page-news-preview のみ
 *  他テンプレートには絶対に効かないように二重scope
 *
 *  配置方針:
 *   - FV（pb-news-hero）とかぶらないよう <main> 基準の absolute 配置
 *   - top は FV 実高さ（≒340px）分ほぼ丸ごと下げた位置に置く
 *   - その中に position:sticky の子要素を置きスクロール追従させる
 * ====================================================================== */
/* デフォルトは非表示（どのページでも描画されないことを保証するため） */
.pb-news-floatside {
  display: none;
}

/* このテンプレ専用：1280px以上で右カラムとして表示
 * 初期位置: FV(pb-news-hero)直下（常に表示）
 * スクロール: ヘッダー追従 position:fixed, top:120px で固定
 * JSが scroll イベントで top を動的に計算 */
@media (min-width: 1280px) {
  .page-template-page-news-preview .pb-news-floatside,
  .category-news .pb-news-floatside {
    display: block;
    position: fixed;
    right: max(16px, calc((100vw - 900px) / 2 - 320px - 16px));
    width: 300px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    z-index: 10;
  }
  .page-template-page-news-preview .pb-news-floatside .pb-sidebar-feed--sidebar,
  .category-news .pb-news-floatside .pb-sidebar-feed--sidebar {
    font-size: 13px;
  }
}

/* 1536px以上でもう少し右に寄せる */
@media (min-width: 1536px) {
  .page-template-page-news-preview .pb-news-floatside,
  .category-news .pb-news-floatside {
    right: calc((100vw - 900px) / 2 - 320px - 24px);
  }
}

/* フッター3カラムの上下マージン */
.page-template-page-news-preview .pb-news-feed-bottom {
  margin-top: 3rem;
}

/* --- BOX Price Ticker --- */
.pb-news-box-ticker {
  --pb-box-ticker-height: 54px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 0;
  position: fixed;
  top: calc(var(--swl-fix_headerH, 60px) + var(--swl-adminbarH, 0px));
  left: 0;
  right: 0;
  z-index: 98;
}
.pb-news-box-ticker + .pb-news-hero {
  margin-top: var(--pb-box-ticker-height);
}
.pb-news-box-ticker__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--news-dark-mid);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pb-news-box-ticker__label {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0.85rem 1rem;
  background: var(--news-accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.pb-news-box-ticker__list {
  display: flex;
  flex: 1 1 auto;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  cursor: grab;
}
.pb-news-box-ticker__list.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.pb-news-box-ticker__list::-webkit-scrollbar {
  display: none;
}
.pb-news-box-ticker__item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1rem;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.09);
  white-space: nowrap;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  user-select: none;
}
.pb-news-box-ticker__thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
}
.pb-news-box-ticker__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pb-news-box-ticker__item:last-child {
  border-right: none;
}
.pb-news-box-ticker__item:hover {
  background: rgba(255,255,255,0.05);
}
.pb-news-box-ticker__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}
.pb-news-box-ticker__price {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  font-variant-numeric: tabular-nums;
}
.pb-news-box-ticker__change {
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pb-news-box-ticker__change--up {
  color: #16a34a;
}
.pb-news-box-ticker__change--down {
  color: #dc2626;
}

.pb-news-fullwidth #fix_header {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

@media (max-width: 767px) {
  .pb-news-box-ticker {
    --pb-box-ticker-height: 46px;
    margin-bottom: 0;
  }
  .pb-news-box-ticker__label {
    padding: 0.75rem 0.85rem;
    font-size: 0.68rem;
  }
  .pb-news-box-ticker__item {
    min-height: 46px;
    padding: 0 0.85rem;
    gap: 0.45rem;
  }
  .pb-news-box-ticker__thumb {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    border-radius: 5px;
  }
  .pb-news-box-ticker__name {
    font-size: 0.74rem;
  }
  .pb-news-box-ticker__price,
  .pb-news-box-ticker__change {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pb-news-box-ticker__list {
    scroll-behavior: auto;
  }
}
