#gstar-popup {
  box-sizing: border-box;
  width: min(800px, calc(100vw - 24px));
  max-width: none;
  height: min(704px, calc(100vh - 24px));
  height: min(704px, calc(100dvh - 24px));
  max-height: none;
  padding: 0;
  border: 1px solid #c7b8a2;
  border-radius: 10px;
  color: #28231d;
  background: #faf7f1;
  box-shadow: 0 12px 48px #0005;
}
#gstar-popup[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
#gstar-popup::backdrop { background: #0006; }
.gstar-popup-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 12px;
}
.gstar-popup-bar h2 { flex: 1; margin: 0; font-size: 1rem; }
.gstar-popup-bar a, .gstar-popup-bar button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: inherit;
  font-size: .875rem;
  color: inherit;
}
.gstar-popup-bar a { text-decoration: underline; text-underline-offset: .2em; }
.gstar-popup-bar button {
  background: #fff;
  border: 1px solid #c7b8a2;
  border-radius: 6px;
  padding: 0 12px;
  cursor: pointer;
}
#gstar-popup iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid #c7b8a2;
  background: #fff;
}
