.profile-container {
  max-width: 414px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
  overflow: hidden;
}

.profile-header {
  line-height: 1.2;
}

.profile-header__hero {
  aspect-ratio: 16 / 9;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  width: calc(100% + 3rem);
}
.profile-header__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header__avatar {
  border-radius: 100%;
  border: 0.25rem solid #ffffff;
  width: 9rem;
  height: 9rem;
  margin-top: -4.5rem;
  margin-bottom: 0.75rem;
}

.profile-header__overview p {
  margin-bottom: 0;
}
.profile-header__overview strong {
  font-weight: 700;
}

.profile-heading {
  font-family: Body default,Georgia,serif;
  font-weight: 700;
  margin: 0 0 1rem;
}

.profile-about__section h3 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.profile-heading small {
  font-size: 0.75rem;
  font-weight: 400;
}
.profile-heading .svg-icon {
  width: 1rem;
  height: 1rem;
}
.profile-header__name {
  display: inline;
}

.profile-header__location {
  display: inline;
  margin: 0 0 0 0.25rem;
  font-size: 0.875rem;
}

.profile-header__followers {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0.25rem 0 0;
}
.profile-header__followers li:not(:last-child):after {
  content: '\2022';
  margin-left: 0.25rem;
}

.profile-header__actions {
  display: flex;
  gap: 0.5rem;
  margin: 11px 0 12px;
}
.profile-header__more,
.profile-header__follow {
  position: relative;
  display: inline-flex;
}

.profile-header__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1rem;
  row-gap: 0.25rem;
  font-size: 0.75rem;
  list-style: none;
}
.profile-header__badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.profile-header__badge-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-header__badge img,
.profile-header__badge .svg-icon,
.profile-header__badge .svg-badge {
  width: 1em;
  height: 1em;
}
.profile-about__section {
  margin-top: 0;
  padding: 1rem 0;
  border-top: 3px solid #dcdfe1;
}
.profile-about__section:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.profile-about__map {
  width: 100%;
  height: 300px;
  border-radius: 0.5rem;
}
html[data-theme="dark"] .profile-about__section {
  border-top-color: #3a3a3a;
}
.profile-about__menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 2rem 1.5rem;
  border: 1px solid #000;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 400;
}
html[data-theme="dark"] .profile-about__menu-link {
  border-color: #e8e8e8;
}
.profile-about__menu-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #868686;
}
.profile-about__menu-link-icon .svg-icon {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}
.profile-about__taste img {
  margin-bottom: 0.5rem;
}
.profile-about__taste-labels {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 0.75rem;
}
.profile-about__taste-labels li {
  margin: 0;
}
.profile-about__taste-labels li:nth-child(2) {
  text-align: center;
}
.profile-about__taste-labels li:last-child {
  text-align: right;
}
.profile-about__note {
  font-size: 0.75rem;
}
.profile-about__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.profile-about__details ul {
  width: 100%;
  list-style: disc;
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}
.profile-about__details > li {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  column-gap: 0.5rem;
}
.profile-about__details ul li {
  display: list-item;
}
.profile-about__details span {
  font-weight: 700;
}
.profile-about__details .svg-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.profile-header__badge a {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.profile-header__nav-container {
  border-top: 3px solid #dcdfe1;
  margin-top: 14px;
}
.profile-header__nav {
  font-weight: 500;
  padding: 20px 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  overflow-x: auto;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  width: calc(100% + 3rem);
}
.profile-header__nav ul {
  list-style: none;
  display: flex;
  flex-flow: row nowrap;
  gap: 6px;
}
.profile-header__nav ul li {
  white-space: nowrap;
}
.profile-header__nav ul li a {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0.125rem 0.5rem;
  border-radius: 0.125rem;
}
.profile-header__nav ul li a.active {
  background: #fbe5c4;
}

.profile-empty {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: #b0b0b0;
  padding: 1rem 1rem 3rem;
}
.profile-empty__icon {
  display: block;
  width: 10rem;
  height: auto;
  margin: 0 auto;
}

/* ============================================
   Dark Mode
   ============================================ */

html[data-theme="dark"] .profile-header__avatar {
  border-color: #1a1a1a;
}
html[data-theme="dark"] .profile-header__nav-container {
  border-top-color: #3a3a3a;
}
html[data-theme="dark"] .profile-header__nav ul li a {
  color: #e8e8e8;
}
html[data-theme="dark"] .profile-header__nav ul li a.active {
  background: #fbe5c4;
  color: #1a1a1a;
}
html[data-theme="dark"] .profile-empty {
  color: #606060;
}

/* Cover grid */
.profile-edit__cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.profile-edit__cover-grid-item {
  border-radius: 0.25rem;
  cursor: pointer;
}
.profile-edit__cover-grid-item--selected {
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #000;
}
html[data-theme="dark"] .profile-edit__cover-grid-item--selected {
  box-shadow: 0 0 0 2px #1f1f1f, 0 0 0 5px #fff;
}
.profile-edit__cover-grid-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0.25rem;
  cursor: pointer;
  pointer-events: none;
}

/* ============================================
   Feed
   ============================================ */

.profile-feed-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 568px;
}
.profile-feed-item {
  margin-bottom: 0;
}
.profile-feed-item--new {
  background: linear-gradient(#f6fff6, transparent);
}
.profile-feed-item--new .dg-component-feed-item {
  border-top-color: #cbedcb;
}
.profile-feed-published-cocktail {
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  background: #fafafa;
}
.profile-feed-published-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.profile-feed-published-label {
  font-weight: 500;
  color: #333;
}
.profile-feed-published-time {
  font-size: 0.875rem;
  color: #666;
}
html[data-theme="dark"] .profile-feed-published-cocktail {
  border-color: #404040;
  background: #2a2a2a;
}
html[data-theme="dark"] .profile-feed-published-label {
  color: #e5e5e5;
}
html[data-theme="dark"] .profile-feed-published-time {
  color: #999;
}

/* ============================================
   Collection Detail
   ============================================ */

.collection-detail-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.collection-detail-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
  flex-shrink: 0;
}
.collection-detail-image--placeholder {
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}
.collection-detail-info {
  display: flex;
  flex-direction: column;
  border-bottom: 3px solid #dcdfe1;
  padding-bottom: 1rem;
}
.collection-detail-name {
  font-family: Body default, Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #333;
  line-height: 1.1;
}
.collection-detail-creator,
.collection-detail-count {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin: 0;
}
html[data-theme="dark"] .collection-detail-name,
html[data-theme="dark"] .collection-detail-creator,
html[data-theme="dark"] .collection-detail-count {
  color: #f5f5f5;
}

/* ============================================
   Collections
   ============================================ */

.collection-card {
  margin-bottom: 2rem;
}
.collection-card:last-child {
  margin-bottom: 0;
}
.collection-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.dg-component-button--collection-edit-btn {
  margin-left: auto;
}
.collection-name {
  font-family: Body default, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  color: #333;
}
.collection-meta {
  font-size: 0.875rem;
  color: #333;
  margin: 0;
}
.collection-view-link {
  margin-left: 0.25rem;
  color: #1779ba;
  text-decoration: underline;
}
.collection-view-link svg {
  width: 0.75em;
  height: 0.75em;
  vertical-align: middle;
}
.collection-view-link:hover {
  text-decoration: none;
}
.collection-body {
  display: flex;
  gap: 1rem;
}
.collection-image-link {
  display: block;
  flex: 1 0 calc(33.333% - 0.666rem);
}
.collection-image-link:hover {
  opacity: 0.7;
}
.collection-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background: #f0f0f0;
}
.collection-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}
.collection-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}
.collection-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background: radial-gradient(circle, #fff 50%, #f3f3f3 100%);
}
.collection-item-link,
.collection-item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
}
.collection-item-icon {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.collection-item-link:hover .collection-item-icon {
  opacity: 0.7;
}
.collection-item-more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  color: #1779ba;
  text-decoration: none;
  text-align: center;
}
.collection-item-more:hover {
  color: #1779ba;
}
html[data-theme="dark"] .collection-name {
  color: #f5f5f5;
}
html[data-theme="dark"] .collection-meta {
  color: #f5f5f5;
}
html[data-theme="dark"] .collection-view-link {
  color: #4da3ff;
}
html[data-theme="dark"] .collection-image {
  background: #2a2a2a;
}
html[data-theme="dark"] .collection-image-placeholder {
  background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
}
html[data-theme="dark"] .collection-item {
  background: radial-gradient(circle, #f3f3f3 50%, #b3b3b3 100%);
}
html[data-theme="dark"] .collection-item-more {
  color: #4da3ff;
}
html[data-theme="dark"] .collection-item-more:hover {
  color: #4da3ff;
}

/* ============================================
   Badges
   ============================================ */

.profile-badges-heading {
  margin-bottom: 1.5rem;
}
.profile-badges-heading .profile-section-title {
  font-family: Body default, Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.1;
  margin: 0 0 0.25rem;
  color: #333;
}
.profile-badges-heading .profile-section-title svg {
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
  margin-right: 0.25rem;
}
.profile-badges-heading p {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
}
.profile-badges-heading p a {
  text-decoration: underline;
  color: #1779ba;
}
.profile-badges-heading p a:hover {
  text-decoration: none;
}
.badge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.badge-card {
  display: flex;
  gap: 1rem;
  border-radius: 0.25rem;
  line-height: 1.1;
  padding-bottom: 1rem;
  border-bottom: 3px solid #dcdfe1;
}
.badge-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.badge-card-icon {
  flex-shrink: 0;
  align-self: center;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.badge-card-icon .svg-badge {
  display: block;
  width: 32px;
  height: 32px;
}
.badge-card-icon .svg-badge svg {
  width: 100%;
  height: 100%;
}
.badge-card-icon-placeholder {
  color: #999;
}
.badge-card-icon-placeholder svg {
  width: 32px;
  height: 32px;
}
.badge-card-body {
  flex: 1;
  min-width: 0;
}
.badge-card-title {
  font-family: Body default, Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: #333;
}
.badge-card-category {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
}
.badge-card-about {
  color: #333;
  font-size: 0.875rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.1;
}
.badge-card-score {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #333;
}
.badge-card-score-value {
  font-weight: 300;
  color: inherit;
}
.badge-card-rank {
  flex-basis: 100%;
  text-decoration: underline;
  color: #1779ba;
}
.badge-card-rank:hover {
  text-decoration: none;
}
.badge-card-tag {
  display: inline-block;
  padding: 0 0.5rem;
  border-radius: 0.125rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.1;
  color: #000;
  text-transform: capitalize;
}
.badge-card-tag--bronze {
  background-color: #cd7f32;
}
.badge-card-tag--silver {
  background-color: #888;
}
.badge-card-tag--gold {
  background-color: #d4a017;
}
html[data-theme="dark"] .profile-badges-heading .profile-section-title {
  color: #e0e0e0;
}
html[data-theme="dark"] .profile-badges-heading p {
  color: #999;
}
html[data-theme="dark"] .profile-badges-heading p a {
  color: #4da3ff;
}
html[data-theme="dark"] .badge-card {
  border-bottom-color: #3a3a3a;
}
html[data-theme="dark"] .badge-card:last-child {
  border-bottom: none;
}
html[data-theme="dark"] .badge-card-title {
  color: #e0e0e0;
}
html[data-theme="dark"] .badge-card-category {
  color: #e0e0e0;
}
html[data-theme="dark"] .badge-card-about {
  color: #e0e0e0;
}
html[data-theme="dark"] .badge-card-score {
  color: #e0e0e0;
}

/* ============================================
   Edit Profile
   ============================================ */

.profile-edit__section {
  padding: 1rem 0;
  border-bottom: 3px solid #dcdfe1;
}
html[data-theme="dark"] .profile-edit__section {
  border-bottom-color: #3a3a3a;
}
.profile-edit__section:last-child {
  border-bottom: none;
}

.profile-edit__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.profile-edit__header--standalone {
  margin-bottom: 0;
}
.profile-edit__bio,
.profile-edit__display-name {
  margin: 0;
}
.profile-edit__heading {
  font-size: 1.33rem;
  margin-right: auto;
  margin-bottom: 0;
}
.profile-edit__header .dg-component-button--unstyled .dg-component-button__label {
  color: #c0c0c0;
}
html[data-theme="dark"] .profile-edit__header .dg-component-button--unstyled .dg-component-button__label {
  color: #555555;
}
.profile-edit__header .dg-component-button--pin-active {
  outline: 4px solid #000;
  border-radius: 4px;
  background: #000;
  color: #fff;
}
html[data-theme="dark"] .profile-edit__header .dg-component-button--pin-active {
  outline: 4px solid #fff;
  border-radius: 4px;
  background: #fff;
  color: #000;
}

/* Avatar */
.profile-edit__avatar {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}
.profile-edit__avatar .dg-component-button {
  position: absolute;
  top: 50%;
  left: calc(25% - 2rem);
  transform: translate(-50%, -50%);
}
.profile-edit__avatar-image {
  width: 8rem;
  height: 8rem;
  border-radius: 100%;
  object-fit: cover;
}

/* Cover Photo */
.profile-edit__cover {
  position: relative;
  margin-top: 0.75rem;
}
.profile-edit__cover-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
}
.profile-edit__cover .dg-component-button {
  position: absolute;
  top: 50%;
  left: calc(25% - 2rem);
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Details */
.profile-edit__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#js-visited-bars-display {
  margin-bottom: 1rem;
  padding-left: 1.75rem;
}
.profile-about__map-wrapper {
  position: relative;
}
.profile-edit__map-dev-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8e4d8 0%, #d4dde4 25%, #c8d8c0 50%, #ddd8cc 75%, #e0e4d8 100%);
  image-rendering: pixelated;
  filter: blur(3px);
  z-index: 1;
  border-radius: 0.5rem;
}
.profile-edit__map-dev-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.profile-edit__map-dev-button span {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.profile-edit__map-dev-button small {
  color: #888;
}
.profile-edit__map--hidden,
.profile-edit__details--hidden {
  display: none;
}
.profile-edit__bars-placeholder {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0.5rem;
  overflow: hidden;
}
.profile-edit__bars-placeholder-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.profile-edit__bars-placeholder-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #e8e8e8;
  color: #333;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.625rem 1rem;
  border-radius: 0.25rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
html[data-theme="dark"] .profile-edit__bars-placeholder-label {
  background: #3a3a3a;
  color: #e8e8e8;
}
.profile-edit__detail {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  column-gap: 0.5rem;
}
.profile-edit__detail .svg-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.profile-edit__detail span {
  font-weight: 400;
}
.profile-edit__detail--list-item {
  align-items: center;
}
.profile-edit__detail--list-item span {
  font-weight: 400;
  flex: 1;
}
.profile-edit__sub-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
  font-weight: 400;
  flex-basis: 100%;
}
.profile-edit__detail--empty span {
  color: #c0c0c0;
}
html[data-theme="dark"] .profile-edit__detail--empty span {
  color: #555555;
}
.profile-edit__detail--empty[data-empty-modal],
.profile-edit__detail-placeholder[data-empty-modal] {
  cursor: pointer;
}
.profile-edit__menu-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #000;
  border-radius: 4px;
}
html[data-theme="dark"] .profile-edit__menu-link {
  border-color: #e8e8e8;
}
.profile-edit__menu-link-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
}
.profile-edit__menu-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #868686;
}
.profile-edit__menu-link-icon .svg-icon {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}
.profile-edit__detail-placeholder {
  color: #c0c0c0;
  font-weight: 400;
}
html[data-theme="dark"] .profile-edit__detail-placeholder {
  color: #555555;
}

/* Autocomplete */
.profile-autocomplete {
  position: relative;
}
.profile-autocomplete__results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #dcdfe1;
  border-radius: 0.25rem;
  max-height: 200px;
  overflow-y: auto;
}
html[data-theme="dark"] .profile-autocomplete__results {
  background: #2a2a2a;
  border-color: #3a3a3a;
}
.profile-autocomplete__results.is-active {
  display: block;
}
.profile-autocomplete__results li {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}
.profile-autocomplete__results li:hover,
.profile-autocomplete__results li.is-highlighted {
  background: #f0f0f0;
}
html[data-theme="dark"] .profile-autocomplete__results li:hover,
html[data-theme="dark"] .profile-autocomplete__results li.is-highlighted {
  background: #3a3a3a;
}
.profile-autocomplete__no-results {
  padding: 0.5rem 0;
  color: #666;
  font-size: 0.9rem;
}
.profile-autocomplete__no-results a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}
.profile-autocomplete__add-own {
  font-weight: 600;
  border-top: 1px solid #eee;
}
html[data-theme="dark"] .profile-autocomplete__add-own {
  border-top-color: #3a3a3a;
}

/* Modal sections */
.profile-modal-section {
  padding: 1.5rem 0;
  border-top: 3px solid #dcdfe1;
}
html[data-theme="dark"] .profile-modal-section {
  border-top-color: #3a3a3a;
}
.profile-modal-section--no-border {
  border-top: none;
}
.profile-modal-section--no-top-pad {
  padding-top: 0;
}
.profile-modal-section:has(.profile-edit__details:empty) {
  display: none;
}
#feed-post-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.profile-modal-empty {
  color: #c0c0c0;
  margin: 0;
  font-weight: 500;
  text-align: center;
}
html[data-theme="dark"] .profile-modal-empty {
  color: #555555;
}
.profile-modal-section .dg-component-radio-wrapper + .dg-component-radio-wrapper {
  margin-top: 0.75rem;
}
.profile-modal-section .dg-component-checkbox-wrapper + .dg-component-checkbox-wrapper {
  margin-top: 0.5rem;
}
.profile-available-for-custom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-available-for-custom .dg-component-checkbox-wrapper {
  flex: 1 1 auto;
  min-width: 0;
}
.profile-available-for-custom .dg-component-button {
  flex: 0 0 auto;
}
.profile-modal-section .dg-component-checkbox-wrapper + .profile-available-for-custom,
.profile-modal-section .profile-available-for-custom + .profile-available-for-custom {
  margin-top: 0.5rem;
}
.profile-modal-add-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.profile-modal-add-row .dg-component-input-wrapper {
  flex: 1 1 auto;
  min-width: 0;
}
.profile-modal-add-row .dg-component-button {
  flex: 0 0 auto;
}
.profile-modal-section .dg-component-button + .dg-component-button {
  margin-top: 1rem;
}
.profile-modal-section .profile-heading {
  margin-bottom: 1.5rem;
}
.profile-modal-section .profile-heading + .profile-edit__details {
  margin-bottom: 1rem;
  gap: 0;
}
.profile-modal-section .profile-heading:has(+ .profile-edit__details) {
  margin-bottom: 0.75rem;
}

/* Followers / Following list (modal) */
.profile-follow-tabs [hidden],
.profile-follow-list [hidden] {
  display: none !important;
}
.profile-follow-list {
  min-height: 4rem;
}
.profile-follow-list__loading,
.profile-follow-list__empty,
.profile-follow-list__error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  color: #b0b0b0;
  font-weight: 500;
}
.profile-follow-list__loading .svg-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.profile-follow-list__error {
  color: #c0392b;
}
.profile-follow-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.profile-follow-list__item {
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 1rem;
}
.profile-follow-list__link {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: inherit;
  text-decoration: none;
}
/* Defeat the global a:visited / html[data-theme="dark"] a:visited rules
   (base.scss) which would otherwise repaint the link when visited. */
.profile-follow-list__link:visited,
html[data-theme="dark"] .profile-follow-list__link,
html[data-theme="dark"] .profile-follow-list__link:visited {
  color: inherit;
}
.profile-follow-list__action {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 6rem !important;
  text-align: center;
}
.profile-follow-list__avatar {
  flex: 0 0 auto;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.profile-follow-list__body {
  flex: 1 1 auto;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.profile-follow-list__name {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-follow-list__badges {
  flex: 0 0 auto;
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 0.25rem;
}
.profile-follow-list__badge {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.profile-follow-list__badge .svg-badge {
  display: block;
  width: 1rem;
  height: 1rem;
}
/* Inline button used in the profile header followers row */
.profile-header__followers-button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.profile-header__followers-button:hover,
.profile-header__followers-button:focus-visible {
  text-decoration: underline;
}

.collection-name {
  width: 100%;
}
.collection-detail-header {
  flex-direction: column;
}
.collection-detail-info {
  width: 100%;
}
.collection-detail-image {
  width: 100%;
  height: auto;
}
.collection-body {
  flex-direction: column;
}
.collection-image-link {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
}
.collection-image {
  aspect-ratio: 16 / 9;
}
.collection-items-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Cocktail "default" cutout images: studio-style gray radial backdrop with multiply blend mode, matching the legacy-frontend cocktail recipe page treatment */
.dg-component-link-item__image.dg-component-link-item__image--default {
  background: radial-gradient(circle closest-side, #FFFFFF 80%, #F6F6F6 130%, #E2E2E2 300%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.75rem;
}
.dg-component-link-item__image.dg-component-link-item__image--default img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
