@font-face {
  font-family: "LINE Seed JP";
  src: url("fonts/LINESeedJP_OTF_Rg.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "LINE Seed JP";
  src: url("fonts/LINESeedJP_OTF_Bd.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --fns-bg: #101310;
  --fns-surface: #1b211c;
  --fns-raised: #283029;
  --fns-border: #354036;
  --fns-text: #f7f8f4;
  --fns-muted: #acb7aa;
  --fns-accent: #c9f65c;
  --fns-accent-hover: #dcff82;
  --fns-accent-soft: #2c3d24;
  --fns-on-accent: #17200d;
  --fns-media-bg: #0a0d0a;
  --fns-error: #e6a39b;
  --fns-like: #f05464;
}

* { box-sizing: border-box; }
html { background: var(--fns-bg); }
body.fns-body {
  margin: 0;
  background: var(--fns-bg);
  color: var(--fns-text);
  font-family: "LINE Seed JP", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.fns-body a { color: inherit; text-decoration: none; }
.fns-body button, .fns-body input, .fns-body textarea, .fns-body select { font: inherit; }
.fns-body h1, .fns-body h2, .fns-body h3, .fns-body button, .fns-body input, .fns-body textarea, .fns-body select { font-family: "LINE Seed JP", "Hiragino Sans", Meiryo, sans-serif; }
.fns-body button { cursor: pointer; }
.fns-body :focus-visible { outline: 2px solid var(--fns-accent); outline-offset: 3px; }
.fns-body h1, .fns-body h2, .fns-body h3, .fns-body p { margin-top: 0; }
.fns-body h1 { font-size: 23px; line-height: 1.35; }
.fns-body h2 { font-size: 19px; line-height: 1.4; }
.fns-body h3 { font-size: 16px; line-height: 1.45; }
.fns-muted, .fns-section-note { color: var(--fns-muted); font-size: 13px; line-height: 1.55; }
.fns-eyebrow { color: var(--fns-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.fns-sr-only, .fns-home-title { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.fns-icon { display: block; width: 23px; height: 23px; flex: 0 0 auto; }

.fns-shell { min-height: 100vh; }
.fns-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16,19,16,.96);
  border-bottom: 1px solid var(--fns-border);
  backdrop-filter: blur(16px);
}
.fns-top-inner { width: min(100%, 632px); min-height: 60px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.fns-top-inner.has-back { display: grid; grid-template-columns: 44px 1fr 44px; }
.fns-top h1 { margin: 0; text-align: right; font-size: 16px; font-weight: 650; letter-spacing: .01em; }
.fns-top-inner.has-back h1 { text-align: center; }
.fns-top-spacer { display: none; }
.fns-top-inner.has-back .fns-top-spacer { display: block; }
.fns-wordmark { display: flex; width: fit-content; align-items: center; min-height: 44px; }
.fns-wordmark img { display: block; width: 124px; height: auto; }
.fns-icon-link { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -9px; }
.fns-icon-link .fns-icon { width: 24px; height: 24px; }
.fns-main { width: min(100%, 632px); margin: 0 auto; padding: 22px 16px calc(104px + env(safe-area-inset-bottom)); }
.fns-bottom { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: rgba(16,19,16,.98); border-top: 1px solid var(--fns-border); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(16px); }
.fns-bottom-inner { width: min(100%, 632px); min-height: 65px; margin: 0 auto; display: flex; align-items: stretch; }
.fns-nav-item { width: 20%; min-height: 65px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--fns-muted) !important; font-size: 10px; font-weight: 600; line-height: 1.2; }
.fns-nav-item.is-active { color: var(--fns-accent) !important; }
.fns-nav-icon { display: grid; place-items: center; width: 30px; height: 28px; }
.fns-nav-icon .fns-icon { width: 23px; height: 23px; }
.fns-nav-create { position: relative; gap: 0; }
.fns-nav-create .fns-nav-icon {
  width: 52px;
  height: 52px;
  margin-top: -12px;
  border: 2px solid var(--fns-accent);
  border-radius: 50%;
  background: var(--fns-bg);
  box-shadow: 0 0 0 5px var(--fns-bg);
  color: var(--fns-accent);
  transition: background-color .15s ease, transform .15s ease;
}
.fns-nav-create .fns-nav-icon .fns-icon { width: 26px; height: 26px; }
.fns-nav-create > span:last-child { margin-top: 4px; }
.fns-nav-create:hover .fns-nav-icon, .fns-nav-create:focus-visible .fns-nav-icon { background: var(--fns-accent-soft); transform: translateY(-2px); }
.fns-nav-create.is-active .fns-nav-icon { background: var(--fns-accent); color: var(--fns-on-accent); }
.fns-nav-item:hover { color: var(--fns-text) !important; }

.fns-card { display: block; background: var(--fns-surface); border: 1px solid var(--fns-border); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.fns-card h2 { margin-bottom: 14px; }
.fns-section { margin-top: 30px; }
.fns-section > h2, .fns-section-heading h2 { font-size: 17px; font-weight: 650; margin-bottom: 14px; }
.fns-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.fns-section-heading h2 { margin: 0; }
.fns-alert { background: #382d2c; color: #ffd9d3; border: 1px solid #805650; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.fns-empty { padding: 60px 16px; text-align: center; border-bottom: 1px solid var(--fns-border); }
.fns-empty h2 { margin-bottom: 8px; font-size: 18px; }
.fns-empty p { color: var(--fns-muted); }
.fns-empty .fns-button { margin-top: 8px; }
.fns-more { display: block; text-align: center; padding: 18px; color: var(--fns-accent) !important; font-size: 14px; }

.fns-body label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 18px; }
.fns-body input:not([type="hidden"]):not([type="file"]), .fns-body textarea, .fns-body select {
  width: 100%; min-height: 48px; display: block; margin-top: 7px;
  background: var(--fns-surface); color: var(--fns-text);
  border: 1px solid var(--fns-border); border-radius: 10px;
  padding: 11px 13px; outline: none;
}
.fns-body input:focus, .fns-body textarea:focus, .fns-body select:focus { border-color: var(--fns-accent); }
.fns-body input::placeholder, .fns-body textarea::placeholder { color: var(--fns-muted); opacity: .82; }
.fns-body textarea { resize: vertical; line-height: 1.65; }
.fns-body input[type="file"] { width: 100%; display: block; margin-top: 8px; color: var(--fns-muted); font-size: 13px; }
.fns-body input[type="file"]::file-selector-button { border: 1px solid var(--fns-border); border-radius: 9px; background: var(--fns-raised); color: var(--fns-text); padding: 9px 12px; margin-right: 8px; cursor: pointer; }
.fns-body .fns-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 650; line-height: 1.4; text-align: center; }
.fns-body .fns-button.fns-primary { background: var(--fns-accent); color: var(--fns-on-accent) !important; }
.fns-body .fns-button.fns-primary:hover { background: var(--fns-accent-hover); }
.fns-body .fns-secondary { background: transparent; border-color: var(--fns-border); color: var(--fns-text) !important; }
.fns-secondary:hover { background: var(--fns-raised); }
.fns-text-button { border: 0; background: transparent; color: var(--fns-muted); padding: 10px 12px; min-height: 44px; }
.fns-badge { background: var(--fns-accent-soft); color: var(--fns-accent); border-radius: 8px; font-size: 12px; padding: 5px 8px; }

.fns-auth { min-height: 100dvh; max-width: 430px; margin: 0 auto; padding: clamp(56px, 8vh, 90px) 24px 40px; }
.fns-auth-brand { display: flex; align-items: center; justify-content: center; min-height: 190px; margin: 0 auto 38px; padding: 30px 20px; border-radius: 22px; background: var(--fns-accent); box-shadow: 0 18px 42px rgba(0,0,0,.24); text-align: center; }
.fns-auth-brand img { display: block; width: min(100%, 300px); height: auto; margin: 0 auto; filter: brightness(0); }
.fns-auth-card { padding: 0; }
.fns-auth-card .fns-eyebrow { margin-bottom: 9px; color: var(--fns-accent); font-size: 11px; letter-spacing: .11em; }
.fns-body .fns-auth-card h1 { margin-bottom: 26px; font-size: 29px; font-weight: 700; line-height: 1.32; letter-spacing: -.02em; }
.fns-body .fns-auth-card input:not([type="hidden"]):not([type="file"]) { background: var(--fns-surface); color: var(--fns-text); border-color: var(--fns-border); }
.fns-auth-card .fns-button { width: 100%; margin-top: 8px; }
.fns-muted-link { display: inline-block; color: var(--fns-muted) !important; font-size: 13px; margin-top: 24px; }

.fns-avatar { width: 42px; height: 42px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 50%; background: var(--fns-raised); border: 1px solid var(--fns-border); color: var(--fns-text); font-size: 16px; font-weight: 700; object-fit: cover; }
.fns-avatar.is-large { width: 86px; height: 86px; font-size: 31px; }
.fns-post-card { padding: 18px 0 19px; margin: 0; border-bottom: 1px solid var(--fns-border); }
.fns-post-card:first-of-type { padding-top: 0; }
.fns-post-author { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.fns-post-author strong { display: block; font-size: 14px; font-weight: 650; line-height: 1.4; }
.fns-post-author time { display: block; margin-top: 2px; font-size: 11px; color: var(--fns-muted); line-height: 1.3; }
.fns-post-text { font-size: 15px; line-height: 1.72; overflow-wrap: anywhere; margin-bottom: 14px; }
.fns-post-caption { margin: 1px 0 12px; }
.fns-post-caption strong { font-weight: 700; margin-right: 4px; }
.fns-post-location { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 32px; margin: 0 0 11px; color: var(--fns-muted) !important; font-size: 12px; line-height: 1.4; }
.fns-post-location .fns-icon { width: 16px; height: 16px; color: var(--fns-accent); }
.fns-location-name { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fns-text); font-weight: 700; }
.fns-post-location span:last-child { color: var(--fns-accent); }
.fns-post-location:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.fns-carousel { position: relative; margin: 14px 0 8px; }
.fns-carousel-track { display: flex; overflow-x: auto; border-radius: 14px; background: var(--fns-media-bg); scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
.fns-carousel-track::-webkit-scrollbar { display: none; }
.fns-carousel-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; background: var(--fns-media-bg); }
.fns-carousel-slide img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.fns-carousel.has-multiple .fns-carousel-slide img { aspect-ratio: 1; max-height: none; object-fit: contain; }
.fns-carousel-count { position: absolute; top: 12px; right: 12px; padding: 4px 8px; border-radius: 8px; background: rgba(0,0,0,.58); color: #fff; font-size: 11px; line-height: 1.3; pointer-events: none; }
.fns-body .fns-carousel-prev, .fns-body .fns-carousel-next { position: absolute; top: calc(50% - 14px); display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; }
.fns-carousel-prev { left: 9px; }
.fns-carousel-next { right: 9px; }
.fns-body .fns-carousel-prev:disabled, .fns-body .fns-carousel-next:disabled { opacity: 0; pointer-events: none; }
.fns-carousel-prev .fns-icon, .fns-carousel-next .fns-icon { width: 18px; height: 18px; }
.fns-carousel-dots { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 26px; }
.fns-body .fns-carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #647068; }
.fns-body .fns-carousel-dots button.is-active { background: var(--fns-accent); }
.fns-actions { display: flex; align-items: center; gap: 4px; margin: 0 0 2px -8px; }
.fns-actions form { margin: 0; }
.fns-body .fns-actions .fns-action { display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; min-height: 44px; min-width: 56px; padding: 0 7px; border: 0; background: none; color: var(--fns-muted); font-size: 13px; line-height: 1; vertical-align: middle; }
.fns-action:hover { color: var(--fns-text); }
.fns-action .fns-icon { width: 21px; height: 21px; }
.fns-body .fns-actions .fns-action span { display: inline-block; line-height: 1; }
.fns-body button.fns-like { border: 0; background: transparent; box-shadow: none; color: var(--fns-text); -webkit-tap-highlight-color: transparent; }
.fns-body button.fns-like.is-active { color: var(--fns-like); }
.fns-body button.fns-like:focus-visible { outline-color: var(--fns-muted); border-radius: 8px; }
.fns-body button.fns-like:disabled { opacity: 1; }
.fns-like.is-popping .fns-icon { animation: fns-heart-pop .32s ease-out; }
@keyframes fns-heart-pop { 0% { transform: scale(1); } 45% { transform: scale(1.18); } 100% { transform: scale(1); } }
.fns-comments { font-size: 13px; line-height: 1.55; }
.fns-comments p { margin: 0 0 7px; overflow-wrap: anywhere; }
.fns-comments strong { margin-right: 5px; font-weight: 650; }
.fns-comment-form { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.fns-comment-form input { margin: 0 !important; min-height: 42px !important; background: transparent !important; border-radius: 9px !important; font-size: 13px !important; }
.fns-comment-form button { min-height: 44px; border: 0; background: none; color: var(--fns-accent); font-size: 13px; font-weight: 650; padding: 0 5px; }
.fns-compose { padding: 2px 0 20px; background: transparent; border: 0; border-radius: 0; }
.fns-compose textarea { min-height: 200px; border: 0 !important; background: transparent !important; padding: 8px 0 !important; font-size: 16px; }
.fns-compose .fns-button, .fns-profile-form .fns-button, .fns-event-form .fns-button { width: 100%; }
.fns-upload { position: relative; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; border-top: 1px solid var(--fns-border); border-bottom: 1px solid var(--fns-border); margin-bottom: 16px !important; cursor: pointer; }
.fns-upload-label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.fns-upload-label .fns-icon { color: var(--fns-accent); width: 21px; height: 21px; }
.fns-upload-hint { color: var(--fns-muted); font-size: 12px; font-weight: 400; }
.fns-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fns-upload:focus-within { outline: 2px solid var(--fns-accent); outline-offset: 3px; }
.fns-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; color: var(--fns-error); font-size: 13px; }
.fns-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.fns-compose-location { margin: 15px 0 19px; }
.fns-body .fns-location-trigger { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 9px 0; border: 0; border-top: 1px solid var(--fns-border); border-bottom: 1px solid var(--fns-border); border-radius: 0; background: transparent; color: var(--fns-text); text-align: left; font-size: 14px; font-weight: 700; }
.fns-location-trigger .fns-icon { width: 21px; height: 21px; color: var(--fns-accent); }
.fns-location-trigger small { margin-left: auto; color: var(--fns-muted); font-size: 12px; font-weight: 400; }
.fns-location-status { margin: 8px 0 0; color: var(--fns-muted); font-size: 12px; line-height: 1.5; }
.fns-location-status:empty { display: none; }
.fns-location-status.is-error { color: var(--fns-error); }
.fns-location-trigger[hidden], .fns-location-panel[hidden], .fns-location-confirm[hidden] { display: none !important; }
.fns-location-panel { margin-top: 11px; padding: 15px; border: 1px solid var(--fns-border); border-radius: 12px; background: var(--fns-surface); }
.fns-location-panel > strong { display: block; font-size: 14px; }
.fns-location-coordinates { margin: 4px 0 3px; color: var(--fns-muted); font-size: 12px; overflow-wrap: anywhere; }
.fns-location-preview-map { display: inline-block; color: var(--fns-accent) !important; font-size: 12px; }
.fns-location-panel label { margin: 15px 0 12px; }
.fns-body .fns-location-panel input[name="location_name"] { background: var(--fns-bg); color: var(--fns-text); border-color: var(--fns-border); }
.fns-location-actions { display: flex; gap: 9px; }
.fns-body .fns-location-actions button { min-height: 44px; padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.fns-body .fns-location-confirm { background: var(--fns-accent); color: var(--fns-on-accent); border: 1px solid var(--fns-accent); }
.fns-body .fns-location-remove { background: transparent; color: var(--fns-text); border: 1px solid var(--fns-border); }

.fns-member-list { border-top: 1px solid var(--fns-border); }
.fns-member-card { display: flex; align-items: center; gap: 12px; min-height: 75px; padding: 12px 3px; border-bottom: 1px solid var(--fns-border); }
.fns-member-card span:nth-child(2) { flex: 1; }
.fns-member-card strong, .fns-member-card small { display: block; }
.fns-member-card strong { font-size: 14px; font-weight: 650; }
.fns-member-card small { color: var(--fns-muted); font-size: 12px; margin-top: 2px; }
.fns-member-card > .fns-icon { color: var(--fns-muted); width: 18px; height: 18px; }
.fns-profile-head { padding: 10px 0 24px; background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid var(--fns-border); }
.fns-profile-head h2 { margin: 13px 0 8px; font-size: 24px; }
.fns-profile-head p { max-width: 52ch; margin-bottom: 12px; overflow-wrap: anywhere; }
.fns-profile-head .fns-button { margin-top: 6px; }
.fns-profile-photo { text-align: center; margin-bottom: 18px; }
.fns-birthday-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.fns-birthday-fields label:last-child { grid-column: 1 / -1; }
.fns-invite-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.fns-invite-row small { display: block; color: var(--fns-muted); }
.fns-invite-row form { margin: 0; }
.fns-invite-row .fns-text-button { color: var(--fns-error); }

.fns-calendar { padding: 15px 12px; }
.fns-calendar-header { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 12px; }
.fns-calendar-header h2 { font-size: 17px; margin: 0; }
.fns-calendar-header a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--fns-text); font-size: 27px; }
.fns-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; gap: 3px; }
.fns-weekday { color: var(--fns-muted); font-size: 11px; padding-bottom: 8px; }
.fns-day { min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; border-radius: 9px; }
.fns-day.has-event { background: var(--fns-accent-soft); color: var(--fns-accent); font-weight: 700; }
.fns-day i { width: 4px; height: 4px; margin-top: 2px; border-radius: 50%; background: currentColor; }
.fns-calendar-list { margin-top: 20px; border-top: 1px solid var(--fns-border); padding: 16px 4px 0; }
.fns-calendar-list h3 { margin-bottom: 9px; }
.fns-calendar-list a { display: flex; gap: 12px; border-bottom: 1px solid var(--fns-border); padding: 10px 0; font-size: 14px; }
.fns-calendar-list time { color: var(--fns-accent); width: 44px; flex: 0 0 auto; }
.fns-event-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 14px 2px; border-bottom: 1px solid var(--fns-border); }
.fns-event-card time { grid-column: 1; color: var(--fns-muted); font-size: 12px; }
.fns-event-card strong { grid-column: 1; font-size: 15px; font-weight: 650; }
.fns-event-card > .fns-icon { grid-column: 2; grid-row: 1 / 3; color: var(--fns-muted); width: 18px; height: 18px; }
.fns-event-detail { padding: 23px 20px; }
.fns-event-time { color: var(--fns-muted); font-size: 14px; }
.fns-rsvp-count { border-top: 1px solid var(--fns-border); padding: 16px 0 10px; color: var(--fns-muted); font-size: 13px; }
.fns-rsvp { display: flex; flex-wrap: wrap; gap: 8px; }
.fns-rsvp .fns-button { flex: 1; min-width: 130px; }
.fns-rsvp .fns-text-button { width: 100%; }

@media (min-width: 760px) {
  .fns-main { padding-top: 28px; }
  .fns-card { padding: 20px; }
  .fns-compose { padding: 2px 0 20px; }
  .fns-post-card { padding-top: 22px; padding-bottom: 23px; }
  .fns-profile-head { padding: 10px 0 26px; }
}
@media (max-width: 380px) {
  .fns-nav-item { font-size: 9px; }
  .fns-upload-hint { font-size: 11px; }
}
@media (prefers-reduced-motion: no-preference) {
  .fns-button, .fns-nav-item, .fns-action { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .fns-like.is-popping .fns-icon { animation: none; }
}
