/* Homepage wall. Cream field, rows grouped by photo shape, sized to the viewport. */

html.wall-root,
html.wall-root body {
  height: 100%;
  overflow: hidden;
  background: #faf1dc;
}

.wall-page {
  margin: 0;
  color: #1c1610;
}

.honor {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: center;
  column-gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(1.4rem, 4.5vh, 3.2rem) clamp(1.3rem, 5vw, 4.5rem);
  grid-template-rows: minmax(0, 1fr) auto;
  background: #faf1dc;
  overflow: auto;
  color: #1c1610;
}

.honor[hidden] {
  display: none !important;
}

.honor-copy h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.honor-copy p {
  margin: 0 0 0.8rem;
  max-width: 40rem;
  font-size: clamp(0.84rem, 1.05vw, 0.98rem);
  line-height: 1.55;
  color: #3d3328;
}

.honor-signoff {
  margin-top: 0.4rem !important;
  font-weight: 650;
  color: #1c1610;
}

.honor-line {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.15s ease, transform 1.15s ease;
}

.honor-line.is-on {
  opacity: 1;
  transform: none;
}

.honor-portrait {
  margin: 0;
  justify-self: end;
  width: min(100%, 420px);
}

.honor-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 720px);
  object-fit: contain;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to top right, #000 46%, transparent 72%);
  mask-image: linear-gradient(to top right, #000 46%, transparent 72%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left bottom;
  mask-position: left bottom;
  -webkit-mask-size: 0% 0%;
  mask-size: 0% 0%;
}

.honor-portrait img.is-drawing {
  animation: honor-draw 6s linear forwards;
}

@keyframes honor-draw {
  from {
    -webkit-mask-size: 0% 0%;
    mask-size: 0% 0%;
  }
  to {
    -webkit-mask-size: 250% 250%;
    mask-size: 250% 250%;
  }
}

.honor-portrait figcaption {
  margin: 0.85rem 0 0;
  opacity: 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: #6d5b3e;
  transition: opacity 1.1s ease;
}

.honor-portrait figcaption.is-on {
  opacity: 1;
}

.honor-copy,
.honor-portrait {
  grid-row: 1;
}

.honor-return {
  grid-column: 1 / -1;
  grid-row: 2;
  pointer-events: none;
  justify-self: center;
  margin: 0.6rem 0 0.3rem;
  padding: 0.35rem 0.4rem 0.2rem;
  border: 0;
  background: none;
  color: #6d5b3e;
  font: inherit;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.honor-return.is-on {
  pointer-events: auto;
}

.honor-return:hover {
  color: #1c1610;
}

.honor-return:active,
.honor-return.is-down {
  transform: scale(0.96);
}

.honor.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.wall.is-honor {
  z-index: 2;
  background: transparent;
  pointer-events: none;
}

.wall.is-live .tile.is-honor-gone {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.7s ease !important;
}

.wall {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  overflow: hidden;
  background: #faf1dc;
}

.band {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
}

.wall-empty {
  position: fixed;
  left: 50%;
  top: 42%;
  z-index: 5;
  margin: 0;
  transform: translate(-50%, -50%);
  color: #8a6410;
  font-size: 0.95rem;
  pointer-events: none;
}

.track {
  display: flex;
  height: 100%;
  width: max-content;
  gap: 8px;
  will-change: transform;
}

.tile {
  position: relative;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1500px;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile.is-in {
  opacity: 1;
  transform: none;
}

.wall.is-live .tile {
  transition: transform 460ms cubic-bezier(0.4, 0, 0.2, 1);
}

.wall.is-live.is-quiet .tile {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.05s ease;
}

.tile.is-source {
  opacity: 0 !important;
  transition: none !important;
}

.wall.is-live .tile.flipping {
  transform: scale(0.94);
}

.tile-shift {
  position: absolute;
  inset: 0;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transform-style: preserve-3d;
  will-change: transform;
}

.tile-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 900ms cubic-bezier(0.62, 0.02, 0.2, 1);
  will-change: transform;
}

.face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #efe8dc;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0.6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 247, 0.45),
    0 1px 2px rgba(48, 32, 12, 0.05),
    0 10px 20px rgba(48, 32, 12, 0.12);
}

.face.is-incoming {
  opacity: 0;
}

.face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #faf1dc;
  pointer-events: none;
  transition: background 0.4s ease, opacity 0.45s ease;
}

.boot.is-open { background: transparent; }
.boot.is-gone { opacity: 0; }

.angel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e4c36a;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(180, 130, 40, 0.28);
  animation: angel-float 1.8s ease-in-out infinite;
}

.angel svg {
  width: 54px;
  height: 54px;
  display: block;
}

@keyframes angel-float {
  0%, 100% { transform: translateY(7px); }
  50% { transform: translateY(-12px); }
}

.chrome {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.chrome.is-in {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chrome-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 10px 28px rgba(60, 40, 10, 0.06);
}

.chrome-links a,
.mobile-menu a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: transparent;
  border: 0;
  color: #4a4036;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}

.chrome-links a:hover,
.mobile-menu a:hover {
  background: rgba(28, 22, 16, 0.05);
  color: #1c1610;
}

.chrome-links .nav-cta,
.mobile-menu .nav-cta {
  background: #1c1610;
  color: #f6f1e8;
  margin-left: 2px;
}

.chrome-links .nav-cta:hover,
.mobile-menu .nav-cta:hover {
  background: #2c241c;
  color: #f6f1e8;
}

html[data-theme="light"] .chrome-links .nav-cta,
html[data-theme="light"] .wall-page .mobile-menu .nav-cta {
  background: #1c1610;
  color: #f6f1e8;
  box-shadow: none;
  transform: none;
  font-weight: 550;
  font-size: 0.78rem;
  padding: 0.42rem 0.78rem;
}

html[data-theme="light"] .chrome-links .nav-cta:hover,
html[data-theme="light"] .wall-page .mobile-menu .nav-cta:hover {
  background: #2c241c;
  color: #f6f1e8;
  transform: none;
  box-shadow: none;
}

.chrome-links .nav-auth-btn,
.wall-page .mobile-menu .nav-auth-btn {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #4a4036;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.42rem 0.72rem;
}

.chrome-links .nav-auth-btn:hover,
.wall-page .mobile-menu .nav-auth-btn:hover {
  background: rgba(28, 22, 16, 0.05);
  color: #1c1610;
  box-shadow: none;
}

.wall-search {
  position: fixed;
  z-index: 32;
  left: 50%;
  top: 50%;
  width: min(26rem, calc(100vw - 2.5rem));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%);
  transition: opacity 1.7s ease, transform 1.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wall-search.is-in {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.wall-search.is-leaving {
  transition: opacity 2s ease, transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile.is-held {
  visibility: hidden !important;
}

.login-card {
  position: fixed;
  z-index: 40;
  margin: 0;
  perspective: 1200px;
}

.login-card.is-moving {
  transition:
    left 0.9s cubic-bezier(0.22, 0.9, 0.3, 1),
    top 0.9s cubic-bezier(0.22, 0.9, 0.3, 1),
    width 0.9s cubic-bezier(0.22, 0.9, 0.3, 1),
    height 0.9s cubic-bezier(0.22, 0.9, 0.3, 1),
    border-radius 0.9s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.login-card.is-profile {
  overflow: hidden;
  border-radius: 999px;
}

.login-card.is-profile .login-face {
  border-radius: 999px;
}

.profile-flight-name {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 0 0.85rem;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(255, 252, 247, 0.96);
  color: #3f362c;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, font-size 0.9s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.login-card.is-settling .profile-flight-name,
.profile-flight.is-settling .profile-flight-name {
  opacity: 1;
  font-size: 0.8rem;
}

.profile-flight {
  position: fixed;
  z-index: 40;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #efe8dc;
  box-shadow: 0 16px 34px rgba(48, 32, 12, 0.18);
}

.profile-flight.is-moving {
  transition:
    left 0.9s cubic-bezier(0.22, 0.9, 0.3, 1),
    top 0.9s cubic-bezier(0.22, 0.9, 0.3, 1),
    width 0.9s cubic-bezier(0.22, 0.9, 0.3, 1),
    height 0.9s cubic-bezier(0.22, 0.9, 0.3, 1),
    border-radius 0.9s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.profile-flight.is-settling {
  border-radius: 999px;
}

.profile-flight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wall-profile-name.is-arriving {
  opacity: 0;
  pointer-events: none;
}

.login-card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 900ms cubic-bezier(0.62, 0.02, 0.2, 1);
}

.login-card.is-turned .login-card-inner {
  transform: rotateY(180deg);
}

.login-card.is-turned.is-auth .login-card-inner,
.login-card.is-turned.is-alt .login-card-inner {
  transform: rotateY(360deg);
}

.login-face.is-incoming,
.login-face-front form.is-incoming,
.login-face-back .alt-form.is-incoming,
.sheet-hold.is-incoming {
  visibility: hidden;
  opacity: 0;
}

.login-face-front form,
.login-face-back .alt-form {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding: 0.55rem 0.62rem 0.6rem;
  overflow: hidden;
  overscroll-behavior: contain;
  color: #1c1610;
  background: #efe8dc;
}

.login-face-front form .login-label {
  margin-top: 0.28rem;
}

.login-face-front form .login-title {
  margin-bottom: 0.2rem;
}

.login-face-front form input {
  padding: 0.42rem 0.75rem;
}

.login-face-front form .login-submit {
  margin-top: 0.4rem;
}

.login-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #efe8dc;
  container-type: size;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 247, 0.55),
    0 16px 34px rgba(48, 32, 12, 0.18);
}

.login-face-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.login-face-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding: 0.55rem 0.62rem 0.6rem;
  color: #1c1610;
  overflow: hidden;
  overscroll-behavior: contain;
}

.login-face-back.is-scroll {
  justify-content: flex-start;
  overflow: auto;
  padding: 0.7rem 0.65rem 0.75rem;
}

.sheet-hold {
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  min-height: 100%;
}

.login-face-front .sheet-hold {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  padding: 0.55rem 0.62rem 0.6rem;
  background: #efe8dc;
}

.sheet-hold[hidden],
.alt-form[hidden] {
  display: none !important;
}

.login-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7040;
}

.login-title {
  margin: 0.08rem 0 0.2rem;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.login-title-big {
  font-size: 1.45rem;
  line-height: 0.95;
  margin-bottom: 0.25rem;
}

.card-price {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.card-price span {
  font-size: 0.82rem;
  font-weight: 550;
  color: #6d5b3e;
}

.card-list {
  margin: 0.45rem 0 0.1rem;
  padding: 0;
  list-style: none;
}

.card-list li {
  position: relative;
  margin-top: 0.32rem;
  padding-left: 0.8rem;
  font-size: 0.68rem;
  line-height: 1.3;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #c49a4a;
}

.card-copy {
  margin: 0.4rem 0 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: #3d3328;
}

.card-copy strong {
  font-weight: 650;
  color: #1c1610;
}

.card-subhead {
  margin: 0.7rem 0 0.05rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.card-post {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(196, 154, 74, 0.28);
}

.card-post h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
}

.card-by {
  margin: 0.18rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a7040;
}

.card-link {
  display: inline-block;
  margin-top: 0.45rem;
  color: #8a6410;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  color: #1c1610;
}

.card-error {
  color: #8a4b32;
}

.wall-dock {
  position: fixed;
  z-index: 34;
  left: 50%;
  bottom: 18px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(243, 238, 228, 0.94);
  box-shadow:
    0 8px 22px rgba(48, 32, 12, 0.16),
    0 0 0 1px rgba(196, 154, 74, 0.45);
  color: #6d5b3e;
  transform: translateX(-50%);
}

.wall-dock[hidden] {
  display: none;
}

.wall-dock .wall-profile-photo,
.wall-dock .wall-avatar {
  width: 46px;
  height: 46px;
}

.login-label {
  margin: 0.28rem 0 0.12rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6d5b3e;
}

.login-face-back input,
.login-face-front form input,
.login-face-back .alt-form input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.9);
  color: #1c1610;
  font: inherit;
  font-size: 0.78rem;
  padding: 0.38rem 0.75rem;
  box-shadow: 0 0 0 1px rgba(196, 154, 74, 0.28);
  outline: none;
}

.login-face-back input:focus,
.login-face-front form input:focus {
  box-shadow: 0 0 0 1px rgba(196, 154, 74, 0.7);
}

.login-submit {
  margin-top: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: #1c1610;
  color: #f6f1e8;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-submit:active,
.login-submit.is-down {
  transform: scale(0.96);
}

.login-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.login-note {
  min-height: 0.9rem;
  margin: 0.28rem 0 0;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #8a4b32;
}

.login-note:empty {
  display: none;
}

@container (max-height: 310px) {
  .login-kicker { font-size: 0.58rem; }
  .login-label { margin: 0.1rem 0 0.05rem; font-size: 0.62rem; }
  .login-title { margin: 0 0 0.06rem; font-size: 0.92rem; }
  .login-title-big { font-size: 1.12rem; }
  .login-face-front form,
  .login-face-back .alt-form { padding: 0.4rem 0.5rem 0.45rem; }
  .login-face-back input,
  .login-face-front form input,
  .login-face-back .alt-form input { padding: 0.24rem 0.65rem; font-size: 0.72rem; }
  .login-submit { margin-top: 0.18rem; padding: 0.28rem 0.55rem; }
  .login-quiet { margin-top: 0.05rem; padding: 0.16rem 0; font-size: 0.68rem; }
  .card-list { margin: 0.15rem 0 0; }
  .card-list li { margin-top: 0.12rem; font-size: 0.62rem; }
  .card-price { font-size: 1rem; }
}

.login-links {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.login-quiet {
  margin-top: 0.15rem;
  padding: 0.3rem 0;
  border: 0;
  background: none;
  color: #8a7040;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.wall-actions .wall-profile {
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
}

.wall-profile-photo,
.wall-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #6d5b3e;
}

.wall-profile-photo {
  object-fit: cover;
  display: block;
}

.wall-search.is-away {
  opacity: 0;
  pointer-events: none;
}

.wall-search.is-honor-out,
.wall-dock.is-honor-out {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 2.2s ease !important;
}

.wall-search-field {
  position: relative;
}

.wall-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.wall-actions [data-auth-slot] {
  display: contents;
}

.wall-actions a[hidden] {
  display: none !important;
}

.admin-panel {
  position: fixed;
  z-index: 36;
  top: 0;
  left: 0;
  width: 25vw;
  min-width: min(20rem, 100vw);
  max-width: 100vw;
  height: 100%;
  transform: translateX(-100%);
  transition: transform 0.55s cubic-bezier(0.22, 0.9, 0.3, 1);
  background: #14100c;
  box-shadow: none;
  pointer-events: none;
}

@media (max-width: 900px) {
  .admin-panel {
    width: min(92vw, 26rem);
  }
}

.admin-panel.is-open {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 16px 0 40px rgba(28, 22, 16, 0.22);
}

.admin-panel.is-resizing {
  transition: none;
  user-select: none;
}

.admin-panel.is-resizing iframe {
  pointer-events: none;
}

.admin-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #14100c;
}

.admin-resize {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 14px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
}

.admin-resize::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: rgba(224, 176, 58, 0.28);
}

.admin-resize:hover::before,
.admin-resize:focus-visible::before,
.admin-panel.is-resizing .admin-resize::before {
  background: rgba(224, 176, 58, 0.95);
}

.wall-actions a,
.wall-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  background: rgba(255, 252, 247, 0.84);
  color: #3f362c;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(60, 40, 10, 0.08);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.16s ease;
}

.wall-actions a:hover,
.wall-actions button:hover {
  transform: translateY(-1px);
  background: #fff;
  color: #1c1610;
}

.wall-actions a:active,
.wall-actions button:active,
.wall-actions a.is-down,
.wall-actions button.is-down {
  transform: scale(0.92);
  box-shadow: 0 2px 6px rgba(60, 40, 10, 0.12);
}

.wall-actions a.is-tapped,
.wall-actions button.is-tapped {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.wall-actions a.is-tapped::before,
.wall-actions button.is-tapped::before {
  content: "";
  position: absolute;
  inset: -40% -70%;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 214, 140, 0.55) 40%,
    rgba(150, 220, 255, 0.7) 48%,
    rgba(255, 160, 220, 0.62) 54%,
    rgba(255, 244, 190, 0.9) 60%,
    rgba(130, 255, 210, 0.45) 68%,
    transparent 80%
  );
  transform: translateX(-55%);
  animation: subscribe-holo 1.15s ease-in-out infinite;
  pointer-events: none;
}

html[data-theme="light"] .wall-actions .nav-cta,
.wall-actions .nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1c1610;
  color: #f6f1e8;
  box-shadow: 0 8px 22px rgba(28, 22, 16, 0.16);
  transform: none;
}

.wall-actions .nav-cta::before {
  content: "";
  position: absolute;
  inset: -20% -40%;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 214, 140, 0.18) 38%,
    rgba(150, 220, 255, 0.7) 46%,
    rgba(255, 160, 220, 0.55) 52%,
    rgba(255, 244, 190, 0.85) 58%,
    rgba(130, 255, 210, 0.4) 66%,
    transparent 78%
  );
  transform: translateX(-55%);
  animation: subscribe-holo 2.8s ease-in-out infinite;
  pointer-events: none;
}

.wall-actions .nav-cta:hover::before {
  opacity: 0.85;
}

@keyframes subscribe-holo {
  0% { transform: translateX(-55%); }
  100% { transform: translateX(55%); }
}

html[data-theme="light"] .wall-actions .nav-cta:hover,
.wall-actions .nav-cta:hover {
  background: #2c241c;
  color: #f6f1e8;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(28, 22, 16, 0.18);
}

.wall-actions .nav-cta:active,
.wall-actions .nav-cta:hover:active,
.wall-actions .nav-cta.is-down,
.wall-actions .nav-cta:hover.is-down {
  transform: scale(0.92);
  background: #1c1610;
  box-shadow: 0 2px 6px rgba(28, 22, 16, 0.2);
}

.wall-actions .nav-auth-btn,
.wall-actions .nav-auth-profile {
  background: rgba(255, 252, 247, 0.84);
  border: 0;
  box-shadow: 0 8px 22px rgba(60, 40, 10, 0.08);
  color: #3f362c;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.42rem 0.85rem;
}

.wall-search-blur {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 240%;
  height: 280px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.42);
  transition:
    opacity 0.9s ease,
    transform 2.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: radial-gradient(ellipse at center,
    rgba(243, 238, 228, 0.5) 0%,
    rgba(243, 238, 228, 0.18) 34%,
    rgba(243, 238, 228, 0) 68%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0, 0, 0, 0.55) 32%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0, 0, 0, 0.55) 32%, transparent 70%);
  pointer-events: none;
}

.wall-search.is-in .wall-search-blur {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.wall-search.is-away .wall-search-blur,
.wall-search.is-leaving .wall-search-blur,
.wall-search.is-honor-out .wall-search-blur {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.42);
}

.wall-search.is-honor-out .wall-search-blur {
  transition:
    opacity 2.2s ease,
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wall-search input {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #1c1610;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.85rem 1.15rem 0.85rem 2.7rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75),
    0 16px 40px rgba(60, 40, 10, 0.08);
  outline: none;
}

.wall-search input::placeholder { color: #8a7d6c; }

.wall-search input:focus {
  box-shadow:
    0 0 0 1px rgba(196, 154, 74, 0.45),
    0 16px 40px rgba(60, 40, 10, 0.1);
}

.wall-search-icon {
  position: absolute;
  z-index: 1;
  left: 1rem;
  top: 15px;
  width: 16px;
  height: 16px;
  color: #8a7040;
  pointer-events: none;
}

.search-results {
  position: absolute;
  z-index: 3;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 16px 40px rgba(60, 40, 10, 0.1);
  max-height: 16rem;
  overflow: auto;
}

.search-results[hidden] { display: none; }

.search-results button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #1a140c;
  font: inherit;
  font-size: 0.84rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
}

.search-results button:hover,
.search-results button:focus-visible {
  background: rgba(240, 196, 92, 0.22);
  outline: none;
}

.chrome-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 8px 24px rgba(60, 40, 10, 0.06);
  cursor: pointer;
  color: #1c1610;
}

.wall-page .mobile-menu {
  width: min(16rem, calc(100vw - 2rem));
  margin-top: 0;
  padding: 0.4rem;
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 16px 40px rgba(60, 40, 10, 0.1);
}

.wall-page .mobile-menu .flex {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.focus {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
}

.focus[hidden] { display: none; }

.focus.is-open { pointer-events: auto; }

.focus-tile {
  position: fixed;
  z-index: 46;
  overflow: hidden;
  border-radius: 18px;
  background: #efe8dc;
  box-shadow:
    0 16px 34px rgba(48, 32, 12, 0.14),
    0 36px 70px rgba(48, 32, 12, 0.12);
}

.focus-tile.is-ready {
  transition:
    left 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.focus-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.focus-actions {
  position: fixed;
  left: 50%;
  bottom: 5vh;
  z-index: 47;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.focus.is-settled .focus-actions {
  opacity: 1;
  pointer-events: auto;
}

.focus-actions button {
  border: 0;
  background: none;
  color: #1c1610;
  font: inherit;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0.2rem 0.1rem;
}

.focus-actions button:hover { color: #8a6410; }

.focus-actions button:disabled {
  max-width: min(28rem, 86vw);
  white-space: normal;
  line-height: 1.35;
  opacity: 1;
  cursor: default;
}

.pick-note {
  margin: 0.35rem 0 0;
  min-height: 1.1rem;
  font-size: 0.78rem;
  color: #5c5348;
}

.pick-note a { color: #8a6410; }

@media (max-width: 860px) {
  .chrome .chrome-links { display: none; }
  .chrome-burger { display: inline-flex; }
}

@media (max-width: 760px) {
  .honor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    padding:
      calc(env(safe-area-inset-top, 0px) + 0.85rem)
      calc(env(safe-area-inset-right, 0px) + 1.05rem)
      calc(env(safe-area-inset-bottom, 0px) + 1.35rem)
      calc(env(safe-area-inset-left, 0px) + 1.05rem);
    -webkit-overflow-scrolling: touch;
  }

  .honor-portrait {
    order: -1;
    width: min(100%, 22rem);
    margin: 0 auto;
  }

  .honor-portrait img {
    width: 100%;
    height: auto;
    max-height: 46vh;
    object-fit: contain;
    object-position: center top;
  }

  .honor-copy {
    width: min(100%, 38rem);
  }

  .honor-copy h1 {
    font-size: 1.7rem;
  }

  .honor-copy p {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .honor-return {
    margin-top: 0.45rem;
  }
}

@media (min-width: 861px) {
  .wall-page #mobile-menu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .angel { animation: none; }
  .tile { transition: none; }
  .tile-shift { transform: none; }
  .chrome, .wall-search, .admin-panel { transition: none; }
  .wall-actions .nav-cta::before,
  .wall-actions .is-tapped::before { animation: none; opacity: 0.45; }
  .login-submit { transition: none; }
  .profile-flight,
  .profile-flight-name,
  .login-card-inner,
  .login-card.is-moving { transition: none; }
  .honor-portrait img.is-drawing { animation: none; -webkit-mask-size: 250% 250%; mask-size: 250% 250%; }
  .honor-line { transition: none; }
  .wall-search-blur { transition: none; }
}
