
.tg-rating-card,.tg-rating-card *,
#tg-rating-message-v2,#tg-rating-message-v2 *{box-sizing:border-box}
.tg-rating-card{
  width:100%;min-width:0;margin:16px 0 20px;padding:16px 20px;
  display:grid;grid-template-columns:1fr 1.3fr;gap:24px;
  color:#eee8f4;border:1px solid rgba(255,210,110,.22);border-radius:18px;
  background:radial-gradient(ellipse at top left,rgba(255,192,94,.09),transparent 65%),
  linear-gradient(120deg,#2a2233,#211b2e);
  box-shadow:0 8px 24px rgba(0,0,0,.14);
}
.tg-rating-card .tgr-summary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.tg-rating-card .tgr-title{
  display:block;font-size:16px;line-height:1.5;color:#f4edf8;
}
.tg-rating-card .tgr-note{
  display:block;margin-top:3px;font-size:11px;line-height:1.5;color:#b1a5b9;
}
.tg-rating-card .tgr-score{
  display:flex;align-items:baseline;gap:5px;white-space:nowrap;color:#ffd15c;
}
.tg-rating-card .tgr-score b{
  font-size:40px;line-height:1.1;font-weight:800;letter-spacing:-1px;
}
.tg-rating-card .tgr-score span{font-size:13px}
.tg-rating-card .tgr-controls{
  min-width:0;border-left:1px solid rgba(255,255,255,.08);padding-left:24px;
}
.tg-rating-card .tgr-label{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;font-size:13px;line-height:20px;
}
.tg-rating-card .tgr-choice{font-size:11px;color:#baadc6}
.tg-rating-card .tgr-row{
  display:flex;align-items:center;gap:12px;margin-top:6px;
}
.tg-rating-card .tgr-stars{
  display:flex;align-items:center;justify-content:space-between;flex:1;min-width:0;
}
.tg-rating-card .tgr-star{
  appearance:none!important;background:none!important;border:0!important;
  box-shadow:none!important;padding:6px 2px!important;margin:0!important;
  width:36px!important;height:40px!important;min-width:0!important;
  display:inline-flex!important;align-items:center;justify-content:center;
  cursor:pointer;flex-shrink:1;border-radius:8px!important;
}
.tg-rating-card .tgr-star svg{
  width:25px!important;height:25px!important;display:block;pointer-events:none;
}
.tg-rating-card .tgr-star path{stroke-width:.4;transition:fill .15s}
.tg-rating-card .tgr-star[data-selected="true"] svg{
  filter:drop-shadow(0 2px 4px rgba(255,194,57,.25));
}
.tg-rating-card .tgr-submit{
  appearance:none!important;flex-shrink:0;border:0!important;
  border-radius:10px!important;height:36px!important;padding:0 14px!important;
  background:linear-gradient(110deg,#ffe298,#eab94e)!important;
  color:#49320d!important;font-family:inherit!important;
  font-size:13px!important;font-weight:700!important;line-height:36px!important;
  cursor:pointer;box-shadow:0 3px 10px rgba(230,174,61,.12)!important;
}
.tg-rating-card button:focus-visible{
  outline:2px solid #ffd15c!important;outline-offset:2px;
}
#tg-rating-message-v2{
  position:fixed!important;inset:0!important;z-index:2147483647!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:24px;background:rgba(8,5,16,.58);backdrop-filter:blur(4px);
}
#tg-rating-message-v2 .tgr-dialog{
  width:290px;max-width:100%;padding:26px 22px 20px;text-align:center;
  border:1px solid rgba(255,218,135,.3);border-radius:22px;
  background:linear-gradient(145deg,#34283f,#211b2d);
  box-shadow:0 24px 80px rgba(0,0,0,.5);color:#fff;
}
#tg-rating-message-v2 .tgr-dialog-icon{
  width:46px;height:46px;margin:0 auto 14px;border-radius:50%;
  background:rgba(255,209,92,.13);color:#ffd15c;font-size:28px;line-height:46px;
}
#tg-rating-message-v2 h3{
  margin:0 0 20px!important;font-size:17px!important;line-height:1.5!important;
  color:#fff!important;font-weight:600;
}
#tg-rating-message-v2 button{
  appearance:none;width:100%;height:40px;border:0;border-radius:11px;
  background:linear-gradient(110deg,#ffe298,#eab94e);color:#49320d;
  font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;
}
@media(max-width:640px){
  .tg-rating-card{
    grid-template-columns:1fr;gap:10px;padding:13px 15px;
    margin:14px 0 18px;border-radius:16px;
  }
  .tg-rating-card .tgr-controls{
    border-left:0;border-top:1px solid rgba(255,255,255,.08);
    padding:9px 0 0;
  }
  .tg-rating-card .tgr-title{font-size:15px}
  .tg-rating-card .tgr-score b{font-size:34px}
  .tg-rating-card .tgr-row{margin-top:3px;gap:10px}
  .tg-rating-card .tgr-submit{padding:0 12px!important;font-size:12px!important}
}
