body.clothes-page .card-photo-status {
  margin: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 2px 8px rgba(11, 30, 48, .16);
}
body.clothes-page .card-photo-status:hover,
body.clothes-page .card-photo-status:focus {
  color: #203f58;
}
body.clothes-page .card-photo-status:active {
  transform: translateY(-1px) scale(.97);
}
body.clothes-page .card-photo-status:focus-visible {
  outline: 2px solid rgba(39, 111, 180, .35);
  outline-offset: 2px;
}
body.clothes-page .status-overlay-form {
  position: absolute;
  right: 0;
  top: 2.2rem;
  z-index: 40;
  background: #fff;
  border: 1px solid #b1c4d4;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(14,36,55,.13);
  padding: 1rem 1.2rem;
  min-width: 180px;
}
* { box-sizing: border-box; }

:root {
  --font-main: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
}

.site-header {
  position: fixed;
  top: .75rem;
  left: 1rem;
  right: 1rem;
  z-index: 1000;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(14, 33, 49, .42);
  backdrop-filter: blur(12px);
  box-shadow: 0 7px 9px rgba(9, 24, 37, 0.12)
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .46rem;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 1.05rem;
  color: #f5fbff;
  text-decoration: none;
  margin-left: 14px;
}

.brand-logo {
  width: 1.16rem;
  height: 1.16rem;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .98;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(120deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  color: #fff;
  font-weight: 700;
  font-size: .83rem;
  padding: .42rem .8rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(221, 42, 123, .3);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
  color: #ecf7ff;
  cursor: pointer;
  overflow: hidden;
  transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(8, 24, 36, .16);
}

.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ecf7ff;
  transform-origin: center;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, top .32s cubic-bezier(.22, 1, .36, 1), background .28s ease;
}

.menu-toggle-lines span:nth-child(1) {
  top: 0;
}

.menu-toggle-lines span:nth-child(2) {
  top: 6px;
}

.menu-toggle-lines span:nth-child(3) {
  top: 12px;
}

.menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 12px 24px rgba(8, 24, 36, .2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  gap: .5rem;
}

.nav a {
  text-decoration: none;
  color: #ecf7ff;
  font-weight: 700;
  font-size: .92rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
}

.nav a.active {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(255, 255, 255, .95);
  color: #12263a;
}

@media (max-width: 940px) {
  .site-header {
    top: .5rem;
    left: .5rem;
    right: .5rem;
    width: calc(100% - 1rem);
    padding: .62rem .75rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .insta-link {
    font-size: .78rem;
    padding: .42rem .68rem;
  }

  .nav {
    position: absolute;
    top: calc(100% + .55rem);
    right: .3rem;
    left: .3rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .55rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(12, 30, 45, .9);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(.96);
    transform-origin: top center;
    transition: opacity .28s ease, transform .34s cubic-bezier(.22, 1, .36, 1), visibility .28s ease;
    box-shadow: 0 22px 36px rgba(7, 20, 32, .24);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav a {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .24s ease, transform .28s cubic-bezier(.22, 1, .36, 1), background .22s ease;
    margin: 4px 0
  }

  .nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.is-open a:nth-child(1) {
    transition-delay: .04s;
  }

  .nav.is-open a:nth-child(2) {
    transition-delay: .08s;
  }

  .nav.is-open a:nth-child(3) {
    transition-delay: .12s;
  }
}

/* Home page */
body.home-page {
  color: #132232;
  background:
    radial-gradient(circle at 8% 2%, #ddf8f1 0, transparent 28%),
    radial-gradient(circle at 95% 1%, #ffe9c9 0, transparent 32%),
    radial-gradient(circle at 60% 100%, #e5f1ff 0, transparent 38%),
    #f5f7fb;
  min-height: 100vh;
}

body.home-page .wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4rem;
}

body.home-page .site-header {
  width: min(1120px, calc(100% - 2rem));
}

body.home-page .hero {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 55px rgba(8, 31, 52, .18);
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(8, 44, 56, .82) 0%, rgba(8, 44, 56, .3) 44%, rgba(8, 44, 56, .75) 100%),
    url('../../img/kodomohukuimage.png') center / cover no-repeat;
  animation: fadein .75s ease;
}

body.home-page .hero::before {
  content: '';
  position: absolute;
  inset: auto -70px -80px auto;
  width: 280px;
  height: 280px;
  border-radius: 40% 60% 53% 47% / 47% 40% 60% 53%;
  background: rgba(255, 178, 71, .22);
  filter: blur(1px);
  z-index: 0;
}

body.home-page .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 24, 34, .06) 0%, rgba(11, 24, 34, .58) 60%, rgba(11, 24, 34, .82) 100%);
  z-index: 0;
}

body.home-page .hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2rem));
  margin: 80px auto 10px;
  padding: 2.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: center;
}

body.home-page .copy h1 {
  margin: 0;
  color: #fff;
  line-height: 1.35;
  font-size: clamp(2rem, 9vw, 3.4rem);
  letter-spacing: .04em;
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(6, 18, 28, .35);
}

body.home-page .hero-icon {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
}

body.home-page .copy p {
  width: 100%;
  margin: .95rem 0 0;
  color: #eaf9ff;
  line-height: 1.95;
  font-weight: 500;
  text-shadow: 0 6px 22px rgba(5, 17, 27, .35);
}

body.home-page .cta-panel {
  width: min(560px, 100%);
  padding: 1rem;
}

body.home-page .cta-panel p {
  margin: 0 0 .85rem;
  color: #ffffff;
  line-height: 1.7;
  font-size: 14px;
  text-align: center;
}

body.home-page .cta-bubble {
  position: relative;
  display: inline-block;
  margin: 0 auto .95rem;
  padding: .58rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .22);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: 0 8px 24px rgba(7, 27, 41, .24);
  backdrop-filter: blur(4px);
}

body.home-page .cta-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  border-width: 10px 9px 0 9px;
  border-style: solid;
  border-color: rgba(255, 255, 255, .35) transparent transparent transparent;
}

body.home-page .cta-link {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  padding: .95rem 1rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
  background: linear-gradient(90deg, #0f8677 0%, #17b39f 55%, #ffb247 100%);
  box-shadow: 0 12px 30px rgba(10, 120, 118, .38);
  transition: transform .18s ease, filter .2s ease;
}

body.home-page .cta-link:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.03);
}

body.home-page .howto-highlight {
  position: relative;
  margin: 1.35rem 0 1.2rem;
  padding: 1.3rem 1.1rem 1.2rem;
  border-radius: 28px;
  border: 1px solid #d8e4f0;
  background:
    radial-gradient(circle at 8% 0, rgba(255, 182, 75, .26), transparent 34%),
    radial-gradient(circle at 96% 100%, rgba(17, 163, 110, .2), transparent 38%),
    linear-gradient(130deg, #fbfdff 0%, #f4f8fc 56%, #eef5fa 100%);
  box-shadow: 0 18px 46px rgba(14, 36, 58, .09);
  overflow: hidden;
  isolation: isolate;
}

body.home-page .howto-highlight::before,
body.home-page .howto-highlight::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

body.home-page .howto-highlight::before {
  width: 170px;
  height: 170px;
  right: -52px;
  top: -56px;
  background: rgba(22, 154, 145, .12);
  border-radius: 38% 62% 57% 43% / 44% 38% 62% 56%;
}

body.home-page .howto-highlight::after {
  width: 156px;
  height: 156px;
  left: -52px;
  bottom: -68px;
  background: rgba(255, 178, 71, .12);
  border-radius: 64% 36% 42% 58% / 52% 57% 43% 48%;
}

body.home-page .howto-heading,
body.home-page .howto-grid {
  position: relative;
  z-index: 1;
}

body.home-page .howto-heading {
  text-align: center;
  margin-bottom: 1rem;
}

body.home-page .howto-kicker {
  margin: 0;
  color: #0f8776;
  font-size: .74rem;
  letter-spacing: .2em;
  font-weight: 900;
}

body.home-page .howto-heading h2 {
  margin: .35rem 0 .5rem;
  color: #17324a;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  letter-spacing: .04em;
}

body.home-page .howto-heading > p {
  margin: 0 auto;
  max-width: 50ch;
  color: #3f566b;
  line-height: 1.8;
  font-size: .95rem;
}

body.home-page .howto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

body.home-page .howto-card {
  border-radius: 18px;
  border: 1px solid #d6e1ec;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 28px rgba(14, 34, 53, .08);
  padding: .95rem 1rem;
}

body.home-page .howto-card h3 {
  margin: 0;
  color: #17324a;
  font-size: 1rem;
}

body.home-page .howto-card p {
  margin: .45rem 0 0;
  color: #496075;
  line-height: 1.72;
  font-size: .9rem;
}

body.home-page .howto-card-flow {
  background: linear-gradient(150deg, rgba(17, 163, 110, .1) 0%, rgba(255, 255, 255, .95) 56%);
}

body.home-page .howto-flow {
  margin: .65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .48rem;
}

body.home-page .howto-flow li {
  position: relative;
  padding: .56rem .65rem .56rem 2.3rem;
  border-radius: 12px;
  border: 1px solid #d3e4e8;
  background: rgba(255, 255, 255, .85);
  color: #365164;
  line-height: 1.55;
  font-size: .87rem;
}

body.home-page .howto-flow li::before {
  counter-increment: dm-step;
  content: counter(dm-step);
  position: absolute;
  left: .65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.22rem;
  height: 1.22rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  background: linear-gradient(135deg, #109778 0%, #18b4a0 100%);
  box-shadow: 0 5px 14px rgba(16, 151, 120, .3);
}

body.home-page .howto-flow {
  counter-reset: dm-step;
}

body.home-page .howto-card-deadline {
  background: linear-gradient(150deg, rgba(255, 178, 71, .14) 0%, rgba(255, 255, 255, .95) 64%);
}

body.home-page .intro-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

body.home-page .intro-card {
  border-radius: 18px;
  border: 1px solid #d7e1ec;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 33, 49, .08);
  padding: 1rem;
  animation: rise .65s ease;
}

body.home-page .intro-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

body.home-page .intro-card p {
  margin: .5rem 0 0;
  color: #495b6c;
  line-height: 1.75;
  font-size: .92rem;
}

/* Clothes and activity common */
body.clothes-page,
body.activity-page {
  color: #12212f;
  background:
    radial-gradient(circle at 10% 5%, #dff8f2 0, transparent 35%),
    radial-gradient(circle at 90% 0%, #ffe9c5 0, transparent 30%),
    #f6f7fb;
  padding-top: 92px;
}

body.clothes-page {
  padding-top: 0;
}

body.clothes-page .wrap,
body.activity-page .wrap {
  width: min(1120px, calc(100% - 2rem));
  padding: 0 0 4rem;
}

body.clothes-page .wrap {
  margin: 0 auto;
}

body.activity-page .wrap {
  margin: 0 auto;
}

body.clothes-page .hero,
body.activity-page .hero {
  padding: 2.5rem;
  border-radius: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 38, 59, 0.1);
  animation: rise .7s ease;
}

body.clothes-page .hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
  letter-spacing: .08em;
  font-weight: 900;
}

body.clothes-page .hero p,
body.activity-page .hero p {
  max-width: 55ch;
  line-height: 1.9;
  color: #ecfffe;
}

/* Clothes page */
body.clothes-page .hero {
  background:
    linear-gradient(135deg, rgba(8, 74, 77, 0.94) 0%, rgba(11, 106, 120, 0.9) 46%, rgba(25, 173, 171, 0.88) 100%),
    url('../../img/kodomohukuimage2.png') center / cover no-repeat;
}

body.clothes-page .hero::before {
  content: '';
  position: absolute;
  inset: auto auto -115px -40px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
}

body.clothes-page .hero::after {
  content: '';
  position: absolute;
  inset: -55px -50px auto auto;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, .1);
  border-radius: 36% 64% 58% 42% / 45% 44% 56% 55%;
}

body.clothes-page .hero-layout {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 1.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

body.clothes-page .hero-copy {
  position: relative;
  z-index: 2;
}

body.clothes-page .hero p {
  max-width: 52ch;
  margin: .7rem 0 0;
}

body.clothes-page .hero-media {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: .7rem;
}

body.clothes-page .hero-shot {
  min-height: 132px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(7, 38, 52, .28);
  border: 2px solid rgba(255, 255, 255, .45);
}

body.clothes-page .hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.clothes-page .hero-shot.tall {
  grid-row: span 2;
  min-height: 280px;
}

body.clothes-page .grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.2rem;
  margin-top: 0;
  align-items: start;
}

@media (min-width: 921px) {
  body.clothes-page {
    overflow-x: hidden;
  }

  body.clothes-page .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  body.clothes-page .panel {
    display: contents;
  }

  body.clothes-page .list-filters {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: sticky;
    top: 0;
    z-index: 140;
  }

  body.clothes-page .list-wrap {
    grid-column: 1;
    grid-row: 2;
  }
}

body.clothes-page .auth-gate {
  margin-top: 1.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body.clothes-page .auth-gate .panel-head {
  text-align: center;
}

body.clothes-page .auth-gate-body {
  padding: 1rem 1.2rem 1.2rem;
  text-align: center;
}

body.clothes-page .auth-copy {
  margin: 0 auto .8rem;
  max-width: 34rem;
  color: #405365;
  line-height: 1.75;
}

body.clothes-page .insta-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(120deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .56rem 1rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(221, 42, 123, .25);
}

body.clothes-page .phrase-form {
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

body.clothes-page .panel {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #d8e0ea;
  box-shadow: 0 12px 30px rgba(15, 35, 54, 0.06);
}

@media (min-width: 921px) {
  body.clothes-page .panel {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  body.clothes-page .list-wrap {
    background:
      radial-gradient(120% 90% at 0% 0%, rgba(111, 179, 160, .14) 0%, rgba(111, 179, 160, 0) 55%),
      radial-gradient(130% 95% at 100% 100%, rgba(85, 143, 185, .13) 0%, rgba(85, 143, 185, 0) 58%),
      linear-gradient(165deg, #f4f9f7 0%, #edf4f8 55%, #e8eef5 100%);
    border-radius: 22px;
    border: 1px solid rgba(177, 196, 212, .56);
    box-shadow: 0 12px 28px rgba(14, 36, 55, .08), inset 0 1px 0 rgba(255, 255, 255, .65);
  }
}

body.clothes-page .form-panel {
  display: none;
}
body.clothes-page .form-panel.is-mobile-open {
  display: block;
  position: fixed;
  top: 84px;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1960;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid #d4e0ea;
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(11, 30, 46, .34);
}
body.clothes-page .form-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: #11a36e;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 10px 28px rgba(17, 163, 110, .28);
}
body.clothes-page .form-panel.is-mobile-open .form-accordion > summary {
  position: sticky;
  top: 0;
  z-index: 3;
}

body.clothes-page .form-accordion summary::-webkit-details-marker {
  display: none;
}

body.clothes-page .form-accordion summary::after {
  content: '＋';
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

body.clothes-page .form-accordion[open] summary::after {
  content: '−';
}

body.clothes-page .form-accordion > form {
  margin-top: .2rem;
}

body.clothes-page .form-accordion[open] > form {
  border-top: 0;
}
body.clothes-page .create-item-form {
  padding: .95rem 1rem 1.2rem;
}

body.clothes-page .mobile-form-fab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1950;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #11a36e, #1ac9a8, #0f8f7a, #17b39f, #11a36e);
  background-size: 300% 300%;
  animation: fab-gradient-shift 6s ease infinite;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: .9rem 1.4rem;
  box-shadow: 0 14px 32px rgba(17, 163, 110, .42);
  cursor: pointer;
  letter-spacing: .03em;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
body.clothes-page .mobile-form-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 38px rgba(17, 163, 110, .5);
  filter: brightness(1.05);
}
body.clothes-page .mobile-form-fab:active {
  transform: translateY(0) scale(.98);
}
body.clothes-page .fab-icon {
  width: 1.12rem;
  height: 1.12rem;
  flex-shrink: 0;
}
body.clothes-page .mobile-help-fab {
  display: none;
}
body.clothes-page .mobile-form-close-wrap {
  display: block;
  position: absolute;
  top: .62rem;
  right: .62rem;
  z-index: 2;
  padding: 0;
}
body.clothes-page .mobile-form-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  border-radius: 0;
  padding: 0;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  margin-left: .6rem;
  pointer-events: auto;
}
body.clothes-page .mobile-form-close:hover {
  opacity: .88;
}
body.clothes-page .mobile-form-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1955;
  background: rgba(7, 20, 32, .62);
  backdrop-filter: blur(2px);
}
body.clothes-page .mobile-form-backdrop[hidden] {
  display: none;
}

body.clothes-page.no-scroll {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
body.clothes-page .panel-head {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid #d8e0ea;
  font-weight: 700;
}
body.clothes-page form { padding: 0.5rem 0 0.5rem; }
body.clothes-page label {
  display: block;
  margin-top: .8rem;
  margin-bottom: .35rem;
  font-weight: 600;
  font-size: .93rem;
}
body.clothes-page input,
body.clothes-page select,
body.clothes-page textarea {
  width: 100%;
  border: 1px solid #c8d3df;
  background: #fbfcff;
  border-radius: 12px;
  padding: .65rem .75rem;
  font: inherit;
}
body.clothes-page textarea { min-height: 88px; resize: vertical; }
body.clothes-page .photo-upload-group {
  display: grid;
  gap: .55rem;
}
body.clothes-page .photo-upload-item label {
  margin-top: 0;
  margin-bottom: .28rem;
  font-size: .82rem;
  color: #4f667b;
}
body.clothes-page .form-help {
  margin: .35rem 0 0;
  font-size: .78rem;
  line-height: 1.45;
  color: #5d7286;
}
body.clothes-page .terms-agree-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: #2e4456;
  cursor: pointer;
}
body.clothes-page .terms-agree-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: #0f8f7a;
  cursor: pointer;
}
body.clothes-page .terms-agree-label a {
  color: #0f8f7a;
  text-decoration: underline;
}
body.clothes-page .tag-options {
  margin-top: .15rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
body.clothes-page .tag-option-item {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
body.clothes-page .tag-option-item input[type="checkbox"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
body.clothes-page .tag-option-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  width: auto;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid #cfdbea;
  background: #f4f8fd;
  color: #35536a;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  padding: .33rem .56rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .14s ease, box-shadow .18s ease;
}
body.clothes-page .tag-option-item span::before {
  content: '';
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: #8ea6bb;
  box-shadow: 0 0 0 2px rgba(142, 166, 187, .2);
  transition: background .18s ease, box-shadow .18s ease;
}
body.clothes-page .tag-option-item:hover span {
  border-color: #9bb6ce;
  background: #edf5fe;
}
body.clothes-page .tag-option-item input[type="checkbox"]:checked + span {
  border-color: #0f8f7a;
  background: linear-gradient(120deg, #10a57d 0%, #0f8f7a 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 149, 119, .24);
}
body.clothes-page .tag-option-item input[type="checkbox"]:checked + span::before {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .28);
}
body.clothes-page .tag-option-item input[type="checkbox"]:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(31, 140, 184, .26);
}
body.clothes-page .tag-option-item:active span {
  transform: translateY(1px);
}
body.clothes-page .tag-option-item input[type="checkbox"]:disabled + span {
  opacity: .55;
  cursor: not-allowed;
}
body.clothes-page .tag-option-item input[type="checkbox"] {
  margin: 0;
  padding: 0;
}
body.clothes-page .btn {
  margin-top: 1rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f8f7a 0%, #11b6a6 100%);
  color: #fff;
  font-weight: 700;
  padding: .78rem 1rem;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
}
body.clothes-page .form-panel form .btn {
  font-size: 1.03rem;
  font-weight: 800;
  padding: .92rem 1.15rem;
}
body.clothes-page .submit-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
}
body.clothes-page .submit-create-spinner {
  width: .92rem;
  height: .92rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #ffffff;
  display: none;
}
body.clothes-page .submit-create.is-loading {
  opacity: .88;
  cursor: wait;
  filter: saturate(.86);
}
body.clothes-page .submit-create.is-loading .submit-create-spinner {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
body.clothes-page .submit-create.is-loading .submit-create-label {
  letter-spacing: .02em;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
body.clothes-page .btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
body.clothes-page .alert {
  border-radius: 14px;
  margin: 1rem 0;
  padding: .75rem .9rem;
  font-size: .93rem;
}
body.clothes-page .alert.success { background: #e7faf3; color: #136549; border: 1px solid #b0eacb; }
body.clothes-page .alert.error { background: #ffeef3; color: #8f1e3a; border: 1px solid #f6bfd0; }
body.clothes-page .list-filters {
  padding: .42rem max(.8rem, env(safe-area-inset-left)) .2rem max(.8rem, env(safe-area-inset-right));
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-bottom: 1px solid rgba(102, 155, 128, .58);
  position: sticky;
  top: 0;
  z-index: 140;
  width: 100vw;
  background: linear-gradient(132deg, rgba(39, 118, 92, .78) 0%, rgba(50, 144, 108, .8) 42%, rgba(136, 156, 74, .72) 72%, rgba(58, 113, 152, .68) 100%);
  box-shadow: 0 10px 24px rgba(7, 26, 44, .2);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
}
body.clothes-page .list-filters-inner {
  width: 100%;
}
body.clothes-page .filter-accordion {
  border: 1px solid #d8e3ef;
  border-radius: 14px;
  background: #f8fbff;
  margin-bottom: .3rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(21, 58, 90, .08);
}
body.clothes-page .filter-accordion:not([open]) {
  border: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
body.clothes-page .filter-accordion[open] {
  margin: .14rem .2rem .36rem;
}
body.clothes-page .filter-accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: .68rem .8rem;
  font-size: .84rem;
  font-weight: 700;
  color: #2f4f67;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.clothes-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.clothes-page .filter-accordion .filter-grid {
  padding: .52rem .72rem .68rem;
}
body.clothes-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .62rem;
}
body.clothes-page .filter-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .85rem;
}
body.clothes-page .filter-item {
  min-width: 0;
}
body.clothes-page .filter-item-favorite,
body.clothes-page .filter-item-owner {
  display: flex;
  align-items: flex-end;
}
body.clothes-page .favorite-filter-control {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .1rem;
  margin-bottom: .05rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: .84rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(8, 31, 54, .3);
  cursor: pointer;
}
body.clothes-page .list-filters label.favorite-filter-control {
  display: inline-flex;
  margin-top: 0;
  margin-bottom: 0;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(8, 31, 54, .3);
}
body.clothes-page .favorite-filter-control input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
body.clothes-page .favorite-filter-indicator {
  display: inline-block;
  flex: 0 0 auto;
  position: relative;
  width: 2.15rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 1px solid #b7c7d8;
  background: #e9eff6;
  transition: background .2s ease, border-color .2s ease;
}
body.clothes-page .favorite-filter-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: .12rem;
  width: .9rem;
  height: .9rem;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #c2cfdd;
  transform: translateY(-50%);
  transition: transform .2s ease;
}
body.clothes-page .favorite-filter-control input:checked + .favorite-filter-indicator {
  border-color: #d49d22;
  background: #ffd06d;
}
body.clothes-page .favorite-filter-control input:checked + .favorite-filter-indicator::before {
  transform: translate(.88rem, -50%);
}
body.clothes-page .favorite-filter-control input:focus-visible + .favorite-filter-indicator {
  outline: 2px solid rgba(37, 96, 145, .35);
  outline-offset: 2px;
}
body.clothes-page .favorite-filter-label {
  line-height: 1.2;
  color: #ffffff;
}
body.clothes-page .search-box {
  margin: 0 .2rem .22rem;
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.clothes-page .search-row {
  display: flex;
  align-items: center;
  gap: .34rem;
}
body.clothes-page .search-input-wrap {
  position: relative;
  flex: 1 1 auto;
}
body.clothes-page .home-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.02rem;
  height: 2.02rem;
  border-radius: 999px;
  background: #ffffff;
  color: #2a5f84;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(19, 57, 86, .12);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
body.clothes-page .home-icon-link:hover {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19, 57, 86, .15);
}
body.clothes-page .home-icon-link:active {
  transform: scale(.97);
}
body.clothes-page .home-icon-link:focus-visible {
  outline: 2px solid rgba(44, 106, 149, .35);
  outline-offset: 2px;
}
body.clothes-page .home-icon-link-svg {
  width: .98rem;
  height: .98rem;
}
body.clothes-page .filter-icon-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.02rem;
  height: 2.02rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #2a5f84;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(19, 57, 86, .12);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
body.clothes-page .filter-icon-toggle:hover {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19, 57, 86, .15);
}
body.clothes-page .filter-icon-toggle[aria-expanded="true"] {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19, 57, 86, .15);
}
body.clothes-page .filter-icon-toggle.is-filter-active {
  background: #1f587f;
  color: #ffffff;
}
body.clothes-page .filter-icon-toggle:active {
  transform: scale(.97);
}
body.clothes-page .filter-icon-toggle-svg {
  width: .98rem;
  height: .98rem;
}
body.clothes-page .filter-icon-toggle:focus-visible {
  outline: 2px solid rgba(44, 106, 149, .35);
  outline-offset: 2px;
}
body.clothes-page .search-reload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.02rem;
  height: 2.02rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #2a5f84;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(19, 57, 86, .12);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
body.clothes-page .search-reload-btn:hover {
  background: #eef6fc;
  box-shadow: 0 4px 11px rgba(19, 57, 86, .15);
}
body.clothes-page .search-reload-btn:active {
  transform: scale(.97);
}
body.clothes-page .search-reload-btn:focus-visible {
  outline: 2px solid rgba(44, 106, 149, .35);
  outline-offset: 2px;
}
body.clothes-page .search-reload-svg {
  width: .98rem;
  height: .98rem;
}
body.clothes-page .search-icon {
  position: absolute;
  left: .72rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #597287;
  pointer-events: none;
}
body.clothes-page .search-row input[type="search"] {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  padding: .54rem .74rem .54rem 1.98rem;
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(167, 191, 210, .55);
  transition: box-shadow .18s ease, background-color .18s ease;
}
body.clothes-page .search-row input[type="search"]:focus-visible {
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(73, 132, 178, .52), 0 0 0 3px rgba(64, 130, 184, .14);
  outline: none;
}
body.clothes-page .list-filters label {
  display: block;
  margin-top: 0;
  margin-bottom: .32rem;
  font-size: .82rem;
  color: #476177;
}
body.clothes-page .list-filters select {
  background: #f7faff;
  width: 100%;
}
body.clothes-page .filter-actions {
  margin-top: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
}
body.clothes-page .filter-accordion .filter-actions {
  margin: .2rem .75rem .72rem;
  justify-content: flex-end;
}
body.clothes-page .filter-actions-bottom {
  margin-top: 0;
  justify-content: center;
}
body.clothes-page .filter-actions-bottom .filter-reset,
body.clothes-page .filter-actions-bottom .filter-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  line-height: 1;
  white-space: nowrap;
}
body.clothes-page .filter-close-btn {
  border: 0;
  border-radius: 999px;
  background: #2b5f85;
  color: #ffffff;
  padding: .45rem 1.05rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
body.clothes-page .filter-close-btn:hover {
  background: #244f6f;
}
body.clothes-page .filter-close-btn:focus-visible {
  outline: 2px solid rgba(44, 106, 149, .35);
  outline-offset: 2px;
}
body.clothes-page .filter-submit {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f6aa5 0%, #268ec9 100%);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  min-width: 10.5rem;
  padding: .72rem 1.45rem;
  box-shadow: 0 8px 18px rgba(31, 106, 165, .26);
  cursor: pointer;
}
body.clothes-page .filter-reset {
  text-decoration: none;
  border: 1px solid #c3d0de;
  border-radius: 999px;
  color: #30485d;
  background: #f4f8fc;
  padding: .45rem 1.05rem;
  font-size: .84rem;
  font-weight: 700;
}
@media (max-width: 540px) {
  body.clothes-page .search-row {
    width: 100%;
  }
}
body.clothes-page .list-wrap { 
  margin-top: 0;
    background:
      radial-gradient(120% 90% at 0% 0%, rgba(111, 179, 160, .14) 0%, rgba(111, 179, 160, 0) 55%),
      radial-gradient(130% 95% at 100% 100%, rgba(85, 143, 185, .13) 0%, rgba(85, 143, 185, 0) 58%),
      linear-gradient(165deg, #f4f9f7 0%, #edf4f8 55%, #e8eef5 100%);
    border: 1px solid rgba(177, 196, 212, .56);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(14, 36, 55, .08), inset 0 1px 0 rgba(255, 255, 255, .65);
    padding: .8rem; 
}
body.clothes-page .items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: .9rem;
}
body.clothes-page .card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d8e0ea;
  background: #fff;
  animation: rise .6s ease;
}
body.clothes-page .card.status-closed {
  background: #f9fbfd;
  border-color: #dbe2eb;
}
body.clothes-page .card.status-closed .thumb {
  filter: saturate(.82);
}
body.clothes-page .card.is-favorite-hidden {
  display: none;
}
body.clothes-page .card-photo-slider {
  position: relative;
  overflow: hidden;
  background: #eef2f8;
  touch-action: pan-y;
}
body.clothes-page .card-photo-overlay-top {
  position: absolute;
  top: .55rem;
  left: .88rem;
  z-index: 3;
}
body.clothes-page .card-photo-status {
  margin: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 2px 8px rgba(11, 30, 48, .16);
}
body.clothes-page button.card-photo-status {
  margin: 0;
  padding: .2rem .56rem;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}
body.clothes-page .card-photo-overlay-bottom {
  position: absolute;
  left: 50%;
  bottom: .55rem;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
body.clothes-page .card-photo-overlay-actions {
  position: absolute;
  bottom: .45rem;
  right: .45rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .18rem;
}
body.clothes-page .card-photo-overlay-actions .like-toggle,
body.clothes-page .card-photo-overlay-actions .favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  box-sizing: border-box;
  border-radius: 999px;
  background: rgba(14, 28, 42, .52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: #e8eef5;
  line-height: 1;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
body.clothes-page .card-photo-overlay-actions .like-toggle {
  gap: .22rem;
  padding: 0 .55rem;
}
body.clothes-page .card-photo-overlay-actions .favorite-toggle {
  width: 2rem;
}
body.clothes-page .card-photo-overlay-actions .like-toggle:hover {
  background: rgba(190, 50, 50, .72);
  color: #fff;
}
body.clothes-page .card-photo-overlay-actions .like-toggle.is-active {
  color: #ffaaaa;
  background: rgba(190, 50, 50, .6);
}
body.clothes-page .card-photo-overlay-actions .favorite-toggle:hover {
  background: rgba(14, 28, 42, .68);
  color: #f0d060;
  transform: scale(1.06);
}
body.clothes-page .card-photo-overlay-actions .favorite-toggle.is-active {
  color: #f0cf40;
}
body.clothes-page .card-photo-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(14, 28, 42, .72);
  color: #ffffff;
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
}
body.clothes-page .card-photo-track {
  position: relative;
  display: flex;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}
body.clothes-page .card-photo-slider .card-photo-slide {
  display: block;
  flex: 0 0 100%;
}
body.clothes-page .card-photo-slider .card-photo-slide.is-active {
  display: block;
}
body.clothes-page .card-photo-slider.is-dragging .card-photo-track {
  transition: none;
}
body.clothes-page .thumb {
  aspect-ratio: 1 / 1;
  background: #eef2f8;
  display: block;
  width: 100%;
  object-fit: cover;
}
body.clothes-page .card-photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  background: rgba(16, 26, 36, .62);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, background .18s ease;
  z-index: 2;
}
body.clothes-page .card-photo-nav[hidden] {
  display: none !important;
}
body.clothes-page .card:hover .card-photo-nav,
body.clothes-page .card-photo-slider:focus-within .card-photo-nav {
  opacity: 1;
  pointer-events: auto;
}
body.clothes-page .card-photo-nav:hover {
  background: rgba(16, 26, 36, .82);
}
body.clothes-page .card-photo-nav.is-prev {
  left: .45rem;
}
body.clothes-page .card-photo-nav.is-next {
  right: .45rem;
}
body.clothes-page .card-photo-dots {
  display: none;
}
body.clothes-page .card-photo-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #c8d4df;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, width .18s ease;
}
body.clothes-page .card-photo-dot.is-active {
  width: 1rem;
  background: #1c4f6b;
}
body.clothes-page .card-photo-dot:hover {
  transform: scale(1.08);
}
body.clothes-page .card-body { padding: .85rem .9rem .95rem; }
body.clothes-page .card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .45rem;
}
body.clothes-page .card-title-main {
  min-width: 0;
}
body.clothes-page .card-kebab {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-start;
}
body.clothes-page .card-kebab-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: .02rem .04rem .02rem .18rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #45657f;
  cursor: pointer;
  transform: translateY(-1px);
  transition: color .18s ease, transform .12s ease;
}
body.clothes-page .card-kebab-toggle::-webkit-details-marker {
  display: none;
}
body.clothes-page .card-kebab-toggle:hover {
  color: #203f58;
}
body.clothes-page .card-kebab-toggle:active {
  transform: translateY(-1px) scale(.97);
}
body.clothes-page .card-kebab-toggle:focus-visible {
  outline: 2px solid rgba(39, 111, 180, .35);
  outline-offset: 2px;
}
body.clothes-page .card-kebab-icon {
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .04em;
}
body.clothes-page .card-kebab-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .3rem);
  z-index: 30;
  width: min(270px, 84vw);
  border: 1px solid #ccdae8;
  border-radius: 12px;
  background: #f8fbff;
  box-shadow: 0 10px 24px rgba(17, 45, 68, .15);
  padding: .62rem;
}
body.clothes-page .card-kebab-menu .status-form {
  margin: 0;
}
body.clothes-page .card-kebab-menu .danger-btn {
  width: 100%;
  margin-top: .52rem;
}
body.clothes-page .name { margin: 0; font-size: 1.03rem; font-weight: 700; }
body.clothes-page .status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  margin-top: .34rem;
  padding: .2rem .56rem;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
}
body.clothes-page .status-pill.status-open {
  color: #126a52;
  background: #e4f7ef;
  border-color: #b9e9d7;
}
body.clothes-page .status-pill.status-negotiating {
  color: #985f0b;
  background: #fff2dc;
  border-color: #f0d8a7;
}
body.clothes-page .status-pill.status-closed {
  color: #556a7d;
  background: #edf2f7;
  border-color: #d3dde7;
}
body.clothes-page .meta {
  margin-top: .35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
body.clothes-page .meta.meta-key {
  margin-top: .42rem;
  gap: .28rem;
}
body.clothes-page .meta.meta-key .tag {
  background: #edf6ff;
  border: 1px solid #d4e5f6;
  color: #215777;
}
body.clothes-page .meta.meta-detail {
  margin: 0 0 .58rem;
}
body.clothes-page .meta-detail-collapsible {
  display: none;
  margin: 0;
}
body.clothes-page .card.is-note-expanded .meta-detail-collapsible {
  display: flex;
  margin: .3rem 0 .54rem;
  gap: .4rem .28rem;
}
body.clothes-page .tag {
  font-size: .76rem;
  color: #1b4f6d;
  background: #e9f4ff;
  border-radius: 999px;
  padding: .2rem .55rem;
}
body.clothes-page .note {
  margin: .55rem 0 .8rem;
  color: #435466;
  line-height: 1.6;
  font-size: .93rem;
  min-height: 0;
}
body.clothes-page .note-wrap {
  margin: .55rem 0 .8rem;
}
body.clothes-page .note-wrap .note {
  margin: 0;
}
body.clothes-page .note-wrap + .card-more,
body.clothes-page .note + .card-more {
  margin-top: -.48rem;
}
body.clothes-page .note.note-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.clothes-page .note-ellipsis {
  display: inline-block;
  margin-top: .18rem;
  color: #6a8094;
  font-size: .86rem;
  font-weight: 700;
}
body.clothes-page .card.is-note-expanded .note.note-clamp {
  display: block;
  overflow: visible;
}
body.clothes-page .card.is-note-expanded .note-ellipsis {
  display: none;
}

body.clothes-page .listing-meta {
  margin: 0 0 .7rem;
}

body.clothes-page .listing-meta p {
  margin: 0;
  font-size: .72rem;
  color: #8aa3b5;
  line-height: 1.5;
  word-break: break-all;
}
body.clothes-page .listing-meta a {
  color: #6e9db8;
  text-decoration: underline;
  text-underline-offset: .12em;
}
body.clothes-page .card-more {
  margin: .08rem 0 .42rem;
}
body.clothes-page .card-more-toggle {
  list-style: none;
  cursor: pointer;
  user-select: none;
  border: 0;
  background: transparent;
  color: #196eb1;
  font-size: .83rem;
  font-weight: 700;
  padding: .55rem 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-underline-offset: .12em;
  transition: color .18s ease;
}
body.clothes-page .card-more-toggle::-webkit-details-marker {
  display: none;
}
body.clothes-page .card-more-toggle::after {
  content: ' ▼';
  display: inline-block;
  font-size: .72rem;
  margin-left: .2em;
  text-decoration: none;
}
body.clothes-page .card-more[open] .card-more-toggle::after {
  content: '';
}
body.clothes-page .card-more[open] .card-more-toggle {
  display: none;
}
body.clothes-page .card-more-toggle:hover {
  color: #0f5a97;
}
body.clothes-page .card-more-toggle:focus-visible {
  outline: 2px solid rgba(39, 111, 180, .35);
  outline-offset: 2px;
}
body.clothes-page .card-more-body {
  margin-top: .38rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
}
body.clothes-page .card-more[open] .card-more-body {
  animation: card-more-fade .2s ease;
}
@keyframes card-more-fade {
  from {
    opacity: .55;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.clothes-page .card-more-body .listing-meta {
  margin: 0;
}
body.clothes-page .card-more-collapse {
  display: none;
  margin: .18rem 0 .52rem;
  padding: .55rem 0;
  border: 0;
  background: transparent;
  color: #196eb1;
  font-size: .83rem;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
body.clothes-page .card-more-collapse::after {
  content: ' ▲';
  display: inline-block;
  font-size: .72rem;
  margin-left: .2em;
  text-decoration: none;
}
body.clothes-page .card-more-collapse:hover {
  color: #0f5a97;
}
body.clothes-page .card-more-collapse:focus-visible {
  outline: 2px solid rgba(39, 111, 180, .35);
  outline-offset: 2px;
}
body.clothes-page .card.is-note-expanded .card-more-collapse {
  display: flex;
}
body.clothes-page .status-form {
  margin: 0 0 .62rem;
}
body.clothes-page .status-form label {
  display: block;
  margin: 0 0 .3rem;
  font-size: .77rem;
  color: #476177;
}
body.clothes-page .status-form-row {
  display: flex;
  gap: 0;
  align-items: stretch;
}
body.clothes-page .status-form-row select {
  flex: 1;
  min-width: 0;
  border: 1px solid #c8d5e2;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: #f7faff;
  height: 2.18rem;
  padding: 0 .58rem;
  box-sizing: border-box;
  font: inherit;
  font-size: .82rem;
  line-height: 1.2;
}
body.clothes-page .status-form-row .status-update-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 2.18rem;
  font-size: .79rem;
  line-height: 1.2;
  padding: 0 .78rem;
  box-sizing: border-box;
  border: 1px solid #c8d5e2;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #eef4fb;
  margin-left: -1px;
}
body.clothes-page .status-form-row .status-update-btn:hover {
  background: #e3edf8;
}
body.clothes-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-top: .38rem;
}
body.clothes-page .actions .dm-copy {
  flex-basis: 100%;
}
body.clothes-page .actions .dm-agree-note {
  flex-basis: 100%;
  margin: .16rem 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #4a6378;
  text-align: center;
}
body.clothes-page .actions .dm-agree-note a {
  color: #156a8a;
  text-decoration: underline;
  text-underline-offset: .12em;
}
body.clothes-page .actions .dm-closed-note {
  flex-basis: 100%;
  margin: .1rem 0 0;
  font-size: .8rem;
  line-height: 1.58;
  color: #5b6f81;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #f4f7fb;
  padding: .48rem .6rem;
}
body.clothes-page .actions .dm-direct {
  flex-basis: 100%;
}
body.clothes-page .dm-copy {
  background: #eef4fb;
  border-color: #c8d7e7;
  color: #203447;
}
body.clothes-page .dm-copy:hover {
  background: #e4edf7;
}
body.clothes-page .link-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(90deg, #f9a94c 0%, #e0467c 50%, #9f4fb0 100%);
  color: #fff;
  border-radius: 999px;
  padding: .78rem .8rem;
  font-size: .9rem;
  line-height: 1.25;
  font-weight: 600;
  border: none;
}
body.clothes-page .ghost-btn {
  border: 1px solid #bdcbdb;
  background: #f6f9fd;
  color: #243646;
  border-radius: 999px;
  padding: .78rem .8rem;
  font-size: .88rem;
  line-height: 1.25;
  cursor: pointer;
  font-weight: 600;
}
body.clothes-page .favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  color: #94a8ba;
  cursor: pointer;
  padding: 0;
  transition: transform .15s ease, color .2s ease;
}
body.clothes-page .favorite-toggle:hover {
  color: #6f8497;
  transform: scale(1.06);
}
body.clothes-page .favorite-star {
  color: currentColor;
  font-size: 1.22rem;
  line-height: 1;
}
body.clothes-page .favorite-toggle.is-active {
  color: #d49d22;
}
body.clothes-page .favorite-toggle.is-active .favorite-star {
  color: currentColor;
}


body.clothes-page .like-toggle {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #94a8ba;
  padding: .18rem .32rem;
  border-radius: .35rem;
  transition: color .15s, background .15s;
  line-height: 1;
  white-space: nowrap;
}
body.clothes-page .like-toggle:hover {
  color: #e05555;
  background: #fff0f0;
}
body.clothes-page .like-toggle.is-active {
  color: #e05555;
}
body.clothes-page .like-heart {
  font-size: 1.1rem;
  line-height: 1;
}
body.clothes-page .like-count {
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}

body.clothes-page .danger-btn {
  border: 1px solid #cf3f62;
  background: linear-gradient(90deg, #d3496d, #c72f57);
  color: #fff;
  border-radius: 999px;
  padding: .53rem .8rem;
  font-size: .82rem;
  cursor: pointer;
  font-weight: 700;
}

body.clothes-page .dm-feedback {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2200;
  margin: 0;
  max-width: min(92vw, 440px);
  border-radius: 12px;
  background: rgba(18, 33, 47, .95);
  color: #fff;
  padding: .72rem .86rem;
  font-size: .83rem;
  line-height: 1.45;
  box-shadow: 0 14px 28px rgba(4, 16, 28, .24);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

body.clothes-page .dm-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.clothes-page .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 18, 28, .58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

body.clothes-page .modal-backdrop[hidden] {
  display: none !important;
}

body.clothes-page .modal-card {
  width: min(400px, 100%);
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #ccdae8;
  box-shadow: 0 10px 28px rgba(17, 45, 68, .18);
  padding: .9rem;
}

body.clothes-page .modal-card h2 {
  margin: 0 0 .75rem;
  font-size: .95rem;
  font-weight: 700;
  color: #243646;
}

body.clothes-page .modal-card p {
  margin: 0 0 .75rem;
  font-size: .85rem;
  color: #476177;
  line-height: 1.6;
}

body.clothes-page .modal-actions {
  margin-top: .75rem;
  display: flex;
  justify-content: flex-end;
  gap: .45rem;
}
body.clothes-page .modal-actions-col {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: .52rem;
}
body.clothes-page .modal-actions-col .modal-actions {
  margin-top: .1rem;
}
body.clothes-page .status-modal-select {
  width: 100%;
  height: 2.18rem;
  padding: 0 .58rem;
  border: 1px solid #c8d5e2;
  border-radius: 10px;
  font: inherit;
  font-size: .82rem;
  background: #f7faff;
  cursor: pointer;
  color: #243646;
  box-sizing: border-box;
}
body.clothes-page #status-modal .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.18rem;
  font: inherit;
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 .78rem;
  box-sizing: border-box;
}
body.clothes-page .status-update-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.18rem;
  font: inherit;
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 .78rem;
  border: 1px solid #c8d5e2;
  border-radius: 999px;
  background: #eef4fb;
  color: #243646;
  cursor: pointer;
  transition: background .15s ease;
}
body.clothes-page .status-update-modal-btn:hover {
  background: #e3edf8;
}
body.clothes-page .empty {
  border: 1px dashed #b8c6d6;
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  color: #5d6e80;
  background: #f9fbff;
}
body.clothes-page .pager {
  margin-top: .95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .42rem;
}
body.clothes-page .pager-link,
body.clothes-page .pager-number {
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 .62rem;
  border-radius: 999px;
  border: 1px solid #c8d6e4;
  background: #ffffff;
  color: #25465f;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.clothes-page .pager-number.is-active {
  border-color: #1e78af;
  background: linear-gradient(90deg, #1f6aa5, #268ec9);
  color: #fff;
}
body.clothes-page .pager-link.is-disabled {
  opacity: .45;
  pointer-events: none;
}
body.clothes-page .pager-gap {
  color: #7c8ea0;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 0 .1rem;
}

/* Activity page */
body.activity-page .hero {
  background:
    linear-gradient(120deg, rgba(13, 109, 101, 0.92) 0%, rgba(16, 151, 160, 0.86) 48%, rgba(25, 185, 191, 0.84) 100%),
    url('../../img/kodomohukuimage.png') center / cover no-repeat;
}

body.activity-page .hero::before {
  content: '';
  position: absolute;
  inset: -50% -20% auto auto;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
}

body.activity-page .hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: .04em;
  font-weight: 900;
}

body.activity-page .hero p { margin: .9rem 0 .9rem; }

body.activity-page .hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  position: relative;
  z-index: 1;
}

body.activity-page .hero-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .45);
  box-shadow: 0 10px 26px rgba(9, 35, 54, .25);
}

body.activity-page .grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.activity-page .card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #d8e0ea;
  box-shadow: 0 12px 30px rgba(15, 35, 54, 0.06);
  padding: 1.2rem;
  animation: rise .6s ease;
  position: relative;
  overflow: hidden;
}

body.activity-page .card::after {
  content: '';
  position: absolute;
  inset: auto -25px -25px auto;
  width: 90px;
  height: 90px;
  background: linear-gradient(140deg, rgba(17, 182, 166, .16), rgba(255, 175, 63, .16));
  border-radius: 50%;
}

body.activity-page .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(120deg, #0f8f7a, #11b6a6);
  color: #fff;
  font-weight: 800;
  margin-bottom: .7rem;
}

body.activity-page .card h2 {
  margin: 0;
  font-size: 1.12rem;
}

body.activity-page .card p {
  margin: .6rem 0 0;
  color: #435466;
  line-height: 1.8;
}

body.activity-page .vision {
  margin-top: 1rem;
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid #d8e4e9;
  background: linear-gradient(90deg, #f7fffd 0%, #f6fbff 100%);
  color: #26404f;
  line-height: 1.8;
}

body.activity-page .vision-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items: center;
}

body.activity-page .vision-layout img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 185px;
  box-shadow: 0 12px 28px rgba(15, 35, 54, .14);
}

body.activity-page .cta {
  margin: 1.2rem auto 0;
  display: block;
  width: fit-content;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #3a8f57;
  background: linear-gradient(120deg, #2f8a4b 0%, #4fa869 55%, #74bf88 100%);
  color: #fff;
  font-weight: 700;
  padding: .72rem 1.2rem;
  box-shadow: 0 10px 24px rgba(47, 138, 75, .28);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.activity-page .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(47, 138, 75, .34);
  filter: brightness(1.03);
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fab-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 920px) {
  body.clothes-page {
    background: #f6f7fb;
  }

  body.clothes-page .wrap {
    width: 100%;
    margin: 0;
    padding: 0 0 4rem;
  }

  body.clothes-page .hero-layout {
    grid-template-columns: 1fr;
  }

  body.clothes-page .hero-media {
    grid-template-columns: 1fr 1fr;
  }

  body.clothes-page .hero-shot.tall {
    grid-row: auto;
    min-height: 170px;
  }

  body.clothes-page .grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  body.clothes-page .search-row input[type="search"] {
    font-size: 16px;
  }

  body.clothes-page .form-panel.is-mobile-open {
    top: 90px;
    left: .75rem;
    right: .75rem;
    bottom: 1rem;
    border-radius: 16px;
  }

  body.clothes-page .create-item-form {
    padding: .9rem .88rem 1.1rem;
  }

  body.clothes-page .form-accordion > summary {
    pointer-events: none;
    cursor: default;
  }

  body.clothes-page .form-accordion > summary::after {
    content: none;
  }

  body.clothes-page .form-accordion[open] > summary::after {
    content: none;
  }

  body.clothes-page .form-accordion[open] > form {
    margin-top: 0;
  }

  body.clothes-page .mobile-form-close-wrap {
    display: block;
    position: absolute;
    top: .62rem;
    right: .62rem;
    z-index: 2;
    padding: 0;
  }

  body.clothes-page .mobile-form-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    border-radius: 0;
    padding: 0;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
  }
  body.clothes-page .mobile-form-close:hover {
    opacity: .88;
  }

  body.clothes-page .form-panel form .btn {
    font-size: 1.08rem;
    padding: 1.02rem 1.2rem;
  }

  body.clothes-page .mobile-help-fab {
    display: inline-flex;
    left: 1.1rem;
    right: auto;
    text-decoration: none;
    background: linear-gradient(120deg, #17324a, #21506b, #1b4460, #29637d, #17324a);
    box-shadow: 0 14px 32px rgba(23, 50, 74, .34);
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    padding: 0;
    font-size: 1.42rem;
    line-height: 1;
  }
  body.clothes-page .mobile-help-fab:hover {
    box-shadow: 0 20px 38px rgba(23, 50, 74, .42);
  }
  body.clothes-page .form-accordion:not([open]) {
    border-bottom: 0;
  }

  body.clothes-page .filter-grid {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  body.clothes-page .filter-item-category {
    margin-top: .6rem;
  }

  body.clothes-page .filter-accordion .filter-grid {
    padding: 0 .7rem .65rem;
  }

  body.clothes-page .filter-accordion .filter-actions {
    margin: .16rem .7rem .62rem;
  }

  body.clothes-page .card-photo-nav {
    opacity: 1;
    pointer-events: auto;
    width: 1.85rem;
    height: 1.85rem;
  }

  body.clothes-page .list-filters {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    top: 0;
  }

  body.clothes-page .list-filters-inner {
    display: flex;
    flex-direction: column;
  }

  body.clothes-page .search-box {
    order: 1;
  }

  body.clothes-page .filter-toggle-row {
    order: 2;
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    gap: .34rem .62rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: .12rem .2rem .18rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.clothes-page .filter-accordion {
    order: 3;
  }

  body.clothes-page .filter-item {
    display: grid;
    grid-template-columns: 5.4em minmax(0, 1fr);
    align-items: center;
    gap: .45rem;
  }

  body.clothes-page .filter-item.filter-item-favorite,
  body.clothes-page .filter-item.filter-item-owner {
    display: inline-flex;
    align-items: center;
  }

  body.clothes-page .filter-item.filter-item-favorite .favorite-filter-control,
  body.clothes-page .filter-item.filter-item-owner .favorite-filter-control {
    display: inline-flex;
    margin-left: 0;
    padding: .18rem .14rem;
    gap: .34rem;
  }

  body.clothes-page .filter-item.filter-item-favorite .favorite-filter-label,
  body.clothes-page .filter-item.filter-item-owner .favorite-filter-label {
    white-space: nowrap;
    font-size: .75rem;
  }

  body.clothes-page .list-filters label {
    margin: 0;
    font-size: .8rem;
  }

  body.clothes-page .list-wrap {
    margin-top: 0;
    padding-bottom: 1.2rem;
  }

  body.clothes-page .tag-options {
    gap: .26rem;
  }

  body.clothes-page .list-filters select {
    padding: .52rem .65rem;
  }

  body.clothes-page .filter-actions {
    flex-wrap: wrap;
    margin-top: .55rem;
  }

  body.clothes-page .pager {
    gap: .35rem;
  }

  body.clothes-page .pager-link,
  body.clothes-page .pager-number {
    min-width: 2rem;
    height: 2rem;
    font-size: .8rem;
  }

  body.clothes-page .hero,
  body.activity-page .hero { padding: 2rem 1.2rem; }

  body.activity-page .hero-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 130px 108px;
  }

  body.activity-page .hero-gallery img {
    height: 100%;
  }

  body.activity-page .hero-gallery img:nth-child(1) {
    grid-column: 1 / -1;
  }

  body.activity-page .hero-gallery img:nth-child(2) {
    transform: none;
  }

  body.activity-page .hero-gallery img:nth-child(3) {
    grid-column: auto;
  }

  body.activity-page .vision-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 921px) {
  body.clothes-page .list-filters {
    padding-left: 0;
    padding-right: 0;
  }

  body.clothes-page .list-filters-inner {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
  }

  body.clothes-page .form-panel.is-mobile-open {
    width: min(720px, calc(100vw - 2.4rem));
    left: 50%;
    right: auto;
    bottom: 1.2rem;
    transform: translateX(-50%);
  }

  body.clothes-page .create-item-form {
    padding: 1rem 1.1rem 1.25rem;
  }
}

@media (max-width: 430px) {
  body.clothes-page .filter-toggle-row {
    justify-content: flex-start;
  }

  body.clothes-page .list-wrap {
    margin-top: 0;
    padding-bottom: 1.2rem;
  }
}

@media (max-width: 940px) {
  body.home-page .hero {
    min-height: calc(100vh - 132px);
  }

  body.home-page .hero-content {
    padding: 1.3rem;
  }

  body.home-page .copy h1 {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }


  body.home-page .howto-highlight {
    padding: 1.15rem .9rem 1rem;
    margin: 1rem 0;
    border-radius: 22px;
  }

  body.home-page .howto-grid {
    grid-template-columns: 1fr;
    gap: .72rem;
  }

  body.home-page .howto-heading h2 {
    font-size: clamp(1.4rem, 8.4vw, 1.85rem);
  }

  body.home-page .howto-heading > p {
    font-size: .9rem;
  }

  body.home-page .howto-card {
    padding: .82rem .86rem;
  }

  body.home-page .howto-flow li {
    font-size: .84rem;
  }
  body.home-page .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* Terms page */
body.terms-page {
  color: #12212f;
  background:
    radial-gradient(circle at 10% 5%, #dff8f2 0, transparent 35%),
    radial-gradient(circle at 90% 0%, #ffe9c5 0, transparent 30%),
    #f6f7fb;
  padding-top: 92px;
}

body.terms-page .wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.terms-main {
  flex: 1;
}

.terms-hero {
  padding: 2.2rem 2rem;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 74, 77, 0.94) 0%, rgba(11, 106, 120, 0.9) 46%, rgba(25, 173, 171, 0.88) 100%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, .18), transparent 45%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 38, 59, 0.1);
  animation: rise .7s ease;
}

.terms-kicker {
  margin: 0 0 .45rem;
  color: #d9f8f0;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 800;
}

.terms-hero h1 {
  margin: 0 0 .6rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: .06em;
}

.terms-hero p {
  margin: 0;
  color: #ecfffe;
  line-height: 1.8;
  max-width: 54ch;
}

.terms-body {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.terms-section {
  border-radius: 22px;
  border: 1px solid #d7e3ef;
  box-shadow: 0 16px 34px rgba(14, 34, 53, .08);
  padding: 1.15rem 1.05rem 1.05rem;
  background: #ffffff;
}

.terms-section.terms-section-want {
  background: linear-gradient(155deg, rgba(16, 151, 120, .12) 0%, rgba(255, 255, 255, .96) 52%);
}

.terms-section.terms-section-give {
  background: linear-gradient(155deg, rgba(255, 178, 71, .16) 0%, rgba(255, 255, 255, .96) 54%);
}

.terms-section h2 {
  margin: 0 0 .7rem;
  font-size: 1.18rem;
  font-weight: 900;
  color: #17324a;
}

.terms-lead {
  margin: 0 0 .8rem;
  color: #4b6478;
  line-height: 1.75;
  font-size: .91rem;
}

.terms-mini-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .48rem;
  margin: 0 0 .9rem;
}

.terms-mini-map-item {
  padding: .62rem .68rem;
  border-radius: 14px;
  border: 1px solid #d8e3ee;
  background: rgba(255, 255, 255, .76);
  display: grid;
  gap: .12rem;
}

.terms-mini-map-item strong {
  color: #17324a;
  font-size: .9rem;
}

.terms-mini-map-label {
  color: #66839a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.terms-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .48rem;
}

.terms-flow li {
  margin: 0;
}

.terms-step-title {
  display: block;
  margin: 0;
  color: #17324a;
  font-size: .92rem;
}

.terms-step-accordion {
  border: 1px solid #d3e4e8;
  border-radius: 16px;
  background: rgba(255, 255, 255, .84);
  overflow: hidden;
}

.terms-step-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .72rem;
  padding: .78rem .88rem;
  transition: background .18s ease, border-color .18s ease;
}

.terms-step-summary::-webkit-details-marker {
  display: none;
}

.terms-step-summary:hover {
  background: rgba(243, 249, 255, .88);
}

.terms-step-summary::after {
  content: '▾';
  margin-left: auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5fd;
  color: #4d6980;
  font-size: .8rem;
  flex: 0 0 auto;
  transition: transform .18s ease, background .18s ease;
}

.terms-step-accordion[open] .terms-step-summary::after {
  transform: rotate(180deg);
  background: #e4eef9;
}

.terms-step-number {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  background: linear-gradient(135deg, #109778 0%, #18b4a0 100%);
  flex: 0 0 auto;
}

.terms-section-give .terms-step-number {
  background: linear-gradient(135deg, #e28a1f 0%, #f0b44f 100%);
}

.terms-step-summary-text {
  min-width: 0;
  display: grid;
  gap: .16rem;
}

.terms-step-summary-note {
  color: #688397;
  font-size: .78rem;
  line-height: 1.5;
}

.terms-step-body {
  padding: 0 .88rem .88rem;
  border-top: 1px solid #e1e9f2;
  background: rgba(252, 254, 255, .92);
}

.terms-step-accordion[open] .terms-step-summary {
  background: rgba(248, 251, 255, .95);
}

.terms-step-detail,
.terms-step-tools,
.terms-step-tip {
  margin: 0;
}

.terms-step-detail {
  color: #406073;
  margin-top: .76rem;
}

.terms-step-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
  gap: .42rem;
  margin-top: .44rem;
}

.terms-step-panel {
  padding: .46rem .52rem;
  border-radius: 10px;
  border: 1px solid #d7e4ef;
  background: #f7fbff;
}

.terms-step-panel-tip {
  border-color: #d6ebe3;
  background: #eff8f4;
}

.terms-step-label {
  margin: 0 0 .34rem;
  color: #5e7a8f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.terms-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
}

.terms-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: .16rem .5rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d9e5f0;
  color: #425f75;
  font-size: .77rem;
  line-height: 1.35;
}

.terms-step-tip-text {
  margin: 0;
  color: #2f6657;
  font-size: .82rem;
  line-height: 1.6;
}

.terms-note {
  margin: 0;
  color: #3d566b;
  line-height: 1.72;
  font-size: .9rem;
}

.terms-note-box {
  margin-top: .82rem;
  padding: .72rem .8rem;
  border-radius: 14px;
  border: 1px solid #d8e3ee;
  background: rgba(255, 255, 255, .7);
}

.terms-note-title {
  margin: 0 0 .3rem;
  color: #17324a;
  font-size: .86rem;
  font-weight: 800;
}

.terms-updated {
  margin-top: 2rem;
  font-size: .85rem;
  color: #7a95ab;
  text-align: right;
}

/* =====================
   使い方ページ (howto)
   ===================== */
.howto-main {
  flex: 1;
  /* スマホ基準: 最大幅を狭めて中央寄せ */
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.howto-tabs {
  display: flex;
  gap: .5rem;
  margin: 1.4rem 0 1.1rem;
  background: #edf2f8;
  border-radius: 16px;
  padding: .38rem;
}

.howto-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .68rem 1rem;
  border: none;
  border-radius: 11px;
  background: transparent;
  font: inherit;
  font-size: .94rem;
  font-weight: 700;
  color: #607a91;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.howto-tab.is-active {
  background: #fff;
  color: #17324a;
  box-shadow: 0 2px 10px rgba(14, 34, 53, .10);
}

.howto-tab--want.is-active { color: #0e7d65; }
.howto-tab--give.is-active { color: #b86f12; }

.howto-panel[hidden] { display: none; }

.howto-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

/* Step card */
.howto-step {
  border-radius: 18px;
  border: 1px solid #d7e3ef;
  background: #fff;
  box-shadow: 0 4px 14px rgba(14, 34, 53, .06);
  padding: 1.15rem 1.2rem 1.2rem;
}

.howto-step-hd {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .9rem;
}

.howto-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  margin-top: .1rem;
}

.howto-step--want .howto-step-num {
  background: linear-gradient(135deg, #109778 0%, #18b4a0 100%);
}

.howto-step--give .howto-step-num {
  background: linear-gradient(135deg, #e28a1f 0%, #f0b44f 100%);
}

.howto-step-hd h2 {
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  color: #17324a;
  line-height: 1.45;
}

/* Tap hint */
.howto-tap-hint {
  margin: .7rem 0 .55rem;
  font-size: .82rem;
  color: #4a6275;
  line-height: 1.6;
}

/* Tips */
.howto-tips {
  margin: 0;
  padding: 0 0 0 1rem;
  list-style: disc;
  display: grid;
  gap: .22rem;
}

.howto-tips li {
  font-size: .8rem;
  color: #6d8799;
  line-height: 1.55;
}

/* ----------------------
   パルスアニメーション
   ---------------------- */
@keyframes mock-pulse-want {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 151, 120, .55); }
  60%       { box-shadow: 0 0 0 6px rgba(16, 151, 120, 0); }
}

@keyframes mock-pulse-give {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 138, 31, .55); }
  60%       { box-shadow: 0 0 0 6px rgba(226, 138, 31, 0); }
}

.howto-step--want .mock-highlighted {
  border-color: #109778 !important;
  animation: mock-pulse-want 1.8s ease infinite;
}

.howto-step--give .mock-highlighted {
  border-color: #e28a1f !important;
  animation: mock-pulse-give 1.8s ease infinite;
}

/* ----------------------
   モック UI 共通
   ---------------------- */
.mock-screen {
  background: #f2f6fb;
  border: 1.5px solid #ccd8e8;
  border-radius: 16px;
  padding: .75rem;
  display: grid;
  gap: .45rem;
}

/* 検索バー */
.mock-searchbar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #c8d6e4;
  border-radius: 8px;
  padding: .45rem .65rem;
}

.mock-search-placeholder {
  font-size: .75rem;
  color: #9fb5c7;
}

/* フィルターチップ列 */
.mock-chips-row {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  border: 1.5px solid #c4d4e4;
  background: #fff;
  font-size: .73rem;
  color: #4a6275;
  font-weight: 600;
  position: relative;
  transition: border-color .15s;
}

/* カードスタブ（一覧プレビュー用） */
.mock-card-stub {
  height: 34px;
  background: #fff;
  border: 1px solid #d4e0eb;
  border-radius: 8px;
}

/* カード */
.mock-card {
  background: #fff;
  border: 1px solid #d4e0eb;
  border-radius: 12px;
  overflow: hidden;
}

.mock-card-img {
  height: 80px;
  background: linear-gradient(135deg, #c8d8e8 0%, #d8e8f4 100%);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: .45rem;
}

.mock-card-img-lg {
  height: 110px;
}

/* ステータスバッジ */
.mock-badge {
  display: inline-flex;
  align-items: center;
  padding: .18rem .52rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1.5px solid transparent;
}

.mock-badge-open {
  background: rgba(16, 151, 120, .18);
  color: #0d6b55;
  border-color: rgba(16, 151, 120, .3);
}

.mock-badge-negotiating {
  background: rgba(226, 138, 31, .18);
  color: #a06010;
  border-color: rgba(226, 138, 31, .3);
}

.mock-badge-done {
  background: rgba(100, 116, 139, .18);
  color: #475569;
  border-color: rgba(100, 116, 139, .3);
}

/* FAB画面モック */
.mock-screen--fab {
  position: relative;
}

.mock-card-list-bg {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem 0;
}

.mock-card-mini {
  height: 3.2rem;
  border-radius: .5rem;
  background: #e8eef5;
}

.mock-fab {
  position: absolute;
  bottom: .8rem;
  right: .8rem;
  background: linear-gradient(135deg, #11a36e, #0d6b55);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(17, 163, 110, .45);
  white-space: nowrap;
}

/* カード画像内オーバーレイ（♡☆） */
.mock-overlay-actions {
  display: flex;
  gap: .22rem;
  position: absolute;
  bottom: .4rem;
  right: .4rem;
}

.mock-overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.6rem;
  padding: 0 .38rem;
  border-radius: 999px;
  background: rgba(14, 28, 42, .52);
  color: #e8eef5;
  font-size: .72rem;
  border: 1.5px solid transparent;
}

/* カードボディ */
.mock-card-body-mini {
  padding: .5rem .6rem .6rem;
  display: grid;
  gap: .32rem;
}

.mock-item-name {
  font-size: .8rem;
  font-weight: 700;
  color: #243646;
}

.mock-tags-row {
  display: flex;
  gap: .28rem;
  flex-wrap: wrap;
}

.mock-tag {
  display: inline-flex;
  padding: .12rem .42rem;
  border-radius: 6px;
  background: #eef3fa;
  color: #5a7491;
  font-size: .68rem;
  font-weight: 600;
}

/* もっと見るボタン */
.mock-more-btn {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  color: #196eb1;
  padding: .2rem .48rem;
  align-self: start;
  cursor: default;
}

/* 掲載詳細（listing-meta風） */
.mock-detail-block {
  display: grid;
  gap: .3rem;
  padding: .5rem .6rem;
  background: #fff;
  border: 1px solid #d4e0eb;
  border-radius: 10px;
}

.mock-detail-line {
  height: 9px;
  border-radius: 4px;
  background: #dce8f2;
}

.mock-line-short {
  width: 65%;
}

/* アクションボタン */
.mock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .52rem .8rem;
  border-radius: 999px;
  border: 1.5px solid #c4d4e4;
  background: #f5f9ff;
  font-size: .78rem;
  font-weight: 700;
  color: #3a5570;
  cursor: default;
}

.mock-btn-insta {
  background: linear-gradient(90deg, #f9a94c 0%, #e0467c 50%, #9f4fb0 100%);
  border-color: transparent;
  color: #fff;
}

.mock-btn-submit {
  background: linear-gradient(135deg, #109778 0%, #18b4a0 100%);
  border-color: transparent;
  color: #fff;
}

/* フォームモック */
.mock-form {
  display: grid;
  gap: .38rem;
}

.mock-form-field {
  padding: .42rem .6rem;
  background: #fff;
  border: 1px solid #c8d6e4;
  border-radius: 8px;
  font-size: .75rem;
  color: #7a96ab;
}

.mock-form-photo {
  background: #edf2f8;
  color: #5a7896;
  font-weight: 700;
  text-align: center;
}

/* 写真アップロードモック */
.mock-photo-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.mock-photo-label {
  font-size: .65rem;
  color: #4f667b;
  font-weight: 600;
  margin-bottom: .1rem;
}

.mock-photo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  background: #f4f8fc;
  border: 1px solid #d0dce8;
  border-radius: .38rem;
  padding: .35rem .55rem;
}

.mock-photo-slot-label {
  font-size: .65rem;
  color: #4f667b;
  font-weight: 500;
}

.mock-photo-item--optional .mock-photo-slot-label {
  color: #7a96ab;
}

.mock-photo-file-btn {
  font-size: .6rem;
  color: #fff;
  background: #8aabb8;
  border-radius: .28rem;
  padding: .18rem .45rem;
  white-space: nowrap;
}

.mock-form-field-label {
  font-size: .68rem;
  font-weight: 800;
  color: #5a7896;
  padding: .28rem 0 0;
  background: transparent;
  border: none;
}

.mock-textarea {
  padding: .52rem .6rem;
  background: #fff;
  border: 1.5px solid #c8d6e4;
  border-radius: 8px;
  font-size: .74rem;
  color: #9ab0c3;
  min-height: 52px;
  line-height: 1.5;
}

/* タイトル行（ケバブ） */
.mock-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-kebab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 1.5px solid #c4d4e4;
  background: #f0f5fb;
  font-size: .9rem;
  color: #4a6275;
  cursor: default;
}

/* ドロップダウン */
.mock-dropdown {
  border: 1px solid #d4e0eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.mock-dropdown-item {
  padding: .48rem .7rem;
  font-size: .76rem;
  color: #3a5570;
  border-bottom: 1px solid #edf2f8;
}

.mock-dropdown-item:last-child {
  border-bottom: none;
}

.mock-dropdown-danger {
  color: #c0334e;
  font-weight: 700;
}

/* DMバブル（あげたい人 Step 3） */
.mock-dm-from {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

.mock-dm-avatar {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8d8e8, #a8c0d8);
  flex-shrink: 0;
}

.mock-dm-bubble {
  background: #fff;
  border: 1px solid #d0dcea;
  border-radius: 0 12px 12px 12px;
  padding: .52rem .7rem;
  font-size: .75rem;
  color: #3a5570;
  line-height: 1.6;
  flex: 1;
}

.mock-dm-bubble strong {
  color: #0e7d65;
}

.mock-dm-hint {
  font-size: .7rem;
  color: #7fa0b8;
  text-align: center;
  padding: .2rem 0;
}

/* ----------------------
   フィルターパネル モック
   ---------------------- */
.mock-screen--filter {
  padding: 0;
  gap: 0;
  background: transparent;
  border-color: #b8ccd8;
  /* overflow: hidden を外してbox-shadowアニメーションがクリップされないようにする */
}

/* トップバー */
.mock-topbar {
  display: flex;
  align-items: center;
  gap: .32rem;
  background: linear-gradient(135deg, #084a4d 0%, #0b6a78 55%, #19adab 100%);
  padding: .55rem .6rem;
  border-radius: 14px 14px 0 0;
}

.mock-tb-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .78rem;
  flex-shrink: 0;
  border: 1.5px solid transparent;
}

.mock-tb-btn--filter {
  /* フィルターパネルが開いている状態（is-filter-active相当） */
  background: #1f587f;
  color: #ffffff;
}

/* howto内でのフィルターSVGサイズ（body.clothes-pageスコープ外のため個別指定） */
body.terms-page .mock-tb-btn--filter .filter-icon-toggle-svg {
  width: .9rem;
  height: .9rem;
}

/* 検索ボックス（トップバー内） */
.mock-tb-search {
  flex: 1;
  background: rgba(255, 255, 255, .88);
  border-radius: 999px;
  padding: .32rem .65rem;
  font-size: .72rem;
  color: #9ab0c3;
}

/* トグルスイッチ行 */
.mock-toggle-row {
  display: flex;
  gap: .6rem;
  padding: .42rem .65rem;
  background: rgba(8, 74, 77, .72);
}

.mock-toggle-item {
  display: flex;
  align-items: center;
  gap: .28rem;
  font-size: .68rem;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
}

.mock-toggle-sw {
  width: 1.55rem;
  height: .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  border: 1px solid rgba(255, 255, 255, .35);
  flex-shrink: 0;
}

/* フィルターパネル（白カード） */
.mock-filter-card {
  background: #fff;
  padding: .6rem .7rem .65rem;
  display: grid;
  gap: .3rem;
  border-top: 1px solid #e2ecf5;
  border-radius: 0 0 14px 14px;
}

.mock-fl-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 1.85rem;
}

.mock-fl-label {
  font-size: .7rem;
  color: #4a6275;
  font-weight: 700;
  width: 4.8rem;
  flex-shrink: 0;
  line-height: 1.3;
}

.mock-fl-sel {
  flex: 1;
  padding: .3rem .5rem;
  border: 1px solid #c8d6e4;
  border-radius: 7px;
  background: #f8fbff;
  font-size: .71rem;
  color: #3a5570;
}

.mock-fl-footer {
  display: flex;
  justify-content: flex-end;
  gap: .4rem;
  padding-top: .25rem;
}

.mock-fl-btn-clear {
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid #c4d3e2;
  background: #f4f8fd;
  font-size: .73rem;
  color: #4a6275;
  cursor: default;
}

.mock-fl-btn-close {
  padding: .35rem .85rem;
  border-radius: 999px;
  border: none;
  background: #1a6eb3;
  color: #fff;
  font-size: .73rem;
  font-weight: 700;
  cursor: default;
}

/* Site footer */
.site-footer {
  margin-top: 3rem;
  padding: 1.8rem 0 1.2rem;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.site-footer .brand {
  color: #1f3f52;
  margin-left: 0;
}

.site-footer .brand-logo {
  filter: none;
  opacity: 1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem .9rem;
}

.footer-nav a {
  text-decoration: none;
  font-size: .84rem;
  color: #4a6678;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #0f8677;
}

.footer-nav a[aria-current="page"] {
  color: #0f8677;
}

.copyright {
  margin: 0;
  font-size: .78rem;
  color: #9ab0be;
}

@media (max-width: 640px) {
  .terms-body {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .terms-hero {
    padding: 1.8rem 1.2rem;
  }

  .terms-section {
    border-radius: 18px;
    padding: .95rem .84rem .9rem;
  }

  .terms-flow li {
    font-size: .85rem;
  }

  .terms-mini-map {
    grid-template-columns: 1fr;
  }

  .terms-step-panels {
    grid-template-columns: 1fr;
  }

  .terms-step-title {
    font-size: .89rem;
  }

  .terms-step-summary {
    padding: .72rem .76rem;
    gap: .58rem;
  }

  .terms-step-body {
    padding: 0 .76rem .76rem;
  }

  .terms-step-summary-note {
    font-size: .76rem;
  }

  .terms-step-label,
  .terms-step-tip-text,
  .terms-chip {
    font-size: .8rem;
  }
}

/* ===========================
   UI ガイドツアー
   =========================== */
.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  pointer-events: all;
}

.tour-spotlight {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.68);
  transition:
    top .32s cubic-bezier(.4,0,.2,1),
    left .32s cubic-bezier(.4,0,.2,1),
    width .32s cubic-bezier(.4,0,.2,1),
    height .32s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.tour-tooltip {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.3rem 1rem;
  width: min(320px, calc(100vw - 32px));
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  z-index: 1;
  transition:
    top .32s cubic-bezier(.4,0,.2,1),
    left .32s cubic-bezier(.4,0,.2,1);
}

.tour-spotlight.no-transition,
.tour-tooltip.no-transition {
  transition: none !important;
}

.tour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.tour-step-counter {
  font-size: .74rem;
  font-weight: 700;
  color: #11a36e;
  letter-spacing: .06em;
}

.tour-close-btn {
  background: none;
  border: none;
  padding: .2rem;
  cursor: pointer;
  color: #8a9cb0;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-close-btn:hover {
  color: #4a6880;
}

.tour-step-title {
  margin: 0 0 .42rem;
  font-size: .96rem;
  font-weight: 700;
  color: #0e2131;
  line-height: 1.3;
}

.tour-step-text {
  margin: 0 0 .9rem;
  font-size: .84rem;
  color: #3a5068;
  line-height: 1.65;
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
}

.tour-skip-btn {
  background: none;
  border: none;
  padding: .4rem .2rem;
  cursor: pointer;
  color: #8a9cb0;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tour-next-btn {
  border: none;
  padding: .52rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  font-family: var(--font-main);
  background: #11a36e;
  color: #fff;
  transition: background .15s, transform .12s;
}

.tour-next-btn:hover {
  background: #0d8d5f;
  transform: translateY(-1px);
}

.tour-next-btn:active {
  transform: translateY(0);
}
