.home-explore-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--c-bg-base, #120f1f);
  color: var(--c-text, #fff);
}

.home-explore-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 16px calc(96px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}

.home-explore-body::-webkit-scrollbar {
  display: none;
}

body.footprint-detail-open .home-explore-body {
  padding: 0 0 calc(96px + env(safe-area-inset-bottom));
  background: #080713;
}

.footprint-list-page,
.footprint-write-page {
  min-height: 100%;
}

.footprint-list-page {
  position: static;
  padding-bottom: 84px;
}

.footprint-write-page {
  position: fixed;
  inset: 0;
  z-index: 150;
  overflow-y: auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(14px, calc((100vw - 430px) / 2 + 14px)) calc(22px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(circle at 50% 0%, rgba(123, 87, 255, .18), transparent 44%),
    #080713;
  scrollbar-width: none;
}

.footprint-write-page::-webkit-scrollbar {
  display: none;
}

body.footprint-write-open {
  overflow: hidden;
}

.footprint-write-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 14px;
  width: min(100%, 430px);
}

.footprint-write-head h2 {
  flex: 1;
  text-align: center;
  margin: 0;
  color: #fff;
  font: 1000 20px/1.2 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.035em;
  text-transform: lowercase;
}

.footprint-write-back {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
}

.footprint-write-back svg {
  width: 22px;
  height: 22px;
}

.footprint-write-head::after {
  content: '';
  width: 38px;
  height: 38px;
}

.footprint-fab {
  position: absolute;
  right: 18px;
  bottom: calc(94px + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #6744ff, #c13cff);
  color: #fff;
  box-shadow: 0 20px 44px rgba(123, 87, 255, .42), 0 0 0 1px rgba(255, 255, 255, .14) inset;
}

.footprint-fab:active {
  transform: scale(.96);
}

.footprint-fab[aria-busy="true"] {
  opacity: .72;
  pointer-events: none;
}

.footprint-fab[aria-busy="true"] svg {
  animation: cooked-fab-pulse .8s ease-in-out infinite alternate;
}

.footprint-fab svg {
  width: 27px;
  height: 27px;
}

@keyframes cooked-fab-pulse {
  from { transform: scale(.92); opacity: .62; }
  to { transform: scale(1.04); opacity: 1; }
}

.footprint-form-card,
.footprint-done-card,
.footprint-list-card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(30, 27, 50, .96), rgba(17, 15, 34, .98));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

.footprint-done-card h2,
.footprint-list-head h2 {
  margin: 0;
  color: #fff;
  letter-spacing: -.04em;
}

.footprint-done-card p {
  margin: 7px 0 0;
  color: rgba(246, 243, 255, .62);
  font: 700 13px/1.45 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-category-bar {
  display: flex;
  gap: 9px;
  margin: -4px -16px 16px;
  padding: 0 16px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.footprint-category-bar::-webkit-scrollbar {
  display: none;
}

.footprint-category-chip {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: rgba(246, 243, 255, .7);
  font: 1000 13px/1 var(--font-ui, 'Pretendard', sans-serif);
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.footprint-category-chip:active {
  transform: scale(.98);
}

.footprint-category-chip.is-active {
  border-color: rgba(216,255,54,.28);
  background: linear-gradient(135deg, #7b57ff, #b234ff);
  color: #fff;
  box-shadow: 0 12px 26px rgba(123,87,255,.22);
}

.footprint-country-bar {
  display: flex;
  gap: 9px;
  margin: 0 -16px 14px;
  padding: 0 16px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.footprint-country-bar::-webkit-scrollbar {
  display: none;
}

.footprint-country-chip {
  flex: 0 0 auto;
  width: 44px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  color: rgba(246, 243, 255, .76);
  font: 900 18px/1 var(--font-ui, 'Pretendard', sans-serif);
  white-space: nowrap;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 10px 24px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
}

.footprint-country-chip.is-active {
  border-color: rgba(216,255,54,.36);
  background: linear-gradient(135deg, #7b57ff, #b234ff);
  color: #fff;
  box-shadow: 0 12px 28px rgba(123,87,255,.26);
}

.footprint-country-chip.is-all {
  width: auto;
  min-width: 54px;
  padding: 0 16px;
  font-size: 13px;
}

.footprint-country-chip.is-add {
  min-width: 44px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.footprint-country-popup[hidden] {
  display: none !important;
}

.footprint-country-popup {
  position: fixed;
  inset: 0;
  z-index: 165;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.footprint-country-popup-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 3, 12, .68);
  backdrop-filter: blur(10px);
}

.footprint-country-popup-card {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  max-height: min(78vh, 560px);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 0%, rgba(123, 87, 255, .22), transparent 42%),
    linear-gradient(180deg, rgba(31, 27, 52, .98), rgba(13, 11, 28, .99));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
}

.footprint-country-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footprint-country-popup-head h3 {
  margin: 0;
  color: #fff;
  font: 900 18px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.03em;
}

.footprint-country-popup-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

#footprintCountrySearch {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: 600 14px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-country-reset {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(216, 255, 54, .24);
  border-radius: 12px;
  background: rgba(216, 255, 54, .08);
  color: #d8ff36;
  font: 800 13px var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
}

.footprint-country-reset[hidden] {
  display: none !important;
}

.footprint-country-popup-list {
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  scrollbar-width: none;
}

.footprint-country-popup-list::-webkit-scrollbar {
  display: none;
}

.footprint-country-popup-list .nationality-picker-option {
  color: var(--c-text, #fff);
}

.footprint-country-popup-list .nationality-picker-option:hover,
.footprint-country-popup-list .nationality-picker-option:focus-visible {
  background: rgba(255, 255, 255, .08);
}

.footprint-country-popup-list .nationality-picker-code {
  color: var(--c-text-muted, #6f6884);
  background: rgba(255, 255, 255, .08);
}

.footprint-country-chip .footprint-country-flag-wrap,
.footprint-country-chip .footprint-country-flag {
  display: block;
  width: 30px;
  height: 22px;
}

.footprint-country-chip .footprint-country-flag {
  object-fit: contain;
  border-radius: 3px;
}

.footprint-country-chip .footprint-country-flag-wrap.is-emoji {
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.footprint-country-chip.is-active {
  border-color: rgba(166, 121, 255, .76);
  background: linear-gradient(135deg, #6744ff, #b235ff);
  color: #fff;
  box-shadow: 0 10px 26px rgba(123, 87, 255, .28);
}

.footprint-form-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin: 0 auto 12px;
  width: min(100%, 430px);
  border-radius: 20px;
}

.footprint-more-menu {
  min-width: 124px;
}

.footprint-field {
  display: grid;
  gap: 8px;
}

.footprint-field span,
.footprint-image-head span {
  color: rgba(246, 243, 255, .9);
  font: 900 13px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-field span.is-required::after,
.footprint-image-head span.is-required::after {
  content: ' *';
  color: #ff4f76;
  font-weight: 1000;
}

.footprint-field input,
.footprint-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  outline: none;
  font: 700 15px/1.45 var(--font-ui, 'Pretendard', sans-serif);
  box-sizing: border-box;
}

.footprint-field input {
  min-height: 46px;
  padding: 0 13px;
}

.footprint-field textarea {
  min-height: 112px;
  padding: 13px;
  resize: none;
}

.footprint-field input::placeholder,
.footprint-field textarea::placeholder {
  color: rgba(246, 243, 255, .34);
}

.footprint-field small {
  justify-self: end;
  margin-top: -30px;
  padding-right: 12px;
  color: rgba(246, 243, 255, .42);
  font: 800 11px var(--font-ui, 'Pretendard', sans-serif);
  pointer-events: none;
}

.footprint-field-hint {
  margin: -2px 0 0;
  color: rgba(246, 243, 255, .48);
  font: 750 11px/1.55 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.02em;
}

.footprint-image-block {
  display: grid;
  gap: 10px;
}

.footprint-image-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footprint-image-head em {
  color: rgba(246, 243, 255, .42);
  font: 800 12px var(--font-ui, 'Pretendard', sans-serif);
  font-style: normal;
}

.footprint-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.footprint-safe-copy {
  margin: 6px 0 0;
  color: rgba(246, 243, 255, .48);
  font: 750 11px/1.55 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.02em;
  white-space: pre-line;
}

.footprint-add-image,
.footprint-preview {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
}

.footprint-add-image {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px dashed rgba(167, 139, 250, .68);
  background: rgba(123, 87, 255, .08);
  color: #f6f3ff;
  font: 900 11px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-add-image svg {
  width: 24px;
  height: 24px;
}

.footprint-preview {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .05);
}

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

.footprint-remove-image {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 4, 16, .76);
  color: #fff;
  font: 1000 14px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #6744ff, #b235ff);
  color: #fff;
  box-shadow: 0 16px 32px rgba(123, 87, 255, .30);
  font: 1000 15px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-notice-layer[hidden] {
  display: none !important;
}

.footprint-notice-layer {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 24px;
}

.footprint-notice-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 3, 12, .68);
  backdrop-filter: blur(10px);
}

.footprint-notice-card {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 0%, rgba(123, 87, 255, .28), transparent 42%),
    linear-gradient(180deg, rgba(31, 27, 52, .98), rgba(13, 11, 28, .99));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
}

.footprint-notice-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #7b57ff, #c13cff);
  color: #fff;
  font: 1000 27px/1 var(--font-ui, 'Pretendard', sans-serif);
  box-shadow: 0 0 34px rgba(123, 87, 255, .38);
}

.footprint-notice-icon[hidden],
.footprint-notice-card p[hidden] {
  display: none !important;
}

.footprint-notice-card h3 {
  margin: 2px 0 0;
  color: #fff;
  font: 1000 23px/1.2 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.045em;
}

.footprint-notice-card p {
  margin: 0 0 6px;
  color: rgba(246, 243, 255, .64);
  font: 800 13px/1.45 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-notice-actions {
  width: 100%;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.footprint-notice-cancel {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: transparent;
  color: rgba(246, 243, 255, .72);
  font: 800 14px var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
}

.footprint-notice-cancel:hover,
.footprint-notice-cancel:focus-visible {
  background: rgba(255, 255, 255, .06);
  outline: none;
}

.footprint-done-card {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 28px 18px 18px;
  margin-bottom: 14px;
}

.footprint-done-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #6744ff, #b235ff);
  box-shadow: 0 0 36px rgba(123, 87, 255, .36);
}

.footprint-done-mark svg {
  width: 36px;
  height: 36px;
}

.footprint-done-summary {
  width: 100%;
  box-sizing: border-box;
  margin: 18px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
  color: rgba(246, 243, 255, .82);
  text-align: left;
  font: 800 13px/1.5 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-list-card {
  padding: 16px;
  margin-bottom: 14px;
}

.footprint-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.footprint-list-head h2 {
  font: 1000 18px/1.2 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-list-head button {
  border: 0;
  background: transparent;
  color: rgba(246, 243, 255, .52);
  font: 800 12px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-best-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.footprint-best-card {
  min-width: 0;
}

.footprint-best-thumb {
  position: relative;
  aspect-ratio: 1.08;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b315f, #18162d);
}

.footprint-best-thumb > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.footprint-best-card b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font: 1000 12px/1.25 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-best-card small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ff4f81;
  font: 900 12px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-latest-list {
  display: grid;
  gap: 10px;
}

.footprint-latest-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
}

.footprint-latest-item img {
  width: 78px;
  height: 78px;
  border-radius: 13px;
  object-fit: cover;
}

.footprint-latest-item p {
  margin: 0 0 6px;
  color: rgba(246, 243, 255, .54);
  font: 700 12px/1.35 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-latest-copy {
  min-width: 0;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}

.footprint-latest-copy b {
  min-width: 0;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font: 1000 14px/1.25 var(--font-ui, 'Pretendard', sans-serif);
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.footprint-latest-like {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  align-self: flex-end;
  color: #ff4f81;
  white-space: nowrap;
  font: 900 12px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-latest-like span {
  font-size: 12px;
  line-height: 1;
}

.footprint-latest-item.is-processing,
.footprint-latest-item.is-failed {
  opacity: 0.92;
}

.footprint-publish-status {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 0;
  font: 700 11px/1.2 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: 0.01em;
}

.footprint-publish-status.is-processing {
  color: #9fd0ff;
}

.footprint-publish-status.is-failed {
  color: #ff8fa3;
}

.footprint-publish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.footprint-publish-actions button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: 700 12px/1.2 var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footprint-publish-actions button[data-footprint-delete-failed] {
  color: #ff8fa3;
}

.footprint-detail-page {
  min-height: 100%;
  padding: 0 16px 24px;
  background: #080713;
}

.footprint-detail-head {
  margin: 0 -16px 14px;
  top: 0;
  background: #080713;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footprint-detail-head h2 {
  font-size: 0;
}

.footprint-detail-head h2::before {
  content: '발자취 상세';
  color: #fff;
  font: 1000 25px/1.2 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.045em;
}

.footprint-detail-actions {
  gap: 4px;
}

.footprint-detail-card {
  padding: 20px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background: rgba(18, 16, 34, .96);
  box-shadow: none;
}

.footprint-detail-card h1 {
  margin: 0 0 20px;
  color: #fff;
  font: 1000 28px/1.18 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.055em;
}

.footprint-detail-address {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .88);
  font: 800 16px/1.35 var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
}

.footprint-detail-address:hover b {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footprint-map-pinned {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #8f6fff;
}

.footprint-map-pinned svg {
  width: 22px;
  height: 22px;
}

.footprint-detail-content {
  margin: 0 0 24px;
  white-space: pre-line;
  color: rgba(255, 255, 255, .88);
  font: 750 17px/1.68 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.02em;
}

.footprint-detail-gallery {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
}

.footprint-detail-gallery.is-single {
  grid-template-columns: 1fr;
}

.footprint-detail-gallery.is-multi {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footprint-detail-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  padding: 0;
  background: rgba(255, 255, 255, .06);
  aspect-ratio: 1;
}

.footprint-detail-gallery.is-single .footprint-detail-photo,
.footprint-detail-gallery.is-multi .footprint-detail-photo:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 1.55;
}

.footprint-detail-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.footprint-detail-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .56);
  color: #fff;
  font: 1000 28px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-detail-like {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #ff4f83;
  font: 1000 20px var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.footprint-detail-like span {
  font-size: 25px;
}

.footprint-detail-like:active {
  transform: scale(.96);
}

.footprint-detail-like-time {
  display: block;
  width: fit-content;
  margin: 0 0 18px 0;
  color: rgba(246, 243, 255, .42);
  font: 800 11px/1.2 var(--font-ui, 'Pretendard', sans-serif);
  font-style: normal;
}

body.footprint-detail-open #homeTopbar {
  display: none !important;
}

.footprint-detail-author {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 10px;
  align-items: start;
  padding: 18px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.footprint-detail-avatar {
  grid-column: 1;
  grid-row: 1;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
}

.footprint-detail-author .answer-profile-copy {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  align-content: center;
  gap: 0;
  min-width: 0;
}

.footprint-detail-creator-banner {
  grid-column: 1 / -1;
  grid-row: 2;
  width: calc(100% - 10px);
  max-width: none;
  margin: 2px 5px 0;
  box-sizing: border-box;
}

.footprint-detail-creator-banner[hidden] {
  display: none !important;
}

.footprint-detail-creator-banner .creator-profile-banner {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.footprint-detail-creator-banner .creator-profile-banner img {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}

.footprint-author-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.footprint-author-identity {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.footprint-author-identity .answer-author-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font: 1000 15px/1.1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-author-flag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footprint-author-flag .cooked-flag {
  display: block;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.footprint-comment-flag .cooked-flag,
.footprint-comment-name .cooked-flag {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.footprint-original-wrap {
  margin: 4px 0 18px;
}

.footprint-original-wrap[hidden] {
  display: none !important;
}

.footprint-original-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(169, 140, 255, .62);
  border-radius: 999px;
  background: rgba(123, 87, 255, .14);
  color: #fff;
  cursor: pointer;
  font: 900 12px/1 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.01em;
}

.footprint-original-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(154, 92, 255, .28);
  border-radius: 14px;
  background: rgba(154, 92, 255, .07);
}

.footprint-original-panel[hidden] {
  display: none !important;
}

.footprint-original-panel small {
  color: rgba(246, 243, 255, .55);
  font: 750 12px/1.35 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-original-panel b {
  color: #fff;
  font: 950 15px/1.35 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-original-panel span,
.footprint-original-panel p {
  margin: 0;
  color: rgba(246, 243, 255, .78);
  font: 750 14px/1.65 var(--font-ui, 'Pretendard', sans-serif);
  white-space: pre-wrap;
}

.footprint-detail-author .answer-trust-line {
  justify-content: flex-start;
}

.footprint-detail-author-stats,
.footprint-comment-item small {
  display: block;
  color: rgba(246, 243, 255, .58);
  font: 750 13px/1.45 var(--font-ui, 'Pretendard', sans-serif);
  margin-top: 4px;
}

.footprint-comment-item img {
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  width: 46px;
  height: 46px;
}

.footprint-comment-item p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.footprint-comment-item b {
  color: #fff;
  font: 1000 15px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-item em {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(123, 87, 255, .24);
  color: #bfa8ff;
  font: 900 11px/1 var(--font-ui, 'Pretendard', sans-serif);
  font-style: normal;
}

.footprint-detail-comments {
  padding-top: 24px;
}

.footprint-detail-comments h3 {
  margin: 0 0 18px;
  color: #fff;
  font: 1000 22px/1.2 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -.04em;
}

.footprint-comment-list {
  display: grid;
  gap: 18px;
}

.footprint-comment-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
}

.footprint-comment-item img {
  width: 46px;
  height: 46px;
}

.footprint-comment-avatar[role="link"] {
  cursor: pointer;
}

.footprint-comment-item b {
  font-size: 15px;
}

.footprint-comment-item span {
  display: block;
  color: rgba(246, 243, 255, .86);
  font: 750 15px/1.45 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 24px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
}

.footprint-comment-form input {
  min-width: 0;
  border: 0;
  padding: 0 12px;
  background: transparent;
  color: #fff;
  outline: none;
  font: 800 15px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-form input::placeholder {
  color: rgba(246, 243, 255, .42);
}

.footprint-comment-form button {
  min-width: 74px;
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  background: rgba(123, 87, 255, .18);
  color: #a98cff;
  font: 1000 15px var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-reply-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(169, 140, 255, .28);
  border-radius: 14px;
  background: rgba(123, 87, 255, .1);
  color: rgba(246, 243, 255, .86);
  font: 850 13px/1.35 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-reply-target[hidden] {
  display: none !important;
}

.footprint-comment-reply-target button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #a98cff;
  cursor: pointer;
  font: 950 12px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-item.is-reply {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 0 0 12px;
  border-left: 1px solid rgba(169, 140, 255, .24);
}

.footprint-comment-item.is-reply > .footprint-comment-avatar,
.footprint-comment-item.is-reply > img {
  width: 34px;
  height: 34px;
}

.footprint-comment-profile-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
}

.footprint-comment-profile-row .footprint-comment-name {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.footprint-comment-action-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.footprint-comment-more {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 243, 255, .72);
  cursor: pointer;
}

.footprint-comment-more .lucide-inline {
  width: 19px;
  height: 19px;
}

.footprint-comment-menu {
  position: absolute;
  z-index: 8;
  top: 30px;
  right: 0;
  min-width: 112px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(23, 19, 39, .96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .34);
}

.footprint-comment-menu[hidden] {
  display: none;
}

.footprint-comment-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  background: transparent;
  color: rgba(246, 243, 255, .9);
  font: 900 12px/1 var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
}

.footprint-comment-menu button.is-danger {
  color: #ff6f96;
}

.footprint-comment-menu .lucide-inline {
  width: 15px;
  height: 15px;
}

.footprint-comment-name {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 0 0 6px;
  color: #fff;
  font: 1000 15px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footprint-comment-author-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 8px 4px;
  border-radius: 999px;
  background: rgba(123, 87, 255, .5);
  color: #fff;
  font: 900 11px/1 var(--font-ui, 'Pretendard', sans-serif);
  font-style: normal;
}

.footprint-comment-body {
  display: block;
  margin: 0;
  color: rgba(246, 243, 255, .86);
  font: 750 15px/1.45 var(--font-ui, 'Pretendard', sans-serif);
  white-space: pre-wrap;
}

.footprint-comment-original-body {
  display: block;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(169, 140, 255, .22);
  border-radius: 14px;
  background: rgba(123, 87, 255, .08);
  color: rgba(246, 243, 255, .72);
  font: 750 14px/1.45 var(--font-ui, 'Pretendard', sans-serif);
  white-space: pre-wrap;
}

.footprint-comment-original-body[hidden] {
  display: none !important;
}

.footprint-comment-translate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  margin: 10px 0 0;
  padding: 0 18px;
  border: 1px solid rgba(169, 140, 255, .62);
  border-radius: 999px;
  background: rgba(123, 87, 255, .14);
  color: #fff;
  cursor: pointer;
  font: 900 12px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-translate-button:disabled {
  cursor: wait;
  opacity: .72;
}

.footprint-comment-reply-button {
  display: flex;
  width: fit-content;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a98cff;
  cursor: pointer;
  font: 950 12px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-replies {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.footprint-comment-date {
  display: block;
  margin: 8px 0 0;
  color: rgba(246, 243, 255, .58);
  text-align: right;
  font: 750 12px/1.35 var(--font-ui, 'Pretendard', sans-serif);
}

@media (max-width: 390px) {
  .footprint-write-page {
    padding-inline: 12px;
  }

  .footprint-form-card {
    padding: 13px;
  }

  .footprint-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footprint-detail-card h1 {
    font-size: 25px;
  }
}

/* 2026-07-06: Footprint detail cleanup */
.footprint-detail-head h2 {
  font-size: 25px;
  color: #fff;
  font-weight: 1000;
  letter-spacing: -.045em;
}

.footprint-detail-head h2::before {
  content: none !important;
}

.footprint-detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
}

.footprint-detail-meta-row .footprint-detail-like {
  margin: 0;
}

.footprint-detail-like-time {
  margin: 0;
  white-space: nowrap;
  font-size: 12px;
}

.footprint-profile-title {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(123, 87, 255, .28);
  color: #cbbdff;
  font: 950 11px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-detail-author-stats[hidden] {
  display: none !important;
}

.footprint-detail-comments h3 {
  font-size: 11px;
}

.footprint-latest-pager {
  margin-top: 14px;
}

.footprint-comment-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
}

.footprint-comment-pager[hidden] {
  display: none;
}

.footprint-comment-pager button {
  min-width: 58px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .84);
  font: 900 12px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-pager button:disabled {
  opacity: .36;
}

.footprint-comment-pager span {
  min-width: 54px;
  text-align: center;
  color: rgba(246, 243, 255, .62);
  font: 950 12px/1 var(--font-ui, 'Pretendard', sans-serif);
}

.footprint-comment-item > div {
  min-width: 0;
}

.footprint-comment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 5px;
}

.footprint-comment-top em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footprint-comment-top small {
  flex: 0 0 auto;
  margin: 0;
  font-size: 12px;
  color: rgba(246, 243, 255, .48);
}

.footprint-comment-item > div > b {
  display: block;
  margin: 0 0 8px;
}

/* legacy explore recommendation styles */
.explore-legacy-unused {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.explore-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 14px;
  padding: 12px 14px;
  border-radius: var(--r-md, 14px);
  background: var(--c-bg-surface, #1e1b2e);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-card, 0 4px 24px rgba(0, 0, 0, 0.35));
}

.explore-search-icon {
  font-size: 16px;
  opacity: 0.7;
}

.explore-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--c-text, #fff);
  font: 500 15px var(--font-ui, 'Pretendard', sans-serif);
  outline: none;
}

.explore-search input::placeholder {
  color: var(--c-text-muted, #6f6884);
}

.explore-pick-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 16px 14px;
}

.explore-pick-tab {
  min-height: 46px;
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  background: var(--c-bg-surface, #1e1b2e);
  color: var(--c-text-secondary, #a099b0);
  font: 700 14px var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.explore-pick-tab:active {
  opacity: 0.9;
}

.explore-pick-tab.active {
  border-color: transparent;
  background: var(--c-accent, #7b57ff);
  color: #fff;
  box-shadow: var(--glow-accent, 0 0 24px rgba(123, 87, 255, 0.35));
}

.explore-categories {
  display: flex;
  gap: 14px;
  padding: 0 16px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.explore-categories::-webkit-scrollbar {
  display: none;
}

.explore-category {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 56px;
  border: 0;
  background: transparent;
  color: var(--c-text-muted, #6f6884);
  font: 600 11px var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
}

.explore-category span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  background: var(--c-bg-raised, #28243a);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.explore-category[data-category='all'] span {
  background: var(--c-accent-soft, rgba(123, 87, 255, 0.18));
}

.explore-category[data-category='food'] span {
  background: rgba(244, 201, 144, 0.14);
}

.explore-category[data-category='cafe'] span {
  background: rgba(196, 181, 253, 0.14);
}

.explore-category[data-category='nature'] span {
  background: rgba(62, 207, 142, 0.14);
}

.explore-category[data-category='shopping'] span {
  background: rgba(255, 145, 180, 0.14);
}

.explore-category[data-category='night'] span {
  background: rgba(147, 130, 255, 0.16);
}

.explore-category.is-active {
  color: var(--c-accent-hover, #8f6fff);
}

.explore-category.is-active span {
  border-color: var(--c-accent, #7b57ff);
  box-shadow: 0 0 0 2px var(--c-accent-soft, rgba(123, 87, 255, 0.18));
}

.explore-section {
  margin-bottom: 18px;
}

.explore-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 10px;
}

.explore-section-head h2 {
  margin: 0;
  font: 700 16px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -0.02em;
  color: var(--c-text, #fff);
}

.explore-section-more {
  border: 0;
  background: transparent;
  color: var(--c-text-muted, #6f6884);
  font: 500 13px var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
  white-space: nowrap;
}

.explore-section-more:active {
  color: var(--c-accent-hover, #8f6fff);
}

.explore-card-row {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.explore-card-row::-webkit-scrollbar {
  display: none;
}

.explore-empty {
  margin: 0;
  padding: 8px 4px 16px;
  color: var(--c-text-muted, #6f6884);
  font: 500 14px var(--font-ui, 'Pretendard', sans-serif);
}

.explore-card {
  flex: 0 0 168px;
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  padding: 0;
  border-radius: var(--r-md, 16px);
  overflow: hidden;
  background: var(--c-bg-surface, #1e1b2e);
  box-shadow: var(--shadow-card, 0 8px 24px rgba(0, 0, 0, 0.35));
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.explore-card:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.explore-card-thumb {
  height: 112px;
  background: linear-gradient(135deg, #2a2640, #1a1730);
  background-size: cover;
  background-position: center;
}

.explore-card-body {
  padding: 10px 12px 12px;
}

.explore-card-body b {
  display: block;
  margin-bottom: 6px;
  font: 700 14px var(--font-ui, 'Pretendard', sans-serif);
  color: var(--c-text, #fff);
  line-height: 1.3;
}

.explore-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--c-accent-hover, #8f6fff);
  font: 600 12px var(--font-ui, 'Pretendard', sans-serif);
}

.home-footprints-panel {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  background: var(--c-bg-base, #120f1f);
}

.home-footprints-panel .request-feed {
  position: static;
  flex: none;
  margin: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 8px;
  touch-action: auto;
  overscroll-behavior: auto;
}

.home-footprints-panel .feed-scroll-card {
  position: relative;
  inset: auto;
  transform: none !important;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  background: var(--c-bg-surface, #1e1b2e);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.home-footprints-panel .feed-scroll-card .request-media {
  height: 168px;
  flex-shrink: 0;
}

.home-footprints-panel .feed-scroll-card .request-media.photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-footprints-panel .feed-scroll-card .request-body {
  padding: 14px 16px 16px;
  overflow: visible;
}

.home-footprints-panel .feed-scroll-card .request-body h3 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.home-footprints-panel .feed-scroll-card .request-body > p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-text-secondary, #a9a3bc);
}

.home-footprints-panel .feed-scroll-card.feed-empty,
.home-footprints-panel .feed-scroll-card.feed-loading {
  padding: 40px 24px;
  text-align: center;
  align-items: center;
}

.home-footprints-panel .food-media.category-emergency {
  background: linear-gradient(145deg, #ff8a6b, #ff5b35);
}

.home-footprints-panel .food-media.category-transit {
  background: linear-gradient(145deg, #8ec5ff, #4a90d9);
}

.home-footprints-panel .food-media.category-taxi {
  background: linear-gradient(145deg, #ffe08a, #f5b942);
}

.home-footprints-panel .food-media.category-general {
  background: linear-gradient(145deg, #c4b5fd, #8b6cff);
}

.home-footprints-panel .food-media.category-situation {
  background: linear-gradient(145deg, #ffb4a2, #ff6b4a);
}

.home-footprints-panel .food-media.category-food {
  background: linear-gradient(145deg, #f4c990, #d98c55);
}

.home-footprints-panel .food-media.category-problem {
  background: linear-gradient(145deg, #ff9f7a, #e84d2f);
}

.home-footprints-panel .food-media.category-curious {
  background: linear-gradient(145deg, #a8d8ff, #5b9fd4);
}

/* Newspaper final visual pass - COOKED dark purple */
.home-footprints-panel.newspaper-panel {
  overflow: hidden;
  padding: 12px 14px calc(92px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(circle at 84% 4%, rgba(139, 92, 246, .34), transparent 30%),
    radial-gradient(circle at 8% 12%, rgba(255, 91, 125, .12), transparent 26%),
    linear-gradient(180deg, #100d20 0%, #090817 54%, #070711 100%);
  color: #f6f3ff;
}

.home-footprints-panel.newspaper-panel .newspaper-head {
  display: none;
}

.home-footprints-panel.newspaper-panel .newspaper-country-bar {
  flex: 0 0 auto;
  margin: 0 -14px;
  padding: 0 14px 12px;
}

.home-footprints-panel.newspaper-panel .newspaper-head small {
  color: rgba(246, 243, 255, .44);
}

.home-footprints-panel.newspaper-panel .newspaper-head h2,
.home-footprints-panel.newspaper-panel .newspaper-head h2::after,
.home-footprints-panel.newspaper-panel .newspaper-icon-button {
  color: #f8f5ff;
}

.home-footprints-panel.newspaper-panel .newspaper-country-chip {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .055);
  color: rgba(246, 243, 255, .74);
  box-shadow: none;
}

.home-footprints-panel.newspaper-panel .newspaper-country-chip.is-active {
  border-color: rgba(166, 121, 255, .72);
  background: linear-gradient(135deg, #7b57ff, #bc40ff);
  color: #fff;
  box-shadow: 0 10px 26px rgba(123, 87, 255, .28);
}

.home-footprints-panel.newspaper-panel .request-feed.newspaper-feed {
  position: static;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 0 0 16px;
  background: transparent;
  scrollbar-width: none;
}

.home-footprints-panel.newspaper-panel .request-feed.newspaper-feed.is-expanded {
  max-height: min(58dvh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.home-footprints-panel.newspaper-panel .request-feed.newspaper-feed::-webkit-scrollbar {
  display: none;
}

.home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card {
  position: relative;
  inset: auto;
  min-height: 138px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: stretch;
  transform: none !important;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(25, 22, 45, .96), rgba(14, 13, 30, .98));
  color: #f6f3ff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card:active {
  transform: scale(.992) !important;
}

.home-footprints-panel.newspaper-panel .newspaper-card-thumb {
  grid-row: 1;
  align-items: flex-start;
  align-self: start;
  padding: 14px 0 0 14px;
}

.home-footprints-panel.newspaper-panel .newspaper-card-thumb img {
  width: 84px;
  height: 84px;
  flex: none;
  object-fit: cover;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .36);
}

.home-footprints-panel.newspaper-panel .newspaper-card-thumb:not(.is-photo) img {
  object-fit: contain;
  padding: 6px;
}

.home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card .request-body {
  display: grid;
  gap: 0;
  padding: 18px 18px 15px 12px;
  overflow: visible;
}

.home-footprints-panel.newspaper-panel .newspaper-card-country {
  margin-bottom: 2px;
}

.home-footprints-panel.newspaper-panel .newspaper-card-country span {
  color: #f6f3ff;
}

.home-footprints-panel.newspaper-panel .newspaper-card-country em {
  color: rgba(246, 243, 255, .48);
}

.home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card .request-body h3 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -.035em;
  font-weight: 1000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card .request-body > p {
  margin: 0;
  color: rgba(246, 243, 255, .62);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.home-footprints-panel.newspaper-panel .newspaper-tags {
  grid-column: 1 / -1;
  justify-content: center;
  gap: 7px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 18px 14px 14px;
  color: rgba(205, 188, 255, .58);
}

.home-footprints-panel.newspaper-panel .newspaper-tags span {
  display: inline;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  line-height: 1;
}

.home-footprints-panel.newspaper-panel .newspaper-load-more {
  width: fit-content;
  min-width: 132px;
  height: 42px;
  justify-self: center;
  border: 1px solid rgba(167, 139, 250, .28);
  border-radius: 999px;
  background: rgba(124, 58, 237, .18);
  color: #e8dcff;
  font-size: 13px;
  font-weight: 1000;
}

.home-footprints-panel.newspaper-panel .newspaper-category-label {
  border-color: rgba(167, 139, 250, .34);
  background: rgba(124, 58, 237, .22);
  color: #e8dcff;
}

.home-footprints-panel.newspaper-panel .newspaper-solved-badge {
  border-color: rgba(216, 255, 54, .48);
  background: rgba(216, 255, 54, .14);
  color: #eaff7a;
}

.home-footprints-panel.newspaper-panel .newspaper-card-meta em {
  color: rgba(246, 243, 255, .48);
}

.home-footprints-panel.newspaper-panel .newspaper-card-stats {
  color: rgba(246, 243, 255, .58);
}

.home-footprints-panel.newspaper-panel .newspaper-card-stats svg {
  color: rgba(167, 139, 250, .9);
}

[data-theme='night'] .home-footprints-panel.newspaper-panel {
  background:
    radial-gradient(circle at 84% 4%, rgba(139, 92, 246, .34), transparent 30%),
    radial-gradient(circle at 8% 12%, rgba(255, 91, 125, .12), transparent 26%),
    linear-gradient(180deg, #100d20 0%, #090817 54%, #070711 100%);
  color: #f6f3ff;
}

[data-theme='night'] .home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card {
  border-color: rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(25, 22, 45, .96), rgba(14, 13, 30, .98));
  color: #f6f3ff;
}

[data-theme='night'] .home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card .request-body h3 {
  color: #fff;
}

[data-theme='night'] .home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card .request-body > p {
  color: rgba(246, 243, 255, .62);
}

.submit-loading-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(4, 2, 15, 0.54);
  backdrop-filter: blur(8px);
}

.submit-loading-layer[hidden] {
  display: none;
}

.submit-loading-card {
  min-width: 180px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(141, 84, 255, 0.28), transparent 58%),
    rgba(24, 20, 39, 0.94);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  color: #fff;
  text-align: center;
}

.submit-loading-spinner {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-top-color: #b638ff;
  border-right-color: #7b4dff;
  animation: cooked-submit-spin 0.82s linear infinite;
}

.submit-loading-card p {
  margin: 14px 0 0;
  font: 800 15px/1.35 var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -0.02em;
}

@keyframes cooked-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

/* App-wide hidden scrollbar guard: keep scroll, remove old web chrome */
.app,
.app *,
.globe-lang-menu,
.home-area-popup,
.sheet,
.full-view,
.help-sheet-dark,
.auth-panel,
.onboarding-panel,
textarea {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app::-webkit-scrollbar,
.app *::-webkit-scrollbar,
.globe-lang-menu::-webkit-scrollbar,
.home-area-popup::-webkit-scrollbar,
.sheet::-webkit-scrollbar,
.full-view::-webkit-scrollbar,
.help-sheet-dark::-webkit-scrollbar,
.auth-panel::-webkit-scrollbar,
.onboarding-panel::-webkit-scrollbar,
textarea::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Station list final layout guard */
.home-footprints-panel.newspaper-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding-bottom: calc(79px + env(safe-area-inset-bottom, 0px));
}

.home-footprints-panel.newspaper-panel .request-feed.newspaper-feed {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding-bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.home-footprints-panel.newspaper-panel .request-feed.newspaper-feed::-webkit-scrollbar,
.home-footprints-panel.newspaper-panel .request-feed.newspaper-feed.is-expanded::-webkit-scrollbar {
  display: none;
}

.home-footprints-panel.newspaper-panel .request-feed.newspaper-feed.is-expanded {
  max-height: none;
  overflow-y: auto;
  scrollbar-width: none;
}

.home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card {
  grid-template-rows: minmax(104px, auto) minmax(28px, auto);
  min-height: 152px;
  overflow: hidden;
}

.home-footprints-panel.newspaper-panel .feed-scroll-card.newspaper-card .request-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-bottom: 10px;
}

.home-footprints-panel.newspaper-panel .newspaper-tags {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  justify-content: center;
  min-width: 0;
  min-height: 28px;
  padding: 0 16px 14px;
}
