/* Profile links, with note as the lead reading destination. */
.social-section { padding: 47px 0 62px; border-top: 1px solid rgba(244,238,223,.32); }
.social-eyebrow { font-size: 9px; letter-spacing: .13em; color: var(--soft-cream); margin: 0 0 15px; }
.social-section h2 { font-family: var(--serif); font-size: clamp(25px,3vw,36px); font-weight: 500; letter-spacing: .025em; line-height: 1.7; margin: 0 0 14px; }
.social-intro { font-size: 12px; color: var(--soft-cream); line-height: 2; margin: 0 0 27px; }
.social-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.social-link { display: flex; flex-direction: column; color: var(--cream); border: 1px solid #a8b09a; border-radius: 12px; padding: 26px 28px 22px; min-height: 212px; transition: background .15s; }
.social-link:hover { background: #56634c; }
.social-link:focus-visible { outline-color: var(--cream); }
.social-note { background: var(--orange); color: #202c1b; border-color: var(--orange); }
.social-note:hover { background: #ff823d; }
.social-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 156px; margin-bottom: 16px; }
.social-name { font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 37px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; min-width: 0; }
.social-art { display: flex; align-items: center; justify-content: center; flex: 0 0 48%; min-width: 0; height: 156px; }
.social-art img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.social-description { font-size: 11px; line-height: 1.9; }
.social-wink { font-family: var(--serif); font-size: 12px; line-height: 1.9; margin-top: 9px; }
.social-cta { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 11px; border-top: 1px solid rgba(244,238,223,.32); margin-top: 22px; padding-top: 13px; }
.social-cta>span { font-size: 23px; line-height: 1; }
.social-note .social-cta { border-color: rgba(32,44,27,.3); }
.social-new-tab { color: var(--soft-cream); font-size: 10px; margin: 14px 0 0; }
.result-social-link { font-size: 11px; color: #46533d; min-height: 38px; display: inline-flex; align-items: center; border-bottom: 1px solid #a6ae96; }
@media (max-width:1050px) { .social-name { font-size: 32px; } }
@media (max-width:780px) {
  .social-section { padding: 35px 0 43px; }
  .social-links { grid-template-columns: 1fr; gap: 11px; }
  .social-link { padding: 22px 24px 18px; min-height: 170px; }
  .social-name { font-size: 32px; }
  .social-card-top { min-height: 136px; margin-bottom: 12px; }
  .social-art { height: 136px; flex-basis: 44%; }
  .social-cta { margin-top: 17px; padding-top: 10px; }
}
@media (max-width:600px) {
  .social-link { padding: 22px 20px 18px; }
  .social-card-top { min-height: 126px; }
  .social-art { height: 126px; flex-basis: 46%; }
  .social-wink { font-size: 14px; }
}
@media (max-width:360px) { .social-section h2 { font-size: 24px; } .social-name { font-size: 29px; } }
@media print { .social-section,.result-social-link { display: none!important; } }

/* A playful image button and a separate, reliable SNS link. */
.social-play-hint { font-size: 12px; line-height: 1.9; color: var(--soft-cream); margin: -12px 0 20px; }
.cat-play {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  position: relative;
  overflow: visible;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cat-play img { pointer-events: none; transform-origin: 50% 50%; }
.cat-play:hover,.cat-play:active { background: rgba(244,238,223,.1); border-color: rgba(244,238,223,.65); }
.cat-play.has-replied { background: rgba(244,238,223,.2); border-color: var(--orange); box-shadow: inset 0 0 0 2px var(--cream); }
.cat-play:focus-visible,.social-cta:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; }
.social-cta { min-height: 44px; padding-bottom: 5px; text-decoration: underline; text-underline-offset: 4px; }
/* Reserve the caption's space before interaction, so nothing jumps or covers a link. */
.social-card-top { padding-bottom: 28px; }
.cat-play-caption {
  position: absolute;
  bottom: -27px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid #c7b391;
  border-radius: 12px;
  background: var(--cream);
  color: #283423;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .025em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.cat-play.is-playing .cat-play-caption { animation: oneko-play-caption 1800ms ease-in-out 1; }
.cat-play.is-spinning img {
  animation: oneko-play-spin 1200ms cubic-bezier(.45,0,.25,1) 1, oneko-play-float 1200ms ease-in-out 1;
}
@keyframes oneko-play-spin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes oneko-play-float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(.78); }
}
@keyframes oneko-play-caption {
  0%,100% { opacity: 0; transform: translateX(-50%) translateY(3px); }
  18%,76% { opacity: 1; transform: translateX(-50%) translateY(0); }
}
/* Keep the long Threads name clear of its cat at compact desktop widths. */
@media (min-width:781px) and (max-width:1200px) {
  .social-card-top { flex-direction: column; gap: 12px; }
  .social-art { width: 100%; flex: 0 0 auto; }
  .cat-play img { max-width: min(100%, 140px); max-height: 124px; }
}
@media (prefers-reduced-motion:reduce) {
  .cat-play.is-spinning img { animation: none !important; rotate: none !important; transform: none !important; }
  .cat-play.is-playing .cat-play-caption { animation: none !important; opacity: 1; transform: translateX(-50%); }
  .cat-play { transition: none !important; }
}
.cat-play.has-replied .cat-play-caption { animation: none; opacity: 1; }
