/* TH Social V110 — Reviews + Midnight theme */

.sellerDescriptionV110{
  font-size:18px;
  line-height:1.95;
  color:#254b73;
  font-weight:500;
  letter-spacing:.01em;
}
.sellerDetailHintV110{
  font-size:14px!important;
  margin-top:14px!important;
}
.productTabHead .productTabBtn{
  cursor:default;
}
.v110ReviewSection{
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid #d5e5f5;
}
.v110ReviewSection h3{
  margin:0 0 14px;
  font-size:24px;
  color:#113a69;
}
.v110ReviewSummaryBoard{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:18px;
  align-items:center;
  background:linear-gradient(180deg,#f8fcff,#edf5ff);
  border:1px solid #d4e5f6;
  border-radius:18px;
  padding:18px;
  margin-bottom:18px;
}
.v110ReviewScorePanel{
  display:grid;
  gap:8px;
  justify-items:center;
  text-align:center;
}
.v110ReviewScore{
  font-size:54px;
  font-weight:800;
  line-height:1;
  color:#0d5fd6;
}
.v110ReviewScoreStars .v110StarsOnly,
.v110StarsOnly{
  font-size:20px;
  letter-spacing:2px;
  color:#ffb21c;
}
.v110ReviewScoreCount{
  font-size:14px;
  color:#617b98;
}
.v110ReviewBars{display:grid;gap:10px}
.v110ReviewBarRow{
  display:grid;
  grid-template-columns:20px 16px 1fr 40px;
  gap:8px;
  align-items:center;
  color:#385572;
  font-size:14px;
}
.v110ReviewBarTrack{
  height:10px;
  border-radius:999px;
  background:#dbe7f3;
  overflow:hidden;
}
.v110ReviewBarFill{
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#ffca3a,#f2a411);
}
.v110ReviewCommentList{display:grid;gap:12px}
.v110ReviewCard{
  background:#fff;
  border:1px solid #d7e4f0;
  border-radius:16px;
  padding:16px;
  box-shadow:0 8px 18px rgba(36,90,141,.06);
}
.v110ReviewCardHead{display:flex;gap:12px;align-items:flex-start}
.v110ReviewAvatar{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#0f6ae7,#38bdf8);
  color:#fff;font-weight:800;
  flex:0 0 42px;
}
.v110ReviewUser{
  display:flex;gap:8px;align-items:center;flex-wrap:wrap;
  font-weight:700;color:#183a5b;
}
.v110VerifiedBadge{
  display:inline-flex;align-items:center;gap:4px;
  padding:2px 8px;border-radius:999px;
  background:#e6f8ec;color:#0d8e4c;font-size:12px;font-weight:700;
}
.v110ReviewMeta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;color:#637c96;font-size:13px;margin-top:3px}
.v110ReviewComment{margin:12px 0 0;color:#233a53;font-size:15px;line-height:1.75;white-space:pre-wrap;word-break:break-word}
.v110ReviewEmpty,.v110ReviewLoading,.v110ReviewSetup{
  padding:16px 18px;border-radius:16px;border:1px dashed #c9dced;background:#fbfdff;color:#4a6583;
}
.v110ReviewEligibleHint{
  margin-top:14px;
  border:1px solid #cfe3ff;
  background:#f6fbff;
  border-radius:16px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.v110ReviewEligibleHint b{display:block;color:#164d86}
.v110ReviewEligibleHint small{display:block;color:#607b97;margin-top:3px}

.orderActionCluster .orderReviewBtn{
  border:1px solid #ffd366;
  background:linear-gradient(180deg,#fff7d6,#ffe8a6);
  color:#7b4d00;
  border-radius:12px;
  font-weight:800;
  padding:10px 12px;
  cursor:pointer;
}
.orderActionCluster .orderReviewBtn:hover{transform:translateY(-1px);box-shadow:0 8px 16px rgba(255,198,61,.18)}
.v110ReviewedPill{
  border:1px solid #ccebd8;
  background:#f1fcf5;
  color:#18764a;
  border-radius:12px;
  padding:10px 12px;
  display:grid;
  gap:4px;
  font-weight:700;
}
.v110ReviewedPill small{
  display:block;
  color:#51745f;
  font-size:12px;
  line-height:1.5;
  font-weight:500;
}
.v110ReviewOverlay{
  position:fixed;inset:0;z-index:2200;
  background:rgba(8,23,43,.55);
  display:grid;place-items:center;
  padding:20px;
}
.v110ReviewModal{
  width:min(680px,100%);
  max-height:min(92vh,920px);
  overflow:auto;
  background:#fff;
  border-radius:22px;
  border:1px solid #d5e4f3;
  box-shadow:0 24px 60px rgba(9,32,60,.28);
}
.v110ReviewModalHead{
  display:flex;justify-content:space-between;gap:16px;align-items:flex-start;
  padding:22px 24px 0;
}
.v110ReviewModalHead p{margin:8px 0 0;color:#607d9a;line-height:1.65}
.v110ReviewModalBody{padding:20px 24px 24px;display:grid;gap:18px}
.v110ReviewModalProduct{
  display:flex;gap:14px;align-items:center;
  padding:14px 16px;border-radius:16px;border:1px solid #dbe7f3;background:#f8fbff;
}
.v110ReviewModalThumb img{width:60px;height:60px;object-fit:cover;border-radius:12px;display:block}
.v110ReviewModalThumb{width:60px;height:60px;border-radius:12px;overflow:hidden;background:#edf4fb;display:grid;place-items:center;font-size:24px}
.v110ReviewModalProduct b{display:block;color:#183d64}
.v110ReviewModalProduct small{display:block;color:#67829d;margin-top:4px}
.v110ReviewField{display:grid;gap:10px}
.v110ReviewField>span{font-weight:800;color:#1b426d}
.v110StarPicker{display:flex;gap:10px;flex-wrap:wrap}
.v110StarPicker button{
  width:48px;height:48px;border-radius:14px;border:1px solid #d5e4f2;
  background:#f7fbff;color:#c7cfdb;font-size:28px;cursor:pointer;
  transition:.15s ease;
}
.v110StarPicker button.active,
.v110StarPicker button:hover{
  background:linear-gradient(180deg,#fff3c4,#ffd96f);
  border-color:#ffc847;color:#d78d00;transform:translateY(-1px);
}
.v110ReviewField textarea{
  width:100%;min-height:150px;resize:vertical;border-radius:16px;
  border:1px solid #d4e3f2;background:#fcfeff;padding:14px 16px;
  color:#1d3855;font-size:15px;line-height:1.7;
}
.v110ReviewField small{color:#6d859e}
.v110ReviewModalActions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}

/* Admin theme selector extra card */
.v108ThemeChoice.midnight{
  background:linear-gradient(145deg,#0f1f33,#1b3252);
  border-color:#27456e;
  color:#eaf3ff;
}
.v108ThemeChoice.midnight small{color:#bad0ee}
.midnightPreview{
  background:linear-gradient(145deg,#0b1827,#2a4a73);
  border:1px solid #3b5d89;
  box-shadow:0 8px 20px rgba(4,13,23,.34);
}

html[data-market-card-theme="midnight"] .productDetailShell{
  background:linear-gradient(160deg,#08131f,#10233a);
  border:1px solid rgba(85,127,180,.28)!important;
  box-shadow:0 18px 44px rgba(2,12,24,.34)!important;
}
html[data-market-card-theme="midnight"] .productDetailShell,
html[data-market-card-theme="midnight"] .productDetailShell h1,
html[data-market-card-theme="midnight"] .productDetailShell h2,
html[data-market-card-theme="midnight"] .productDetailShell h3,
html[data-market-card-theme="midnight"] .productDetailShell b,
html[data-market-card-theme="midnight"] .productDetailShell .cat,
html[data-market-card-theme="midnight"] .productDetailShell .sellerLine,
html[data-market-card-theme="midnight"] .productDetailShell .productRating,
html[data-market-card-theme="midnight"] .productDetailShell .stockLine,
html[data-market-card-theme="midnight"] .productDetailShell .skuLine,
html[data-market-card-theme="midnight"] .productDetailShell .detailNote,
html[data-market-card-theme="midnight"] .productDetailShell .sellerDescriptionV110,
html[data-market-card-theme="midnight"] .productDetailShell .v110ReviewSection h3,
html[data-market-card-theme="midnight"] .productDetailShell .v110ReviewComment,
html[data-market-card-theme="midnight"] .productDetailShell .v110ReviewUser,
html[data-market-card-theme="midnight"] .productDetailShell .v110ReviewMeta,
html[data-market-card-theme="midnight"] .productDetailShell .v110ReviewEmpty,
html[data-market-card-theme="midnight"] .productDetailShell .v110ReviewLoading,
html[data-market-card-theme="midnight"] .productDetailShell .v110ReviewSetup,
html[data-market-card-theme="midnight"] .productDetailShell .sellerDetailHintV110,
html[data-market-card-theme="midnight"] .productDetailShell .purchaseConditions li{
  color:#e5eefb!important;
}
html[data-market-card-theme="midnight"] .productBuyPanel,
html[data-market-card-theme="midnight"] .productGallery,
html[data-market-card-theme="midnight"] .productTabs,
html[data-market-card-theme="midnight"] .productTrustBar,
html[data-market-card-theme="midnight"] .productMainVisual,
html[data-market-card-theme="midnight"] .productTabBody,
html[data-market-card-theme="midnight"] .sellerDetailFull,
html[data-market-card-theme="midnight"] .purchaseConditions,
html[data-market-card-theme="midnight"] .v110ReviewSummaryBoard,
html[data-market-card-theme="midnight"] .v110ReviewCard,
html[data-market-card-theme="midnight"] .v110ReviewEligibleHint,
html[data-market-card-theme="midnight"] .detailNote,
html[data-market-card-theme="midnight"] .escrowNotice,
html[data-market-card-theme="midnight"] .warrantyReadOnly,
html[data-market-card-theme="midnight"] .qtyBox,
html[data-market-card-theme="midnight"] .skuCode,
html[data-market-card-theme="midnight"] .shareCircle,
html[data-market-card-theme="midnight"] .favoriteBtn,
html[data-market-card-theme="midnight"] .productTrustItem,
html[data-market-card-theme="midnight"] .productBooth,
html[data-market-card-theme="midnight"] .offer{
  background:#0f2135!important;
  border-color:#28476f!important;
  color:#e8f1fd!important;
}
html[data-market-card-theme="midnight"] .productTabHead{background:#10263d!important;border-color:#28476f!important}
html[data-market-card-theme="midnight"] .productTabBtn{color:#dbe9fa!important}
html[data-market-card-theme="midnight"] .productPriceBig{color:#6eb8ff!important}
html[data-market-card-theme="midnight"] .productRating .stars,
html[data-market-card-theme="midnight"] .v110StarsOnly{color:#ffd25e!important}
html[data-market-card-theme="midnight"] .v110ReviewBarTrack{background:#18314d!important}
html[data-market-card-theme="midnight"] .v110ReviewEmpty,
html[data-market-card-theme="midnight"] .v110ReviewLoading,
html[data-market-card-theme="midnight"] .v110ReviewSetup{border-color:#2a4b74!important;background:#0f2135!important}
html[data-market-card-theme="midnight"] .v110VerifiedBadge{background:#173c2b!important;color:#95f0be!important}
html[data-market-card-theme="midnight"] .detailNote,
html[data-market-card-theme="midnight"] .sellerDetailHintV110,
html[data-market-card-theme="midnight"] .v110ReviewScoreCount,
html[data-market-card-theme="midnight"] .v110ReviewEligibleHint small,
html[data-market-card-theme="midnight"] .v110ReviewMeta,
html[data-market-card-theme="midnight"] .purchaseConditions small,
html[data-market-card-theme="midnight"] .escrowNotice,
html[data-market-card-theme="midnight"] .productTrustItem small,
html[data-market-card-theme="midnight"] .productTrustItem div small{
  color:#abc2de!important;
}
html[data-market-card-theme="midnight"] .productBooth:hover,
html[data-market-card-theme="midnight"] .offer:hover{box-shadow:0 12px 28px rgba(4,14,25,.35)!important}

@media (max-width:768px){
  .v110ReviewSummaryBoard{grid-template-columns:1fr}
  .v110ReviewEligibleHint{flex-direction:column;align-items:flex-start}
  .v110ReviewModal{border-radius:18px}
  .v110ReviewModalHead,.v110ReviewModalBody{padding-left:16px;padding-right:16px}
  .v110StarPicker button{width:42px;height:42px;font-size:24px}
}
