@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
  font-family: 'DM Sans', 'Noto Sans KR', sans-serif;
  color: #eef4e8;
  background: #14201d;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(ellipse at 7% 7%, #334b3a 0, transparent 33%), radial-gradient(ellipse at 97% 25%, #184339 0, transparent 31%), radial-gradient(ellipse at 80% 98%, #442a23 0, transparent 34%), #14201d; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(100% - 32px, 510px); margin: 0 auto; padding: 34px 0 22px; }
.profile-card { position: relative; overflow: hidden; padding: 0 30px 21px; border: 1px solid rgba(196, 224, 184, .16); border-radius: 29px; background: rgba(29, 42, 37, .97); box-shadow: 0 24px 70px rgba(0, 0, 0, .32); }
.profile-card::before { position: absolute; z-index: 1; top: 0; right: 0; left: 0; height: 6px; background: linear-gradient(90deg, #b7df4a 0%, #51c6a0 52%, #ff9a5c 100%); content: ''; }
.profile-card::after { position: absolute; top: 103px; right: -60px; width: 125px; height: 125px; border: 1px solid rgba(170, 218, 141, .18); border-radius: 50%; box-shadow: 0 0 0 12px rgba(170, 218, 141, .045), 0 0 0 25px rgba(170, 218, 141, .03); content: ''; pointer-events: none; }
.topline { display: flex; align-items: center; justify-content: space-between; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px; background: #c8ec62; color: #29472b; font-size: 20px; font-weight: 800; letter-spacing: -2px; box-shadow: 0 4px 12px #77a83130; }
.availability { display: flex; align-items: center; gap: 7px; color: #d1ddcf; font-size: 11px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #40b86d; box-shadow: 0 0 0 3px #e2f4df; }
.hero-photo { position: relative; display: flex; min-height: 300px; align-items: flex-end; margin: 6px -30px 0; overflow: hidden; background-color: #b74745; background-image: linear-gradient(90deg, rgba(26, 21, 26, .62) 0%, rgba(26, 21, 26, .30) 49%, rgba(26, 21, 26, .04) 100%), linear-gradient(0deg, rgba(20, 17, 22, .42), transparent 60%), url('./123.png'); background-position: center, center, center 48%; background-size: cover; }
.hero-photo::after { position: absolute; inset: 0; border-bottom: 1px solid rgba(25, 54, 35, .14); background: linear-gradient(115deg, rgba(191, 230, 91, .08), transparent 52%); content: ''; pointer-events: none; }
.hero-photo-content { position: relative; z-index: 1; display: flex; width: 100%; min-height: 300px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 37px 31px 23px; color: #fff; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-shadow: 0 1px 8px #14251f80; }
.hero-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #c3ed54; box-shadow: 0 0 0 4px #d0f17335; }
.hero-caption { margin-top: auto; padding: 30px 0 18px; font-size: clamp(23px, 6vw, 30px); font-weight: 500; letter-spacing: -1px; line-height: 1.4; text-shadow: 0 2px 12px #14251f80; }
.hero-caption strong { color: #d5f17e; font-weight: 800; }
.hero-photo-credit { align-self: flex-end; color: #ffffffd0; font-size: 8px; letter-spacing: .8px; text-shadow: 0 1px 5px #14251f; }
.hero-photo-credit a { text-decoration: underline; text-underline-offset: 2px; }
.hero-photo-credit a:hover { color: #d5f17e; }
.profile-header { padding: 28px 0 20px; text-align: center; }
.eyebrow { margin: 0 0 9px; color: #a7dc91; font-size: 9px; font-weight: 800; letter-spacing: 2px; }
h1 { margin: 0; color: #f5f7ee; font-size: clamp(28px, 8vw, 36px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.38; }
h1 > span:first-child { color: #c7ef80; }
.wave { display: inline-block; font-size: 23px; vertical-align: 5px; }
.profile-role { margin: 9px 0 0; color: #d0ddd1; font-size: 13px; }
.profile-role strong { color: #b8e886; font-weight: 800; }
.intro { margin: 16px 0 0; color: #c2d0c4; font-size: 12px; line-height: 1.9; }
.links { display: grid; gap: 11px; }
.link-card { display: flex; min-height: 70px; align-items: center; gap: 13px; padding: 12px 14px; border: 1px solid #42534a; border-radius: 17px; background: #26352f; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.link-card:hover { transform: translateY(-3px) rotate(-.3deg); border-color: #a9d664; box-shadow: 0 9px 22px #0005; }
.link-primary { border-color: #8dad55; background: linear-gradient(105deg, #354833, #283832 80%); }
.link-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 14px; background: #e4ecdf; color: #587358; font-size: 19px; font-weight: 700; }
.running-icon { background: #d9f1a2; color: #337a45; }
.hiking-icon { background: #d9efe4; color: #397b65; }
.instagram-icon { background: linear-gradient(140deg, #f7d978, #ec8b68 48%, #bd5b91 78%, #7058af); color: #fff; }
.link-icon svg { display: block; width: 23px; height: 23px; fill: currentColor; }
.hiking-icon .snowcap { fill: #fff; }
.hiking-icon .trail { fill: none; stroke: #e9eee2; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.instagram-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.instagram-icon .instagram-flash { fill: currentColor; stroke: none; }
.notion { border: 1px solid #ece9e1; background: #faf9f5; color: #333; font-family: Georgia, serif; font-size: 18px; }
.linkedin { background: #e5eef4; color: #4d7590; font-size: 15px; }
.link-copy { display: grid; min-width: 0; gap: 3px; }
.link-copy strong { overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.menu-badge { display: inline-block; margin-left: 4px; padding: 3px 5px; border-radius: 5px; background: #41513a; color: #c3e589; font-size: 7px; letter-spacing: .7px; vertical-align: 1px; }
.link-copy small { color: #b7c4b8; font-size: 10px; }
.link-arrow { margin-left: auto; color: #b8dc8c; font-size: 17px; transition: transform .2s ease; }
.link-card:hover .link-arrow { transform: translate(2px, -2px); }
.board-section { margin-top: 26px; padding: 20px 18px 18px; border: 1px solid #42534a; border-radius: 20px; background: linear-gradient(145deg, #26372f, #202e29); }
.board-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.board-eyebrow { margin: 0 0 5px; color: #a5d97b; font-size: 8px; font-weight: 800; letter-spacing: 1.8px; }
.board-heading h2 { margin: 0; color: #f2f6ed; font-size: 19px; letter-spacing: -.6px; }
.board-count { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #51664f; border-radius: 20px; color: #c6d8b4; font-size: 9px; }
.post-form { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 13px; border: 1px solid #42534a; border-radius: 15px; background: #1d2a25; }
.form-field { display: grid; min-width: 0; gap: 5px; }
.form-field > span { color: #aebfae; font-size: 9px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea, .comment-form input { width: 100%; min-width: 0; border: 1px solid #46584d; border-radius: 9px; outline: none; background: #26352f; color: #eff5ea; font: inherit; font-size: 11px; }
.form-field input, .form-field select { height: 37px; padding: 0 10px; }
.form-field textarea { min-height: 72px; resize: vertical; padding: 9px 10px; line-height: 1.55; }
.form-field input::placeholder, .form-field textarea::placeholder, .comment-form input::placeholder { color: #889b8b; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .comment-form input:focus { border-color: #a7d66f; box-shadow: 0 0 0 2px #a7d66f24; }
.post-title-field, .post-content-field { grid-column: 1 / -1; }
.post-submit { grid-column: 1 / -1; justify-self: end; padding: 9px 13px; border: 0; border-radius: 10px; background: #c6eb69; color: #24352a; cursor: pointer; font-size: 10px; font-weight: 800; }
.post-submit:hover { background: #d8f58b; }
.post-submit:disabled, .comment-form button:disabled { cursor: wait; opacity: .6; }
.board-status { min-height: 15px; margin: 8px 2px; color: #bbd99a; font-size: 10px; }
.board-status.is-error { color: #ffb5a6; }
.post-list { display: grid; gap: 10px; }
.empty-posts { margin: 0; padding: 20px 8px; color: #aebdaf; font-size: 11px; text-align: center; }
.post-card { padding: 14px; border: 1px solid #42534a; border-radius: 14px; background: #1d2a25; }
.post-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.category-badge { padding: 4px 8px; border-radius: 20px; font-size: 9px; font-weight: 800; }
.category-greeting { background: #3b4d35; color: #d1ec9b; }
.category-meetup { background: #493b30; color: #ffd0a5; }
.post-card-header time, .comment-item time { color: #8fa093; font-size: 9px; }
.post-card-title { margin: 10px 0 4px; color: #f1f5ec; font-size: 14px; overflow-wrap: anywhere; }
.post-author { margin: 0; color: #b0c0b1; font-size: 10px; }
.post-content { margin: 10px 0 12px; color: #d5e0d3; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-list { display: grid; gap: 7px; padding-top: 10px; border-top: 1px solid #3b4a41; }
.comment-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 7px; margin: 0; color: #cdd9cb; font-size: 10px; }
.comment-item strong { color: #c4e58f; }
.comment-item span { overflow-wrap: anywhere; }
.comment-form { display: grid; grid-template-columns: minmax(55px, .7fr) minmax(0, 2fr) auto; gap: 6px; margin-top: 10px; }
.comment-form input { height: 34px; padding: 0 9px; font-size: 10px; }
.comment-form button { padding: 0 10px; border: 0; border-radius: 9px; background: #42563d; color: #daf2b4; cursor: pointer; font-size: 10px; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.interests { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 20px 0 18px; }
.interests > span { color: #c1d0c0; font-size: 10px; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { padding: 6px 9px; border: 1px solid #465747; border-radius: 20px; background: #2d3c32; color: #c7dcb2; font-size: 9px; font-weight: 600; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid #405047; }
.share-button { padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: #c3d7b7; cursor: pointer; font-size: 10px; transition: background .18s ease; }
.share-button:hover { background: #34463b; }
.card-footer p { margin: 0; color: #a6b4a7; font-size: 9px; }
.card-footer p span { color: #d49483; }
.page-note { margin: 15px 0 0; color: #bdcfb5; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-align: center; }
.page-note span { color: #f09353; }
.toast { position: fixed; right: 16px; bottom: 22px; left: 16px; z-index: 2; width: fit-content; max-width: calc(100vw - 32px); margin: 0 auto; padding: 11px 16px; transform: translateY(12px); border-radius: 12px; background: #eaf2df; color: #24352c; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 400px) {
  .page-shell { width: min(100% - 22px, 510px); padding-top: 15px; }
  .profile-card { padding: 0 19px 17px; border-radius: 24px; }
  .availability { font-size: 10px; }
  .hero-photo { min-height: 255px; margin-right: -19px; margin-left: -19px; background-position: center, center, 57% center; }
  .hero-photo-content { min-height: 255px; padding: 31px 20px 19px; }
  .profile-header { padding-top: 23px; }
  .link-card { min-height: 62px; gap: 10px; padding-right: 11px; padding-left: 11px; }
  .board-section { padding: 16px 12px 14px; }
  .post-form { grid-template-columns: 90px minmax(0, 1fr); gap: 8px; padding: 10px; }
  .comment-form { grid-template-columns: minmax(55px, .7fr) minmax(0, 1.8fr) auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}