/* DB & Link Manager frontend */
.fj-dblm-card {
  border: 1px solid rgba(120, 160, 255, .35);
  border-radius: 14px;
  padding: 18px;
  margin: 18px 0;
  background: rgba(10, 14, 24, .04);
}

.fj-dblm-heading {
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 12px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(120, 160, 255, .35);
}

.fj-dblm-definition-list {
  display: grid;
  grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0 0 12px;
}

.fj-dblm-definition-list dt {
  font-weight: 700;
}

.fj-dblm-definition-list dd {
  margin: 0;
}

.fj-dblm-profile-text {
  margin: 12px 0;
}

.fj-dblm-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.fj-dblm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid currentColor;
  font-weight: 700;
}

.fj-dblm-meta,
.fj-dblm-ad-label,
.fj-dblm-muted,
.fj-dblm-notice {
  font-size: .9rem;
  opacity: .82;
}

.fj-dblm-table-scroll {
  overflow-x: auto;
  margin: 18px 0;
}

.fj-dblm-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.fj-dblm-table caption {
  text-align: left;
  font-weight: 800;
  margin-bottom: 8px;
}

.fj-dblm-table th,
.fj-dblm-table td {
  border: 1px solid rgba(120, 120, 120, .28);
  padding: 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.fj-dblm-table th {
  font-weight: 800;
  background: rgba(120, 160, 255, .12);
}

.fj-dblm-player-page > *:first-child {
  margin-top: 0;
}

@media (max-width: 640px) {
  .fj-dblm-card {
    padding: 14px;
  }

  .fj-dblm-definition-list {
    grid-template-columns: 1fr;
  }

  .fj-dblm-table {
    min-width: 720px;
  }
}

/* Shortcode display stability */
.fj-dblm-player-page {
  display: block;
  max-width: 100%;
}
.fj-dblm-player-page .fj-dblm-card,
.fj-dblm-player-page .fj-dblm-table-scroll,
.fj-dblm-player-profile,
.fj-dblm-device-box {
  box-sizing: border-box;
}
.fj-dblm-notice {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(120, 120, 120, .28);
  background: rgba(120, 160, 255, .08);
}
.fj-dblm-table a,
.fj-dblm-card a {
  text-underline-offset: 3px;
}
.fj-dblm-table code {
  white-space: normal;
  word-break: break-all;
}
@media (max-width: 640px) {
  .fj-dblm-table-scroll {
    -webkit-overflow-scrolling: touch;
  }
  .fj-dblm-table th,
  .fj-dblm-table td {
    padding: 8px;
  }
}

/* Settings DB display grouping */
.fj-dblm-settings-card {
  overflow: hidden;
}
.fj-dblm-settings-list {
  display: grid;
  gap: 14px;
}
.fj-dblm-setting-entry {
  padding: 14px;
  border: 1px solid rgba(120, 120, 120, .24);
  border-radius: 14px;
  background: rgba(120, 160, 255, .055);
}
.fj-dblm-setting-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(120, 120, 120, .18);
}
.fj-dblm-setting-entry-head strong {
  font-size: 1.05em;
}
.fj-dblm-setting-entry-head span {
  font-size: .88em;
  opacity: .72;
}
.fj-dblm-setting-group {
  margin-top: 12px;
}
.fj-dblm-setting-group-title {
  margin-bottom: 8px;
  font-weight: 800;
}
.fj-dblm-setting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.fj-dblm-setting-grid > div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(120, 120, 120, .18);
  border-radius: 10px;
  background: rgba(120, 160, 255, .06);
}
.fj-dblm-setting-grid dt {
  margin: 0 0 4px;
  font-size: .82em;
  opacity: .72;
}
.fj-dblm-setting-grid dd {
  margin: 0;
  font-weight: 700;
  word-break: break-word;
}
.fj-dblm-setting-details {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(120, 120, 120, .18);
  border-radius: 10px;
  background: rgba(120, 120, 120, .05);
}
.fj-dblm-setting-details summary {
  cursor: pointer;
  font-weight: 800;
}
.fj-dblm-setting-details code {
  display: block;
  margin-top: 8px;
  white-space: pre-wrap;
  word-break: break-all;
}
.fj-dblm-json-block {
  margin-top: 10px;
}
.fj-dblm-json-block pre {
  max-height: 260px;
  overflow: auto;
  margin: 6px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .06);
  white-space: pre-wrap;
}
@media (max-width: 900px) {
  .fj-dblm-setting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .fj-dblm-setting-entry-head { align-items: flex-start; flex-direction: column; }
  .fj-dblm-setting-grid { grid-template-columns: 1fr; }
}

/* Product link card */
.fj-dblm-product-card {
  overflow: hidden;
}
.fj-dblm-product-card-inner {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.fj-dblm-product-image-wrap {
  width: 132px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(120, 120, 120, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  overflow: hidden;
}
.fj-dblm-product-image {
  max-width: 100%;
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.fj-dblm-product-image-placeholder {
  font-size: .86rem;
  opacity: .58;
}
.fj-dblm-product-title {
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.45;
}
.fj-dblm-product-maker {
  margin-top: 3px;
  font-size: .9rem;
  opacity: .72;
}
.fj-dblm-product-description {
  margin-top: 8px;
  font-size: .94rem;
  line-height: 1.65;
}
.fj-dblm-product-description p {
  margin: 0;
}
.fj-dblm-product-buttons .fj-dblm-button {
  min-width: 118px;
}
.fj-dblm-product-card-compact .fj-dblm-product-card-inner {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
}
.fj-dblm-product-card-compact .fj-dblm-product-image-wrap {
  width: 88px;
  min-height: 78px;
}
.fj-dblm-product-card-compact .fj-dblm-product-image {
  max-height: 84px;
}
@media (max-width: 640px) {
  .fj-dblm-product-card-inner {
    grid-template-columns: 1fr;
  }
  .fj-dblm-product-image-wrap {
    width: 100%;
    min-height: 150px;
  }
  .fj-dblm-product-image {
    max-height: 150px;
  }
  .fj-dblm-product-buttons .fj-dblm-button {
    flex: 1 1 128px;
  }
}

/* 商品リンクカードの軽量表示・スマホ最適化 */
.fj-dblm-product-card {
  contain: layout style;
}
.fj-dblm-product-card-inner {
  align-items: center;
}
.fj-dblm-product-body {
  min-width: 0;
}
.fj-dblm-product-title {
  overflow-wrap: anywhere;
}
.fj-dblm-product-buttons {
  gap: 8px;
}
.fj-dblm-product-buttons:empty::before {
  content: "購入リンクは確認中です";
  font-size: .9rem;
  opacity: .7;
}
.fj-dblm-product-card .fj-dblm-meta {
  font-size: .82rem;
  opacity: .68;
}
@media (max-width: 640px) {
  .fj-dblm-product-card {
    padding: 12px;
  }
  .fj-dblm-product-card-inner {
    gap: 10px;
  }
  .fj-dblm-product-title {
    font-size: 1rem;
  }
  .fj-dblm-product-description {
    font-size: .9rem;
    line-height: 1.55;
  }
  .fj-dblm-product-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }
  .fj-dblm-product-buttons .fj-dblm-button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }
  .fj-dblm-product-card-compact .fj-dblm-product-card-inner {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .fj-dblm-product-card-compact .fj-dblm-product-image-wrap {
    width: 82px;
    min-height: 76px;
  }
}

/* STEP182 商品リンクカード表示タイプ整理 */
.fj-dblm-product-card-wide .fj-dblm-product-card-inner {
  grid-template-columns: 160px minmax(0, 1fr);
}
.fj-dblm-product-card-wide .fj-dblm-product-image-wrap {
  width: 160px;
  min-height: 132px;
}
.fj-dblm-product-card-buttons_only {
  padding: 12px;
}
.fj-dblm-product-card-buttons_only .fj-dblm-product-buttons-only-head {
  margin-bottom: 8px;
}
.fj-dblm-product-card-buttons_only .fj-dblm-product-title {
  display: block;
  font-size: .96rem;
}
.fj-dblm-product-card-buttons_only .fj-dblm-product-buttons {
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .fj-dblm-product-card-wide .fj-dblm-product-card-inner {
    grid-template-columns: 1fr;
  }
  .fj-dblm-product-card-wide .fj-dblm-product-image-wrap {
    width: 100%;
  }
}

/* STEP334: team/setup feature preset cards */
.fj-dblm-team-setup{margin:24px 0}.fj-dblm-setup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.fj-dblm-setup-card{height:100%}.fj-dblm-heading-small{font-weight:700;font-size:1.05rem;margin:0 0 8px}.fj-dblm-setup-table th,.fj-dblm-setup-table td{vertical-align:top}.fj-dblm-button{display:inline-block;margin:2px 4px 2px 0;padding:6px 10px;border:1px solid #d0d7de;border-radius:6px;text-decoration:none;font-size:.9em;line-height:1.2}.fj-dblm-button:hover{text-decoration:none;filter:brightness(.98)}

/* STEP356: Theme interference guard for DBLM shortcode output. */
.fj-dblm-scope,
.fj-dblm-team-setup,
.fj-dblm-product-card {
  box-sizing: border-box;
  max-width: 100%;
}
.fj-dblm-scope *,
.fj-dblm-team-setup *,
.fj-dblm-product-card * {
  box-sizing: border-box;
}
.fj-dblm-team-setup h2,
.fj-dblm-team-setup h3,
.fj-dblm-scope h2,
.fj-dblm-scope h3 {
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.fj-dblm-team-setup table,
.fj-dblm-scope table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}
.fj-dblm-team-setup .fj-dblm-table-scroll,
.fj-dblm-scope .fj-dblm-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fj-dblm-css-safe-preview {
  border: 1px dashed #ccd0d4;
  background: #fff;
  padding: 16px;
}

/* STEP574: device/product color display */
.fj-dblm-product-color {
  margin-top: 2px;
  font-size: 12px;
  color: var(--dblm-muted, #646970);
}


/* STEP1420: Settings cards inherit surrounding light/dark theme without white haze */
.fj-dblm-settings-card {
  color: inherit;
}
.fj-dblm-setting-entry,
.fj-dblm-setting-grid > div,
.fj-dblm-setting-details {
  color: inherit;
}
.fj-dblm-setting-entry-head span,
.fj-dblm-setting-grid dt {
  color: inherit;
}
.fj-dblm-setting-entry {
  background: rgba(120, 160, 255, .055);
}
.fj-dblm-setting-grid > div {
  background: rgba(120, 160, 255, .07);
}
.fj-dblm-setting-details {
  background: rgba(120, 160, 255, .045);
}

/* STEP1421: Progressive-enhancement game tabs */
.fj-dblm-settings-tabs {
  overflow: hidden;
}
.fj-dblm-settings-tablist {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.fj-dblm-settings-tabs[data-dblm-tabs-ready="1"] .fj-dblm-settings-tablist {
  display: flex;
}
.fj-dblm-settings-tab {
  appearance: none;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(120, 160, 255, .28);
  border-radius: 999px;
  background: rgba(120, 160, 255, .06);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.2;
}
.fj-dblm-settings-tab:hover,
.fj-dblm-settings-tab:focus-visible {
  border-color: rgba(73, 216, 255, .58);
  outline: none;
  box-shadow: 0 0 0 3px rgba(73, 216, 255, .12);
}
.fj-dblm-settings-tab.is-active,
.fj-dblm-settings-tab[aria-selected="true"] {
  border-color: rgba(73, 216, 255, .55);
  background: rgba(73, 216, 255, .14);
}
.fj-dblm-settings-tabpanel {
  margin-top: 12px;
}
.fj-dblm-settings-tabs[data-dblm-tabs-ready="1"] .fj-dblm-settings-tabpanel[hidden] {
  display: none !important;
}
.fj-dblm-settings-tabpanel .fj-dblm-settings-card-embedded {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
@media (max-width: 560px) {
  .fj-dblm-settings-tablist {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }
  .fj-dblm-settings-tab {
    flex: 0 0 auto;
  }
}


/* STEP1423-1424: Always-visible crosshair code + copy + nearby preview */
.fj-dblm-crosshair-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, .55fr);
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(120, 160, 255, .2);
  border-radius: 12px;
  background: rgba(120, 160, 255, .045);
}
.fj-dblm-crosshair-code-area,
.fj-dblm-crosshair-preview-area {
  min-width: 0;
}
.fj-dblm-crosshair-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.fj-dblm-crosshair-copy {
  appearance: none;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(73, 216, 255, .34);
  border-radius: 8px;
  background: rgba(73, 216, 255, .08);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
}
.fj-dblm-crosshair-copy:hover,
.fj-dblm-crosshair-copy:focus-visible {
  border-color: rgba(73, 216, 255, .68);
  outline: none;
  box-shadow: 0 0 0 3px rgba(73, 216, 255, .12);
}
.fj-dblm-crosshair-copy.is-copied {
  border-color: rgba(69, 220, 154, .58);
}
.fj-dblm-crosshair-code {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 11px 12px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(120, 120, 120, .18);
  border-radius: 9px;
  background: rgba(0, 0, 0, .1);
  color: inherit;
  white-space: pre-wrap;
  word-break: break-all;
}
.fj-dblm-crosshair-copy-status {
  display: block;
  min-height: 1.35em;
  margin-top: 5px;
  font-size: .78rem;
  opacity: .72;
}
.fj-dblm-crosshair-preview-area {
  display: flex;
  flex-direction: column;
}
.fj-dblm-crosshair-preview-label {
  margin-bottom: 9px;
  font-size: .88rem;
  font-weight: 800;
}
.fj-dblm-crosshair-preview {
  --dblm-crosshair-color: #49d8ff;
  --dblm-crosshair-length: 12px;
  --dblm-crosshair-thickness: 2px;
  --dblm-crosshair-offset: 5px;
  --dblm-crosshair-opacity: 1;
  --dblm-crosshair-dot-size: 3px;
  --dblm-crosshair-dot-display: none;
  --dblm-crosshair-inner-display: block;
  --dblm-crosshair-outer-display: none;
  --dblm-crosshair-outer-length: 8px;
  --dblm-crosshair-outer-thickness: 2px;
  --dblm-crosshair-outer-offset: 15px;
  --dblm-crosshair-outer-opacity: .75;

  position: relative;
  width: 100%;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(73,216,255,.055), transparent 42%),
    #111823;
  background-size: 20px 20px, 20px 20px, auto, auto;
}
.fj-dblm-crosshair-preview::before,
.fj-dblm-crosshair-preview::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: rgba(255,255,255,.035);
}
.fj-dblm-crosshair-preview::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}
.fj-dblm-crosshair-preview::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}
.fj-dblm-crosshair-line,
.fj-dblm-crosshair-dot {
  position: absolute;
  z-index: 2;
  background: var(--dblm-crosshair-color);
  box-shadow: 0 0 2px rgba(0,0,0,.8);
}
.fj-dblm-crosshair-line--inner {
  display: var(--dblm-crosshair-inner-display);
  opacity: var(--dblm-crosshair-opacity);
}
.fj-dblm-crosshair-line--top,
.fj-dblm-crosshair-line--bottom {
  left: 50%;
  width: var(--dblm-crosshair-thickness);
  height: var(--dblm-crosshair-length);
  transform: translateX(-50%);
}
.fj-dblm-crosshair-line--top {
  bottom: calc(50% + var(--dblm-crosshair-offset));
}
.fj-dblm-crosshair-line--bottom {
  top: calc(50% + var(--dblm-crosshair-offset));
}
.fj-dblm-crosshair-line--left,
.fj-dblm-crosshair-line--right {
  top: 50%;
  width: var(--dblm-crosshair-length);
  height: var(--dblm-crosshair-thickness);
  transform: translateY(-50%);
}
.fj-dblm-crosshair-line--left {
  right: calc(50% + var(--dblm-crosshair-offset));
}
.fj-dblm-crosshair-line--right {
  left: calc(50% + var(--dblm-crosshair-offset));
}
.fj-dblm-crosshair-line--outer {
  display: var(--dblm-crosshair-outer-display);
  opacity: var(--dblm-crosshair-outer-opacity);
}
.fj-dblm-crosshair-line--outer-top,
.fj-dblm-crosshair-line--outer-bottom {
  left: 50%;
  width: var(--dblm-crosshair-outer-thickness);
  height: var(--dblm-crosshair-outer-length);
  transform: translateX(-50%);
}
.fj-dblm-crosshair-line--outer-top {
  bottom: calc(50% + var(--dblm-crosshair-outer-offset));
}
.fj-dblm-crosshair-line--outer-bottom {
  top: calc(50% + var(--dblm-crosshair-outer-offset));
}
.fj-dblm-crosshair-line--outer-left,
.fj-dblm-crosshair-line--outer-right {
  top: 50%;
  width: var(--dblm-crosshair-outer-length);
  height: var(--dblm-crosshair-outer-thickness);
  transform: translateY(-50%);
}
.fj-dblm-crosshair-line--outer-left {
  right: calc(50% + var(--dblm-crosshair-outer-offset));
}
.fj-dblm-crosshair-line--outer-right {
  left: calc(50% + var(--dblm-crosshair-outer-offset));
}
.fj-dblm-crosshair-dot {
  display: var(--dblm-crosshair-dot-display);
  top: 50%;
  left: 50%;
  width: var(--dblm-crosshair-dot-size);
  height: var(--dblm-crosshair-dot-size);
  transform: translate(-50%, -50%);
}
.fj-dblm-crosshair-preview-note {
  margin-top: 6px;
  font-size: .75rem;
  opacity: .65;
}
@media (max-width: 720px) {
  .fj-dblm-crosshair-panel {
    grid-template-columns: 1fr;
  }
  .fj-dblm-crosshair-preview {
    min-height: 190px;
  }
}


/* STEP1473: resilient product-image fallback + stable YouTube player. */
.fj-dblm-product-card-no-image .fj-dblm-product-card-inner,
.fj-dblm-product-card-compact.fj-dblm-product-card-no-image .fj-dblm-product-card-inner,
.fj-dblm-product-card-wide.fj-dblm-product-card-no-image .fj-dblm-product-card-inner {
  grid-template-columns: minmax(0, 1fr);
}

.fj-dblm-product-card-no-image .fj-dblm-product-body {
  min-width: 0;
  width: 100%;
}

.fj-dblm-youtube-player-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.fj-dblm-youtube-player-wrap .fj-dblm-youtube-player {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  border: 0;
}


/* STEP1476: category-aware product image fallback icons. */
.fj-dblm-product-image-wrap {
  position: relative;
}

.fj-dblm-product-device-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
  color: currentColor;
  opacity: .46;
}

.fj-dblm-product-device-icon-svg {
  width: 56px;
  height: 56px;
  max-width: 58%;
}

.fj-dblm-product-image-wrap.has-product-image .fj-dblm-product-device-icon {
  position: absolute;
  inset: 0;
}

.fj-dblm-product-image-wrap.is-image-loaded .fj-dblm-product-device-icon {
  visibility: hidden;
}

.fj-dblm-product-image-wrap.is-image-error .fj-dblm-product-device-icon,
.fj-dblm-product-image-wrap.is-image-fallback .fj-dblm-product-device-icon {
  visibility: visible;
}

.fj-dblm-product-image-wrap.is-image-error .fj-dblm-product-image {
  display: none;
}

.fj-dblm-product-card-device-icon-only .fj-dblm-product-card-inner {
  grid-template-columns: 132px minmax(0, 1fr);
}

.fj-dblm-product-card-compact.fj-dblm-product-card-device-icon-only .fj-dblm-product-card-inner {
  grid-template-columns: 88px minmax(0, 1fr);
}

@media (max-width: 640px) {
  .fj-dblm-product-card-device-icon-only .fj-dblm-product-card-inner,
  .fj-dblm-product-card-compact.fj-dblm-product-card-device-icon-only .fj-dblm-product-card-inner {
    grid-template-columns: 1fr;
  }

  .fj-dblm-product-image-wrap.is-image-fallback,
  .fj-dblm-product-image-wrap.is-image-error {
    min-height: 110px;
  }
}

/* STEP1479: gaming-style product media surface + fixed three-line product titles. */
.fj-dblm-product-image-wrap {
  border-color: rgba(72, 226, 255, .42);
  background:
    radial-gradient(circle at 22% 18%, rgba(101, 68, 255, .16), transparent 42%),
    linear-gradient(145deg, #08111f 0%, #0c1729 58%, #101a31 100%);
}

.fj-dblm-product-image-wrap.is-image-fallback,
.fj-dblm-product-image-wrap.is-image-error,
.fj-dblm-product-card-device-icon-only .fj-dblm-product-image-wrap {
  border-color: rgba(67, 229, 255, .82);
  box-shadow:
    0 0 0 1px rgba(157, 88, 255, .28),
    0 0 18px rgba(67, 229, 255, .16),
    inset 0 0 24px rgba(81, 64, 190, .16);
}

.fj-dblm-product-image-wrap.is-image-fallback .fj-dblm-product-device-icon,
.fj-dblm-product-image-wrap.is-image-error .fj-dblm-product-device-icon,
.fj-dblm-product-card-device-icon-only .fj-dblm-product-device-icon {
  color: #6eeaff;
  opacity: .92;
  filter: drop-shadow(0 0 7px rgba(67, 229, 255, .48)) drop-shadow(0 0 12px rgba(157, 88, 255, .24));
}

.fj-dblm-product-card:not(.fj-dblm-product-card-buttons_only) .fj-dblm-product-title {
  display: -webkit-box;
  min-height: calc(1.45em * 3);
  max-height: calc(1.45em * 3);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
}

@media (hover: hover) and (pointer: fine) {
  .fj-dblm-product-title[title] {
    cursor: help;
  }
}



/* STEP1480: harden product media surface against saved-template/theme overrides.
 *
 * STEP1479 established the gaming-style surface, but player-template custom CSS can
 * be emitted after frontend.css and may therefore restore a light image tile.
 * Keep the media surface dark at the component boundary with explicit important
 * properties and make the fallback SVG itself transparent.
 */
body .fj-dblm-template .fj-dblm-product-card .fj-dblm-product-image-wrap[data-dblm-device-category],
body .fj-dblm-product-card .fj-dblm-product-image-wrap[data-dblm-device-category] {
  background-color: #08111f !important;
  background-image:
    radial-gradient(circle at 22% 18%, rgba(101, 68, 255, .18), transparent 42%),
    linear-gradient(145deg, #08111f 0%, #0c1729 58%, #101a31 100%) !important;
  border-color: rgba(67, 229, 255, .78) !important;
}

body .fj-dblm-template .fj-dblm-product-card .fj-dblm-product-image-wrap[data-dblm-device-category].is-image-fallback,
body .fj-dblm-template .fj-dblm-product-card-device-icon-only .fj-dblm-product-image-wrap[data-dblm-device-category],
body .fj-dblm-product-card .fj-dblm-product-image-wrap[data-dblm-device-category].is-image-fallback,
body .fj-dblm-product-card-device-icon-only .fj-dblm-product-image-wrap[data-dblm-device-category] {
  box-shadow:
    0 0 0 1px rgba(157, 88, 255, .32),
    0 0 18px rgba(67, 229, 255, .18),
    inset 0 0 26px rgba(81, 64, 190, .18) !important;
}

body .fj-dblm-template .fj-dblm-product-card .fj-dblm-product-device-icon,
body .fj-dblm-template .fj-dblm-product-card .fj-dblm-product-device-icon-svg,
body .fj-dblm-product-card .fj-dblm-product-device-icon,
body .fj-dblm-product-card .fj-dblm-product-device-icon-svg {
  background: transparent !important;
  box-shadow: none !important;
}

body .fj-dblm-template .fj-dblm-product-card .fj-dblm-product-device-icon-svg,
body .fj-dblm-product-card .fj-dblm-product-device-icon-svg {
  fill: none !important;
  stroke: currentColor !important;
}
