.glt-favorite-form { margin: 0; }
.glt-favorite-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 13px;
  border: 1px solid #80999e;
  border-radius: 10px;
  background: #f1f6f5;
  color: #183e4e;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.glt-favorites { margin: 24px 0; scroll-margin-top: 100px; }
.glt-favorites h2 { font-size: 24px; }
.glt-favorites h3 { font-size: 17px; }
.glt-favorites ul { list-style: none; padding: 0; margin: 0; }
.glt-favorites li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #d5e1df;
}
.glt-favorites a { color: #183e4e; text-decoration: underline; }
.glt-register__panel:has(.glt-favorites) { max-width: 960px; }
.glt-favorites [hidden] { display: none !important; }
.glt-favorite-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.glt-favorite-filters button, .glt-favorite-notices button {
  padding: 7px 12px; border: 1px solid #80999e; border-radius: 9px;
  background: #fff; color: #183e4e; font: inherit; cursor: pointer;
}
.glt-favorite-filters [aria-pressed="true"], .glt-favorite-button[aria-pressed="true"] {
  background: #183e4e; color: #fff;
}
.glt-favorites .glt-favorite-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 16px;
}
.glt-favorite-grid li {
  display: flex; flex-direction: column; align-items: stretch; justify-content: space-between;
  gap: 12px; padding: 12px; border: 1px solid #d5e1df; border-radius: 14px;
}
.glt-favorites .glt-favorite-card { display: grid; gap: 8px; text-decoration: none; }
.glt-favorite-card:hover strong { text-decoration: underline; }
.glt-favorite-cover {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  overflow: hidden; border-radius: 9px; background: #e4efed; color: #183e4e;
}
.glt-favorite-cover img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.glt-favorite-cover span { font-size: 28px; }
.glt-favorite-label { color: #4b646b; font-size: 13px; }
.glt-own-comment { padding: 14px 0; border-bottom: 1px solid #d5e1df; overflow-wrap: anywhere; }
.glt-own-comment p { margin: 5px 0; }
.glt-own-comment small { color: #4b646b; }
.glt-favorite-search { display: grid; gap: 6px; margin-bottom: 16px; }
.glt-favorite-search label { font-weight: 700; }
.glt-favorite-search input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 12px; border: 1px solid #80999e; border-radius: 9px; }
.glt-favorite-search small { color: #4b646b; }
.glt-activity-badge { justify-self: start; padding: 3px 8px; border-radius: 6px; background: #edf7f2; color: #205a44; font-size: 13px; }
.glt-activity-badge.is-pending { background: #fff1dc; color: #714000; }
.glt-account__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}
.glt-account__intro {
  grid-column: 1 / -1;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 20px;
  background: #183e4e;
  color: #fff;
  overflow-wrap: anywhere;
}
.glt-account__intro h1 { margin: 0; color: inherit; font-size: clamp(27px, 5vw, 42px); }
.glt-account__intro p { margin: 6px 0 0; }
.glt-account__layout > .glt-register__panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(16px, 3vw, 28px);
  overflow-wrap: anywhere;
}
.glt-account__content .glt-favorites { margin: 0; }
.glt-account__content .glt-favorite-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 195px), 1fr)); }
.glt-account__profile h2, .glt-account__content h2 { margin: 0 0 14px; font-size: 22px; }
.glt-account__profile dt { font-weight: 700; }
.glt-account__profile dd { margin-inline-start: 0; }
.glt-settings-group { padding: 14px 0; border-top: 1px solid #d5e1df; }
.glt-settings-group h3 { margin: 0 0 10px; color: #183e4e; font-size: 16px; }
.glt-settings-facts { margin: 0 0 10px; }
.glt-settings-facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 10px; font-size: 13px; }
.glt-settings-facts dt { color: #4b646b; }
.glt-settings-facts dd { margin: 0; }
.glt-settings-group details { padding: 10px; border: 1px solid #d5e1df; border-radius: 10px; background: #f5f9f8; }
.glt-settings-group summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; font-weight: 700; }
.glt-settings-group summary::-webkit-details-marker { display: none; }
.glt-settings-group summary::after { content: '+'; font-size: 20px; }
.glt-settings-group details[open] summary::after { content: '−'; }
.glt-settings-group small { display: block; color: #4b646b; font-weight: 400; line-height: 1.45; }
.glt-settings-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid #d5e1df; }
.glt-settings-actions a { color: #183e4e; text-decoration: underline; }
.glt-account__profile details form { margin-top: 14px; }
@media (max-width: 720px) {
  .glt-account__layout { grid-template-columns: minmax(0, 1fr); }
}
.glt-favorite-notices {
  position: fixed; z-index: 9999; right: 12px; bottom: 12px;
  display: grid; gap: 6px; max-width: calc(100vw - 24px);
}
.glt-favorite-notices > div {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 10px; background: #183e4e; color: #fff;
}
