/* Migrated Account and Public Profile legacy foundation, 2026-07-29. Current route-owner rules follow. */

.account-saved-link{
  min-height:44px;
  border:1px solid var(--luca-purple);
  border-radius:999px;
  padding:11px 18px;
  background:transparent;
  color:var(--luca-purple);
  text-align:center;
  text-decoration:none;
}

.saved-page{
  min-height:45vh;
  padding-bottom:80px;
}

.account-page{
  width:min(100% - 28px,720px);
  min-height:70vh;
  margin:0 auto;
  padding:calc(132px + env(safe-area-inset-top)) 0 80px;
}

.account-hero-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:22px;
  padding:8px 4px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.account-hero-avatar{
  display:grid;
  flex:0 0 76px;
  place-items:center;
  width:76px;
  height:76px;
  overflow:hidden;
  border:2px solid var(--account-surface);
  border-radius:24px;
  background:#1d1d1d;
  color:var(--luca-purple);
  font-size:28px;
  font-weight:900;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
}

.account-hero-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.account-hero-card > div:nth-child(2){
  min-width:0;
}

.account-hero-card .eyebrow{
  margin-bottom:5px;
}

.account-hero-card h1{
  overflow:hidden;
  margin:0;
  color:var(--account-text);
  font-size:26px;
  line-height:1.05;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.account-hero-card > a{
  position:absolute;
  top:18px;
  right:18px;
  border-radius:999px;
  padding:7px 12px;
  background:var(--account-raised);
  color:var(--account-text);
  font-size:11px;
  font-weight:800;
  min-height:40px;
  display:inline-flex;
  align-items:center;
}

.account-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  overflow:hidden;
  padding:0;
  border:1px solid var(--account-border);
  border-radius:20px;
  background:var(--account-border);
}

.account-stats > *{
  display:grid;
  justify-items:center;
  gap:3px;
  padding:18px 8px;
  background:var(--account-surface);
  color:var(--account-text);
  text-decoration:none;
}

.account-stats strong{
  font-size:24px;
  line-height:1;
}

.account-stats span{
  color:var(--account-muted);
  font-size:10px;
}

.account-menu-group{
  margin-top:16px;
  padding:7px 16px;
  border:1px solid var(--account-border);
  border-radius:20px;
  background:var(--account-surface);
}

.account-menu-group > p{
  margin:8px 3px 5px;
  color:var(--account-muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
}

.account-menu-group > a,
.account-menu-group > button{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:66px;
  border:0;
  border-top:1px solid var(--account-border);
  border-radius:0;
  padding:10px 3px;
  background:transparent;
  color:var(--account-text);
  text-align:left;
  text-decoration:none;
}

.account-menu-group > p + a,
.account-menu-group > p + button{
  border-top:0;
}

.account-menu-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:var(--account-raised);
  color:var(--account-text);
  font-size:18px;
}

.account-menu-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.account-menu-group div{
  display:grid;
  gap:3px;
}

.account-menu-group strong{
  font-size:14px;
}

.account-menu-group small{
  color:var(--account-muted);
  font-size:10px;
}

.account-menu-group i{
  color:var(--account-muted);
  font-size:22px;
  font-style:normal;
}

.profile-form{
  display:grid;
  gap:16px;
  padding:20px;
  border:1px solid var(--account-border);
  border-radius:22px;
  background:var(--account-surface);
}

.profile-form label{
  display:grid;
  gap:7px;
  color:#b8b8b8;
  font-size:13px;
}

.profile-form input,
.profile-form textarea,
.profile-form select{
  width:100%;
  border:1px solid #3a3a3a;
  border-radius:10px;
  padding:12px;
  background:#080808;
  color:#fff;
  font:inherit;
}

.profile-form input:disabled{
  opacity:.55;
}

.profile-form label small{
  color:#777;
}

.account-review-list,
.account-favorite-list{
  display:grid;
  gap:12px;
}

.account-review-list article,
.account-favorite-list article{
  padding:18px;
  border:1px solid #303030;
  border-radius:15px;
}

.account-record-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.account-review-list blockquote{
  display:grid;
  gap:5px;
  margin:14px 0 0;
  border-left:2px solid var(--luca-purple);
  padding:10px 14px;
  background:#202020;
  color:#ddd;
}

.account-review-list blockquote small{
  color:var(--luca-purple);
}

.account-favorite-list button{
  margin-top:14px;
  border:0;
  background:transparent;
  color:#ff7b7b;
}

.account-favorite-list article{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.account-favorite-list a{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  color:inherit;
  text-decoration:none;
}

.account-favorite-list img{
  width:64px;
  height:64px;
  border-radius:10px;
  object-fit:cover;
}

.account-favorite-list a div{
  display:grid;
  gap:5px;
  min-width:0;
}

.account-favorite-list small{
  color:#979797;
}

.account-checkin-title{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
}

.account-checkin-title > a{
  display:grid;
  flex:0 0 40px;
  place-items:center;
  width:40px;
  height:40px;
  border:1px solid var(--account-border);
  border-radius:50%;
  background:var(--account-surface);
  color:var(--account-text);
  text-decoration:none;
}

.account-checkin-title h2{
  margin:2px 0 3px;
  color:var(--account-text);
  font-size:30px;
  line-height:1;
}

.account-checkin-title span{
  color:var(--account-muted);
  font-size:11px;
}

.account-checkin-timeline{
  position:relative;
  display:grid;
  gap:32px;
  padding-left:18px;
}

.account-checkin-timeline::before{
  content:"";
  position:absolute;
  top:8px;
  bottom:8px;
  left:4px;
  width:1px;
  background:var(--account-border);
}

.account-checkin-day{
  position:relative;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}

.account-checkin-day::before{
  content:"";
  position:absolute;
  top:7px;
  left:-18px;
  width:9px;
  height:9px;
  border:3px solid var(--account-surface);
  border-radius:50%;
  background:var(--luca-purple);
  box-shadow:0 0 0 1px var(--account-border);
}

.account-checkin-day > header{
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}

.account-checkin-day > header > span{
  color:var(--account-text);
  font-size:14px;
  font-weight:850;
}

.account-checkin-day > header > div{
  display:grid;
  grid-template-columns:auto auto auto auto;
  align-items:baseline;
  gap:3px 5px;
  color:var(--account-muted);
}

.account-checkin-day > header strong{
  color:var(--account-text);
  font-size:14px;
}

.account-checkin-day > header small{
  font-size:9px;
}

.account-checkin-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}

.account-checkin-card{
  display:grid;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--account-border);
  border-radius:15px;
  background:var(--account-surface);
  color:var(--account-text);
  text-decoration:none;
}

.account-checkin-image{
  display:block;
  aspect-ratio:1/1;
  background:center/cover no-repeat;
}

.account-checkin-copy{
  position:relative;
  z-index:1;
  display:grid;
  gap:3px;
  padding:10px;
  background:var(--account-surface);
}

.account-checkin-copy small,
.account-checkin-copy em{
  color:var(--account-muted);
  font-size:9px;
  font-style:normal;
}

.account-checkin-copy strong{
  overflow:hidden;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.account-checkin-card.has-night-card .account-checkin-copy em{
  color:#009d08;
  font-weight:750;
}

@media (max-width:520px){
.account-checkin-timeline{
    padding-left:14px;
  }

.account-checkin-day::before{
    left:-14px;
  }

.account-checkin-grid{
    gap:6px;
  }

.account-checkin-copy{
    padding:8px 7px;
  }

.account-checkin-copy strong{
    font-size:11px;
  }
}

@media (max-width:640px){
.account-page{
    width:min(100% - 24px,720px);
    padding-top:calc(116px + env(safe-area-inset-top));
  }

.account-hero-card{
    padding:18px 16px;
  }

.account-hero-avatar{
    flex-basis:64px;
    width:64px;
    height:64px;
    border-radius:20px;
  }

.account-hero-card h1{
    max-width:180px;
    font-size:22px;
  }

.account-favorite-list article{
    align-items:flex-start;
  }
}

.profile-form input,
.profile-form textarea{
  border-color:var(--account-border);
  background:var(--account-field);
  color:var(--account-text);
}

.profile-form input:focus,
.profile-form textarea:focus,
.profile-form select:focus{
  outline:2px solid #00a808;
  outline-offset:1px;
}

.account-review-list article,
.account-favorite-list article{
  border-color:var(--account-border);
  background:var(--account-raised);
}

.account-route #app > .topbar-fade{
  position:sticky;
  background:var(--account-surface);
  color:var(--account-text);
  box-shadow:0 1px 0 var(--account-border);
}

.account-route #app > .topbar-fade + .account-page{
  padding-top:28px;
}

@media (max-width:640px){
.account-route #app > .topbar-fade + .account-page{
    padding-top:24px;
  }
}

.profile-form textarea{
  min-height:72px;
  resize:vertical;
}

.profile-public-fields{display:grid;gap:16px;margin-top:4px;padding-top:20px;border-top:1px solid var(--account-border)}
.profile-public-fields>header{display:grid;gap:4px}.profile-public-fields>header strong{color:var(--account-text);font-size:16px}.profile-public-fields>header p,.profile-choice-field>p{margin:0;color:var(--account-muted);font-size:11px;line-height:1.45}
.profile-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-location-grid label{align-content:start}
.profile-choice-field{display:grid;gap:9px;margin:0;padding:0;border:0}.profile-choice-field legend{margin-bottom:3px;color:var(--account-text);font-size:13px}.profile-choice-field>div{display:flex;flex-wrap:wrap;gap:7px}.profile-choice-field>div label{display:block}.profile-choice-field>div input{position:absolute;width:1px;height:1px;padding:0;opacity:0;pointer-events:none}.profile-choice-field>div span{display:block;padding:8px 11px;border:1px solid var(--account-border);border-radius:10px;background:var(--account-field);color:var(--account-muted);font-size:12px;cursor:pointer;overflow-wrap:anywhere}.profile-choice-field>div input:checked+span{border-color:#8e72c7;background:#eee8fa;color:#5d4295}.profile-custom-field{margin-top:2px}.profile-custom-field input{margin-top:1px}
@media(max-width:560px){.profile-location-grid{grid-template-columns:1fr}.profile-choice-field>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-choice-field>div span{text-align:center}}

@media (max-width:719px){
.account-route #app > .topbar-fade{
    background:rgba(0,0,0,.78);
    color:#fff;
    -webkit-backdrop-filter:blur(18px) saturate(135%);
    backdrop-filter:blur(18px) saturate(135%);
  }
}

.day-mode .account-content,
.day-mode .account-menu-group,
.day-mode .account-stats > *,
.day-mode .profile-form{
  background:var(--luca-day-card);
  border-color:var(--luca-day-line);
  box-shadow:0 7px 22px rgba(34,31,27,.065);
}

.day-mode .account-page{
  background:var(--luca-day-paper) ;
}

.day-mode .saved-page,
.day-mode .account-hero-card:not(.public-profile-card),
.day-mode .account-content{
  border:0;
  border-radius:22px;
  background:var(--luca-day-card);
  box-shadow:none;
}

.day-mode .saved-page{
  width:min(calc(100% - 32px),960px);
  max-width:none;
  margin:16px auto 24px;
}

.day-mode .saved-page .place-card,
.day-mode .account-checkin-card{
  border:0;
  box-shadow:none;
}

@media (min-width:720px){
.day-mode .saved-page{
    width:min(calc(100% - 60px),960px);
    margin-top:24px;
  }
}

.day-mode .account-page .account-content{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.day-mode .account-stats,
.day-mode .account-stats > *,
.day-mode .account-menu-group,
.day-mode .profile-form,
.day-mode .account-favorite-list article,
.day-mode .account-checkin-card{
  border:0;
  box-shadow:none;
}

.day-mode .account-stats{
  gap:8px;
  background:transparent;
}

.day-mode .account-menu-group > a,
.day-mode .account-menu-group > button{
  border-top:0;
}

.account-content-skeleton span{
  display:block;
  width:min(82%,560px);
  height:18px;
  border-radius:9px;
  background:color-mix(in srgb,currentColor 9%,transparent);
}

.account-content-skeleton span:first-child{
  width:min(38%,260px);
  height:34px;
}

.account-content-skeleton span:last-child{
  width:min(62%,420px);
}

.account-content-skeleton{
  display:grid;
  gap:14px;
  padding:32px 0;
}


/* Account/Profile migration owner, 2026-07-27: #account/*. */
.account-hero-compact {
  display: grid;
  grid-template-columns: 44px 44px minmax(0, 1fr);
  min-height: 68px;
  gap: 10px;
  padding: 10px 14px;
}

.account-hero-compact .account-hero-avatar,
.account-hero-compact .account-hero-avatar-upload {
  width: 44px;
  height: 44px;
}

.account-hero-compact .account-hero-copy h1 {
  font-size: 17px;
}

.account-hero-card > .account-subpage-back {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--account-surface-soft, #f2f0f7);
  color: var(--account-text, #171719);
  font-size: 19px;
  text-decoration: none;
  padding: 0;
}

@media (max-width:719px) {
  .account-hero-compact {
    position: sticky;
    top: calc(4px + env(safe-area-inset-top));
    z-index: 8;
  }
}

body.account-route,
body.account-route #app,
body.account-route .account-route-page,
body.account-route .account-route-page .account-content {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

/* Public member profile: compact, editorial profile header and media grid. */
body.public-profile-route {
  --public-profile-bg: rgb(250, 250, 249);
  --public-profile-card: #fff;
  --public-profile-text: #101114;
  --public-profile-muted: #737780;
  --public-profile-line: #dbdde1;
  --public-profile-accent: #684cff;
}

body.night-mode.public-profile-route {
  --public-profile-bg: #0b0b0b;
  --public-profile-card: #171717;
  --public-profile-text: #f5f5f5;
  --public-profile-muted: #a0a0a0;
  --public-profile-line: #313131;
}

body.public-profile-route .public-profile-page {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  padding: calc(122px + env(safe-area-inset-top)) 24px 110px;
  background: var(--public-profile-bg);
  color: var(--public-profile-text);
}

.public-profile-card,
.public-profile-stats,
.public-profile-cards,
.public-profile-empty {
  width: min(100%, 720px);
  margin-right: auto;
  margin-left: auto;
}

.public-profile-card.account-hero-card {
  position: relative;
  display: block;
  margin-bottom: 0;
  padding: 22px 28px 12px;
  border-radius: 22px 22px 0 0;
  background: transparent;
}

.public-profile-share {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 28px;
  display: grid;
  width: 40px;
  height: 40px;
  min-height: 0;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--public-profile-accent) 24%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--public-profile-accent) 10%, transparent);
  color: var(--public-profile-accent);
  box-shadow: none;
}

.public-profile-share:hover,
.public-profile-share:focus-visible {
  background: color-mix(in srgb, var(--public-profile-accent) 18%, transparent);
}

.public-profile-share .share-icon {
  width: 19px;
  height: 19px;
}

.public-profile-identity {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.public-profile-avatar.account-hero-avatar {
  width: 104px;
  height: 104px;
  border: 1px solid var(--public-profile-line);
  border-radius: 50%;
  background: #111;
  box-shadow: none;
}

.public-profile-avatar-stack {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 104px;
}

.public-profile-avatar-stack .night-hello-send {
  display: grid;
  place-items: center;
  width: 60px;
  height: 30px;
  min-height: 0;
  margin: 0;
  padding: 5px 13px;
  border: 2px solid #7655f6;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.public-profile-avatar-stack .night-hello-send img {
  display: block;
  width: 34px;
  height: 24px;
  object-fit: contain;
}

.public-profile-avatar-stack .night-hello-send:hover,
.public-profile-avatar-stack .night-hello-send:focus-visible {
  border-color: #8d73ff;
  background: rgba(118, 85, 246, .1);
  transform: translateY(-1px);
}

.public-profile-avatar img {
  object-fit: cover;
}

.public-profile-copy.account-hero-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-right: 48px;
}

.public-profile-copy h1 {
  overflow: hidden;
  margin: 0;
  color: var(--public-profile-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.public-profile-bio.account-hero-bio {
  display: -webkit-box;
  overflow: hidden;
  max-width: 460px;
  margin: 0;
  color: var(--public-profile-text);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-profile-bio:empty {
  display: none;
}

.public-profile-meta {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  margin: 0;
  color: var(--public-profile-muted);
  font-size: 13px;
  line-height: 1.35;
}

.public-profile-meta svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.public-profile-meta:first-of-type svg {
  color: var(--public-profile-accent);
  fill: color-mix(in srgb, var(--public-profile-accent) 10%, transparent);
}

.public-profile-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.public-profile-groups {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.public-profile-tag-group {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.public-profile-tag-group h2 {
  margin: 0;
  color: var(--public-profile-text);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
}

.public-profile-tag-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.public-profile-tag-group span {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
}

.public-profile-tag-group b {
  overflow: hidden;
  min-width: 0;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-profile-tag-group svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.public-profile-tag-group.is-night-style span {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--public-profile-accent) 11%, var(--public-profile-card));
  color: var(--public-profile-accent);
  font-size: 13px;
  font-weight: 700;
}

.public-profile-tag-group.is-interests span {
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid var(--public-profile-line);
  border-radius: 11px;
  background: transparent;
  color: var(--public-profile-text);
  font-size: 12px;
  line-height: 1;
}

.public-profile-tag-group.is-interests svg {
  color: var(--public-profile-muted);
}

.public-profile-tag-group.is-community {
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.public-profile-tag-group.is-community > div {
  flex-wrap: nowrap;
  overflow: hidden;
}

.public-profile-tag-group.is-community span {
  flex: 0 1 auto;
  min-width: 0;
  padding: 5px 9px;
  border: 1px solid var(--public-profile-line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--public-profile-muted) 7%, transparent);
  color: var(--public-profile-muted);
  font-size: 11px;
  line-height: 1;
}

.public-profile-tag-group.is-community .is-overflow,
.public-profile-tag-group.is-interests .is-overflow {
  flex: 0 0 auto;
}

body.public-profile-route .public-profile-stats {
  display: flex;
  gap: 28px;
  box-sizing: border-box;
  margin-top: 0;
  padding: 20px 28px;
  border-radius: 0 0 22px 22px;
  background: transparent;
}

.public-profile-stats span {
  display: flex;
  gap: 5px;
  align-items: baseline;
  min-width: 0;
}

body.public-profile-route .public-profile-stats strong {
  color: var(--luca-purple);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.public-profile-stats small {
  overflow: hidden;
  color: var(--public-profile-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

body.public-profile-route .public-profile-cards {
  box-sizing: border-box;
  margin-top: 18px;
  border: 0;
  border-radius: 22px;
  padding: 22px;
  background: var(--public-profile-card);
  box-shadow: none;
}

.public-profile-cards > header {
  display: flex;
  justify-content: flex-start;
  min-height: 0;
  margin: 0 0 18px;
}

.public-profile-cards > header > div {
  display: flex;
  align-items: center;
  border: 0;
  margin: 0;
}

.public-profile-cards .eyebrow {
  display: none;
}

.public-profile-cards h2 {
  margin: 0;
  color: var(--public-profile-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-transform: none;
}

.public-profile-night-cards-page {
  padding-top: 120px;
}

body.public-profile-route .public-profile-night-cards-page .public-profile-cards {
  margin-top: 0;
}

.public-profile-cards-index-head {
  align-items: center;
  gap: 12px;
}

.public-profile-cards > .public-profile-cards-index-head > div {
  display: grid;
  gap: 3px;
  align-items: initial;
}

.public-profile-cards-index-head h1 {
  margin: 0;
  color: var(--public-profile-text);
  font-size: 22px;
  line-height: 1.1;
}

.public-profile-cards-index-head span {
  color: var(--public-profile-muted);
  font-size: 11px;
}

.public-profile-cards-back {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--public-profile-line);
  border-radius: 50%;
  color: var(--public-profile-text);
}

.public-profile-cards-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.public-profile-cards .night-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  column-count: initial;
  column-gap: 12px;
}

.public-profile-cards .night-masonry .night-card {
  display: grid;
  width: 100%;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  break-inside: auto;
}

.public-profile-cards .night-masonry .night-card-photo {
  overflow: hidden;
  border-radius: 15px;
}

.public-profile-cards .night-card.is-profile-card .night-card-overlay {
  background: linear-gradient(180deg, rgba(5, 4, 10, .28), transparent 38%);
}

.public-profile-cards .night-card.is-profile-card .night-card-count {
  top: 10px;
  right: 10px;
  left: auto;
}

.public-profile-cards .night-card.is-profile-card .night-card-count strong {
  font-size: 24px;
}

.public-profile-cards .night-card.is-profile-card .night-card-count i {
  font-size: 13px;
}

.public-profile-cards .night-card-public-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 9px 1px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.public-profile-cards .night-card-public-meta .night-card-author {
  position: static;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: var(--public-profile-text);
}

.public-profile-cards .night-card-public-meta .night-card-author img,
.public-profile-cards .night-card-public-meta .night-card-author > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid var(--public-profile-line);
  border-radius: 50%;
  background: var(--public-profile-bg);
  font-size: 9px;
  object-fit: cover;
}

.public-profile-cards .night-card-public-meta .night-card-author div {
  display: grid;
  min-width: 0;
  gap: 2px;
  text-shadow: none;
}

.public-profile-cards .night-card-public-meta .night-card-author b,
.public-profile-cards .night-card-public-meta .night-card-author small {
  overflow: hidden;
  color: var(--public-profile-text);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-profile-cards .night-card-public-meta .night-card-author b {
  font-size: 10px;
}

.public-profile-cards .night-card-public-meta .night-card-author small {
  margin: 0;
  color: var(--public-profile-muted);
  font-size: 8px;
}

.public-profile-cards .night-card-public-meta .night-card-quick-actions {
  position: static;
  display: flex;
}

.public-profile-cards .night-card-public-meta .night-card-quick-actions button[data-night-like] {
  color: var(--public-profile-muted);
}

.public-profile-cards .night-card-public-meta .night-card-quick-actions button[data-night-like].active {
  color: #f24b8f;
}

.public-profile-loading .public-profile-avatar,
.public-profile-loading .public-profile-copy h1,
.public-profile-loading .public-profile-bio,
.public-profile-loading-stats span {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--public-profile-text) 8%, var(--public-profile-bg));
  color: transparent;
}

.public-profile-loading .public-profile-copy h1 {
  width: 180px;
  height: 28px;
  border-radius: 6px;
}

.public-profile-loading .public-profile-bio {
  width: min(100%, 420px);
  height: 44px;
  border-radius: 6px;
}

.public-profile-loading .public-profile-avatar::after,
.public-profile-loading .public-profile-copy h1::after,
.public-profile-loading .public-profile-bio::after,
.public-profile-loading-stats span::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  animation: profile-skeleton 1.2s ease-in-out infinite;
}

@keyframes profile-skeleton {
  to { transform: translateX(100%); }
}

.public-profile-empty {
  display: grid;
  gap: 10px;
  padding-top: 40px;
}

.public-profile-empty .back {
  width: max-content;
  color: var(--public-profile-muted);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.public-profile-empty h1 {
  margin: 0;
  font-size: 34px;
}

.public-profile-empty p {
  max-width: 360px;
  margin: 0;
  color: var(--public-profile-muted);
  font-size: 13px;
  line-height: 1.5;
}

.public-profile-no-cards {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 32px 20px;
  text-align: center;
}

.public-profile-no-cards h3,
.public-profile-no-cards p {
  margin: 0;
}

.public-profile-no-cards p {
  margin-top: 7px;
  color: var(--public-profile-muted);
  font-size: 13px;
}

@media (max-width: 719px) {
  body.public-profile-route .public-profile-page {
    width: min(100% - 16px, 720px);
    margin: 0 auto;
    padding: calc(82px + env(safe-area-inset-top)) 0 108px;
  }

  .public-profile-card.account-hero-card {
    padding: 20px 16px 12px;
  }

  .public-profile-share {
    top: 18px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  .public-profile-copy.account-hero-copy {
    padding-right: 40px;
  }

  .public-profile-identity {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }

  .public-profile-avatar.account-hero-avatar {
    width: 78px;
    height: 78px;
  }

  .public-profile-avatar-stack {
    gap: 7px;
    width: 82px;
  }

  .public-profile-avatar-stack .night-hello-send {
    width: 58px;
    height: 30px;
    padding: 4px 11px;
  }

  .public-profile-avatar-stack .night-hello-send img {
    width: 29px;
    height: 21px;
  }

  .public-profile-copy.account-hero-copy {
    gap: 6px;
  }

  .public-profile-copy h1 {
    font-size: 19px;
  }

  .public-profile-bio.account-hero-bio {
    font-size: 12px;
    line-height: 1.4;
  }

  .public-profile-meta {
    gap: 6px;
    font-size: 11.5px;
  }

  .public-profile-meta svg {
    width: 14px;
    height: 14px;
  }

  .public-profile-groups {
    gap: 12px;
    margin-top: 16px;
  }

  .public-profile-tag-group {
    gap: 7px;
  }

  .public-profile-tag-group h2 {
    font-size: 12px;
  }

  .public-profile-tag-group > div {
    gap: 7px;
  }

  .public-profile-tag-group.is-night-style span {
    min-height: 31px;
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .public-profile-tag-group.is-interests span {
    min-height: 29px;
    padding: 5px 9px;
    font-size: 11px;
  }

  body.public-profile-route .public-profile-stats {
    justify-content: space-between;
    gap: 10px;
    margin-top: 0;
    padding: 16px 16px 20px;
  }

  .public-profile-stats span {
    display: grid;
    gap: 4px;
  }

  .public-profile-stats strong,
  .public-profile-stats small {
    font-size: 11px;
  }

  body.public-profile-route .public-profile-stats strong {
    font-size: 15px;
  }

  body.public-profile-route .public-profile-cards {
    margin-top: 16px;
    padding: 18px 16px;
  }

  .public-profile-night-cards-page {
    padding-top: calc(82px + env(safe-area-inset-top));
  }

  .public-profile-cards > header {
    min-height: 0;
    margin-bottom: 14px;
  }

  .public-profile-cards .night-masonry {
    gap: 8px;
    column-gap: 8px;
  }

  .public-profile-night-cards-page .public-profile-cards .night-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.account-route .account-route-page *,
body.account-route .account-route-page .account-content * {
  max-width: 100%;
}

body.account-route #app {
  min-height: max(100vh, 100%);
  height: auto;
  overflow-y: visible;
}

.account-route-page {
  width: min(100% - 28px, 720px);
  min-height: 70vh;
  margin: 0 auto;
  padding-bottom: calc(140px + env(safe-area-inset-bottom));
}

.account-route #app > .topbar-fade + .account-route-page,
.account-route #app > .topbar-overlay + .account-route-page {
  padding-top: 28px;
}

.account-route-page > .account-content {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.account-route-page .account-hero-card {
  height: auto;
  min-height: 0;
  align-items: flex-start;
  padding: 20px;
}

.account-route-page .account-hero-avatar,
.account-route-page .account-hero-avatar img {
  border-radius: 50%;
}

.account-route-page .account-hero-copy {
  min-width: 0;
  flex: 1;
  padding-top: 4px;
  padding-right: 72px;
}

.account-route-page .account-hero-email {
  overflow: hidden;
  margin: 7px 0 0;
  color: var(--account-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-route-page .account-hero-card .account-hero-copy > .account-hero-bio {
  display: block;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  margin-top: 9px;
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: clip;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.account-route-page .account-hero-bio:empty {
  display: none;
}

.account-route-page .account-hero-overview {
  align-items:center;
  gap:18px;
  margin:0;
  padding:26px 20px 24px;
  border-bottom:1px solid var(--account-border);
  border-radius:0;
  background:transparent;
}

.account-route-page .account-hero-overview .account-hero-avatar {
  flex-basis:82px;
  width:82px;
  height:82px;
}

.account-route-page .account-hero-overview .account-hero-copy {
  align-self:center;
  padding-top:0;
  padding-right:76px;
}

.account-route-page .account-hero-night-title {
  margin:6px 0 0;
  color:var(--account-text);
  font-size:13px;
  font-weight:750;
  line-height:1.25;
}

.account-route-page .account-hero-overview .account-hero-bio {
  margin-top:8px;
  color:var(--account-muted);
  font-size:12px;
  line-height:1.45;
}

.account-route-page .account-hero-overview > a {
  top:50%;
  right:20px;
  min-height:36px;
  padding:0 15px;
  transform:translateY(-50%);
}

.account-route-page .account-content-overview {
  display:grid;
  gap:0;
}

.account-route-page .account-stats.account-overview-stats {
  gap:10px;
  margin:0;
  padding:14px 0;
  border:0;
  background:transparent;
}

.account-route-page .account-stats.account-overview-stats > * {
  gap:6px;
  border-radius:18px;
  padding:20px 8px;
  background:var(--account-surface);
  box-shadow:0 10px 28px rgba(32,24,64,.045);
}

.account-route-page .account-stats.account-overview-stats strong {
  color:var(--luca-purple);
  font-size:22px;
}

.account-route-page .account-stats.account-overview-stats span {
  color:var(--account-muted);
  font-size:11px;
}

.account-route-page .account-overview-group {
  margin:14px 0 0;
  padding:18px 16px 8px;
  border:0;
  border-radius:22px;
  background:var(--account-surface);
  box-shadow:0 10px 28px rgba(32,24,64,.045);
}

.account-route-page .account-overview-group > p {
  margin:0 4px 8px;
  color:var(--account-muted);
  font-size:10px;
  letter-spacing:.14em;
}

.account-route-page .account-overview-group > a,
.account-route-page .account-overview-group > button {
  grid-template-columns:34px minmax(0,1fr) auto;
  gap:12px;
  min-height:56px;
  padding:8px 4px;
  border-top:0;
}

.account-route-page .account-overview-group > a + a,
.account-route-page .account-overview-group > a + button {
  border-top:1px solid color-mix(in srgb,var(--account-border) 72%,transparent);
}

.account-route-page .account-menu-line-icon {
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border-radius:50%;
  background:color-mix(in srgb,var(--luca-purple) 10%,transparent);
  color:var(--luca-purple);
}

.account-route-page .account-menu-line-icon svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.6;
}

.account-route-page .account-overview-group strong {
  font-size:14px;
  font-weight:750;
}

.account-route-page .account-overview-group i {
  padding-right:4px;
  font-size:20px;
}

.account-route-page .account-overview-account {
  border-bottom:0;
}

.account-route-page .account-overview-account .account-page-signout {
  color:#b76565;
  -webkit-text-fill-color:#b76565;
}

.account-route-page .account-overview-account .account-page-signout .account-menu-line-icon {
  background:rgba(183,101,101,.09);
  color:#b76565;
}

.account-route-page .account-overview-group:last-child {
  margin-bottom:calc(110px + env(safe-area-inset-bottom));
}

.account-route-page .account-badges-empty {
  display:grid;
  min-height:320px;
  place-items:center;
  align-content:center;
  gap:10px;
  padding:32px;
  border:1px solid var(--account-border);
  border-radius:22px;
  background:var(--account-surface);
  text-align:center;
}

.account-route-page .account-badges-icon {
  display:grid;
  width:52px;
  height:52px;
  place-items:center;
  border-radius:50%;
  background:var(--account-raised);
  color:var(--luca-purple);
}

.account-route-page .account-badges-icon svg {
  width:28px;
  height:28px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.7;
}

.account-route-page .account-badges-empty h2,
.account-route-page .account-badges-empty p {
  margin:0;
}

.account-route-page .account-badges-empty p {
  max-width:340px;
  color:var(--account-muted);
  line-height:1.5;
}

.account-route-page .account-stats {
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.account-route-page .account-stats > * {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--account-surface);
  box-shadow: none;
}

.account-route-page .account-stats strong {
  color: #6f35ff;
}

.account-route-page .account-menu-group:last-child {
  margin-bottom: calc(110px + env(safe-area-inset-bottom));
}

body.night-mode.account-route .account-route-page .account-menu-group {
  border: 0;
}

.account-route-page .account-page-signout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #b76565;
  -webkit-text-fill-color: #b76565;
  box-shadow: none;
}

.account-route-page .account-page-signout strong {
  color: #b76565;
  -webkit-text-fill-color: #b76565;
}

.account-route-page .account-page-signout small {
  color: rgba(183,101,101,.72);
  -webkit-text-fill-color: rgba(183,101,101,.72);
}

.account-route-page .account-hero-avatar-upload {
  position: relative;
  cursor: pointer;
  border-color: var(--account-surface);
  box-shadow: 0 5px 18px rgba(0,0,0,.18);
}

.account-route-page .account-hero-avatar-upload:hover,
.account-route-page .account-hero-avatar-upload:focus-within {
  border-color: rgba(104,76,255,.58);
  box-shadow: 0 8px 22px rgba(104,76,255,.18);
}

.account-route-page .account-hero-avatar-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.account-route-page .account-hero-avatar-upload > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 50%;
  object-fit: cover;
}

.account-route-page .account-avatar-edit-badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 2;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(104,76,255,.9);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  opacity: .88;
  pointer-events: none;
}

.account-route-page .account-hero-avatar-upload:hover .account-avatar-edit-badge,
.account-route-page .account-hero-avatar-upload:focus-within .account-avatar-edit-badge,
.account-route-page .account-hero-avatar-upload.is-uploading .account-avatar-edit-badge {
  opacity: 1;
}

.account-route-page .account-hero-avatar-upload.is-uploading {
  opacity: .78;
}

body.account-route .account-route-page .account-content-checkins {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  padding: 28px;
  background: var(--account-surface);
  box-shadow: none;
}

.account-route-page .account-content-checkins .account-checkin-title {
  align-items: flex-start;
  gap: 0;
  margin-bottom: 30px;
}

.account-route-page .account-content-checkins .account-checkin-title > a {
  border: 0;
  background: var(--account-raised);
}

.account-route-page .account-content-checkins .account-checkin-timeline {
  gap: 36px;
  padding-left: 22px;
}

.account-route-page .account-content-checkins .account-checkin-timeline::before {
  left: 5px;
  background: color-mix(in srgb, var(--luca-purple) 22%, var(--account-border));
}

.account-route-page .account-content-checkins .account-checkin-day {
  background: transparent;
}

.account-route-page .account-content-checkins .account-checkin-day::before {
  left: -22px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--account-surface);
  background: var(--luca-purple);
  box-shadow: none;
}

.account-route-page .account-content-checkins .account-checkin-day > header {
  margin-bottom: 16px;
}

.account-route-page .account-content-checkins .account-checkin-card,
.account-route-page .account-content-checkins .account-checkin-copy {
  border: 0;
  background: var(--account-raised);
  box-shadow: none;
}

body.account-route .account-route-page .account-content-saved {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  padding: 24px;
  background: var(--account-surface);
  box-shadow: none;
}

.account-route-page .account-saved-tabs {
  --account-saved-gray: var(--account-raised);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 20px;
  padding: 5px;
  border-radius: 18px;
  background: var(--account-saved-gray);
}

.account-route-page .account-saved-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  padding: 8px 10px;
  background: transparent;
  color: var(--account-muted);
  font-weight: 800;
}

.account-route-page .account-saved-tabs button span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--luca-purple) 12%, transparent);
  color: var(--luca-purple);
  font-size: 10px;
}

.account-route-page .account-saved-tabs button.is-active {
  background: var(--luca-purple);
  color: #fff;
}

.account-route-page .account-saved-tabs button.is-active span {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.account-route-page .account-saved-panel[hidden] {
  display: none;
}

.account-route-page .account-saved-panel {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.account-route-page .account-favorite-list {
  --account-saved-gray: var(--account-raised);
  display: grid;
  gap: 9px;
  padding: 0;
  background: transparent;
}

.account-route-page .account-favorite-list article {
  min-height: 82px;
  border: 0;
  border-radius: 16px;
  padding: 10px;
  background: var(--account-saved-gray);
  box-shadow: none;
}

.account-route-page .account-favorite-list img {
  width: 62px;
  height: 62px;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .account-route-page,
  .account-route #app > .topbar-fade + .account-route-page,
  .account-route #app > .topbar-overlay + .account-route-page {
    width: min(100% - 24px, 720px);
    height: calc(100dvh - 54px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 24px;
    padding-bottom: calc(170px + env(safe-area-inset-bottom));
  }

  .account-route-page .account-hero-card {
    margin-top: 20px;
    padding: 16px;
  }

  .account-route-page .account-hero-overview {
    gap:14px;
    margin-top:8px;
    padding:20px 8px 22px;
  }

  .account-route-page .account-hero-overview .account-hero-avatar {
    flex-basis:72px;
    width:72px;
    height:72px;
  }

  .account-route-page .account-hero-overview .account-hero-copy {
    padding-right:62px;
  }

  .account-route-page .account-hero-overview > a {
    right:8px;
    min-height:34px;
    padding:0 13px;
  }

  .account-route-page .account-stats.account-overview-stats {
    gap:7px;
    padding:14px 0;
  }

  .account-route-page .account-stats.account-overview-stats > * {
    border-radius:16px;
    padding:18px 5px;
  }

  .account-route-page .account-overview-group {
    padding:18px 14px 8px;
  }

  .account-route-page .account-hero-copy {
    padding-right: 48px;
  }

  .account-route-page .account-menu-group:last-child {
    margin-bottom: calc(128px + env(safe-area-inset-bottom));
  }

  .account-route-page .account-stats {
    gap: 7px;
  }

  .account-route-page .account-stats > * {
    border-radius: 14px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .account-route-page .account-content-checkins .account-checkin-title {
    margin-bottom: 24px;
  }

  .account-route-page .account-content-checkins .account-checkin-timeline {
    padding-left: 17px;
  }

  .account-route-page .account-content-checkins .account-checkin-day::before {
    left: -17px;
  }

  .account-route-page .account-saved-tabs {
    gap: 4px;
    margin-bottom: 14px;
  }

  .account-route-page .account-saved-tabs button {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 11px;
  }
}
