:root {
  font-family:
    Inter,
    'Pretendard',
    system-ui,
    -apple-system,
    'Noto Sans KR',
    sans-serif;
  color: #23221f;
  background: #f8f7f5;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eae7e4;
  backdrop-filter: blur(12px);
}
.topin {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
  padding: 0 18px;
}
.logo {
  font-weight: 900;
  font-size: 25px;
  letter-spacing: -1.4px;
}
.logo b {
  color: #f16a38;
}
.topnav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.btn {
  border: 1px solid #e7e3de;
  background: #fff;
  color: #25231f;
  padding: 10px 14px;
  border-radius: 11px;
  font-weight: 700;
}
.btn:hover {
  background: #f8f6f2;
}
.primary {
  background: #f36e42;
  border-color: #f36e42;
  color: white;
}
.primary:hover {
  background: #dd5f35;
}
.small {
  padding: 7px 10px;
  font-size: 12px;
}
.layout {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 260px;
  gap: 18px;
  margin: 22px auto;
  padding: 0 16px;
}
.panel {
  background: #fff;
  border: 1px solid #ebe8e4;
  border-radius: 16px;
  overflow: hidden;
}
.sidebar {
  position: sticky;
  top: 86px;
  height: max-content;
  padding: 12px;
}
.navbutton {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 11px;
  text-align: left;
  padding: 12px;
  font-weight: 700;
  color: #625f59;
}
.navbutton.active {
  background: #fff0e8;
  color: #df6035;
}
.sectiontitle {
  font-size: 12px;
  color: #96928e;
  padding: 16px 12px 6px;
  font-weight: 700;
}
.aside {
  position: sticky;
  top: 86px;
  height: max-content;
}
.aside .block {
  padding: 18px;
  border-bottom: 1px solid #efebe7;
}
.aside h2 {
  font-size: 15px;
  margin: 0 0 14px;
}
.aside p {
  font-size: 13px;
  color: #77716a;
  line-height: 1.7;
  margin: 8px 0;
}
.aside .hotitem {
  display: block;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 0;
  width: 100%;
  font-size: 13px;
  line-height: 1.5;
}
.aside .hotitem span {
  color: #f16a38;
  font-weight: 800;
  margin-right: 8px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 12px;
}
.heading h1 {
  font-size: 23px;
  letter-spacing: -1px;
  margin: 0;
}
.sub {
  color: #96918b;
  font-size: 13px;
  margin-top: 5px;
}
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 18px 16px;
  scrollbar-width: none;
}
.chip {
  white-space: nowrap;
  border: 1px solid #ede9e5;
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #77716a;
}
.chip.on {
  background: #292722;
  color: #fff;
  border-color: #292722;
}
.feeditem {
  padding: 19px 22px;
  border-top: 1px solid #f0eeeb;
  cursor: pointer;
}
.feeditem:hover {
  background: #fffdfa;
}
.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #938e89;
  font-size: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #f3e9dc;
  color: #9a7459;
  border-radius: 12px;
  font-size: 17px;
  flex-shrink: 0;
}
.feeditem h2 {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.35px;
  margin: 9px 0 5px;
}
.excerpt {
  color: #716e68;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 76px;
  overflow: hidden;
}
.counts {
  display: flex;
  gap: 17px;
  margin-top: 13px;
  font-size: 12px;
  color: #9b958e;
}
.counts strong {
  color: #f16a38;
}
.tag {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 6px;
  background: #fff1e9;
  color: #d46b45;
  font-weight: 700;
}
.thumbs {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.thumbs img {
  width: 90px;
  height: 78px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid #eee;
}
.search {
  display: flex;
  margin: 0 18px 14px;
  background: #f8f7f6;
  padding: 0 12px;
  border-radius: 10px;
  align-items: center;
}
.search input {
  border: 0;
  background: transparent;
  padding: 13px 8px;
  width: 100%;
  outline: none;
  font-size: 14px;
}
.mobiletabs {
  display: none;
}
.bottom {
  display: none;
}
.detail {
  padding: 22px;
}
.back {
  border: 0;
  background: transparent;
  color: #867c74;
  padding: 0;
  font-size: 13px;
}
.detail h1 {
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.7px;
  margin: 18px 0 13px;
}
.bodycopy {
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  margin: 25px 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.gallery img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 10px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.actions button {
  background: #faf9f7;
  border: 1px solid #eee9e4;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13px;
  color: #69635e;
}
.actions button.selected {
  background: #fff0e7;
  color: #d45b35;
}
.divider {
  height: 1px;
  background: #efebe6;
  margin: 22px 0;
}
.comment {
  padding: 15px 0;
  border-bottom: 1px solid #f0eeeb;
}
.comment.reply {
  margin-left: 22px;
  padding-left: 12px;
  border-left: 2px solid #efebe7;
}
.comment p {
  margin: 9px 0;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 14px;
}
.comment button {
  border: 0;
  background: transparent;
  color: #918a83;
  padding: 3px 10px 3px 0;
  font-size: 12px;
}
.form {
  padding: 22px;
}
.form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 20px 0 7px;
}
.field {
  width: 100%;
  border: 1px solid #e9e4df;
  border-radius: 10px;
  padding: 12px 13px;
  background: #fff;
  outline-color: #ef9a78;
}
.form textarea {
  min-height: 210px;
  resize: vertical;
}
.upload {
  border: 1px dashed #e3d9d0;
  padding: 15px;
  border-radius: 10px;
  background: #fffdfa;
}
.preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.preview figure {
  position: relative;
  margin: 10px 0 0;
}
.preview img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 9px;
}
.preview button {
  position: absolute;
  top: 3px;
  right: 3px;
  border: 0;
  border-radius: 50%;
  background: #222;
  color: #fff;
}
.profile {
  padding: 22px;
}
.profilehead {
  display: flex;
  gap: 15px;
  align-items: center;
}
.profile .avatar {
  height: 58px;
  width: 58px;
  font-size: 28px;
}
.statrow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0;
  background: #faf8f6;
  border-radius: 12px;
  padding: 17px 7px;
  text-align: center;
}
.statrow strong {
  display: block;
  font-size: 19px;
}
.statrow span {
  font-size: 12px;
  color: #89837d;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  color: #9c948e;
}
.notice {
  font-size: 13px;
  background: #fff5ea;
  padding: 12px;
  border-radius: 10px;
  color: #95603d;
  line-height: 1.6;
  margin: 16px 0;
}
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b2824;
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13px;
  z-index: 100;
  box-shadow: 0 8px 30px #0002;
}
.filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.commentbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px;
}
.commentbox textarea {
  min-height: 65px;
  flex: 1;
}
.setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.badge {
  color: #2e8664;
  background: #e7f5ed;
  font-size: 11px;
  border-radius: 8px;
  padding: 5px 8px;
}
.footnote {
  font-size: 12px;
  color: #8b8580;
  line-height: 1.7;
}
.link {
  color: #e9663b;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #0008;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}
.modal {
  width: min(450px, 100%);
  background: white;
  border-radius: 16px;
  padding: 22px;
}
.modal h2 {
  margin: 0 0 12px;
}
.hidden {
  display: none !important;
}
@media (max-width: 1030px) {
  .layout {
    grid-template-columns: 175px minmax(0, 1fr);
  }
  .aside {
    display: none;
  }
}
@media (max-width: 650px) {
  body {
    background: #fff;
  }
  .layout {
    display: block;
    padding: 0;
    margin: 0;
  }
  .layout > .sidebar {
    display: none;
  }
  .panel {
    border: 0;
    border-radius: 0;
  }
  .topin {
    height: 55px;
  }
  .topnav .desktopOnly {
    display: none;
  }
  .mobiletabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 15px 12px;
    background: white;
  }
  .mobiletabs button {
    flex-shrink: 0;
  }
  .heading {
    padding: 22px 17px 10px;
  }
  .heading h1 {
    font-size: 21px;
  }
  .feeditem {
    padding: 17px;
  }
  .detail,
  .form,
  .profile {
    padding: 18px;
  }
  .bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 9px 4px max(10px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 22;
  }
  .bottom :is(button, a) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: transparent;
    border: 0;
    color: #8b8580;
    font-size: 11px;
    min-width: 54px;
  }
  .bottom :is(button, a) i {
    font-style: normal;
    font-size: 22px;
  }
  .bottom :is(button, a).on {
    color: #ed6b3d;
  }
  .layout {
    padding-bottom: 75px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .statrow {
    gap: 3px;
  }
  .statrow strong {
    font-size: 17px;
  }
  .thumbs img {
    width: 76px;
    height: 70px;
  }
}
