/* ENISHI profile links and a deliberate, click-to-load video introduction. */
.profile-media-section { width: 100%; min-width: 0; margin-bottom: 28px; padding: 22px 24px; border: 1px solid #ead5df; border-radius: 15px; background: #fffdfd; }
.profile-media-heading { display: flex; align-items: center; justify-content: space-between; gap: 13px; width: 100%; max-width: 720px; min-width: 0; margin: 0 auto 13px; }
.profile-section .profile-media-heading h2 { min-width: 0; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.8; }
.profile-media-heading > .text-link { flex-shrink: 0; color: #946e80; font-size: 10px; }
.profile-media-icon { display: block; flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.profile-media-links { display: grid; gap: 12px; width: 100%; max-width: 720px; min-width: 0; margin-inline: auto; }
.profile-website-link { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 16px 17px; border: 1px solid #e8d1dc; border-radius: 12px; background: linear-gradient(120deg, #fffdfd, #fff7fa); color: #7c5368; transition: border-color .18s, box-shadow .18s, background .18s; }
.profile-website-link:hover { border-color: #c997ad; background: #fff6fa; box-shadow: 0 5px 18px #8b3d5608; }
.profile-website-link:focus-visible { outline: 2px solid var(--gold, #b08a50); outline-offset: 4px; }
.profile-website-icon { display: grid; place-items: center; flex: 0 0 41px; width: 41px; height: 41px; border: 1px solid #e4c9d6; border-radius: 10px; background: #f9eaf1; color: #a17c49; }
.profile-website-icon svg { width: 21px; height: 21px; }
.profile-website-copy { display: block; flex: 1; min-width: 0; }
.profile-website-copy > strong { display: block; color: #795066; font-size: 12px; font-weight: 500; line-height: 1.8; }
.profile-website-url { display: block; min-width: 0; margin-top: 2px; color: #816975; font-size: 10px; font-weight: 400; line-height: 1.75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-media-external { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 23px; height: 27px; color: #af899c; }
.profile-media-external svg { width: 16px; height: 16px; }
.profile-video-block { width: 100%; max-width: 720px; min-width: 0; margin: 16px auto 0; }
.profile-media-links > .profile-video-block { margin-top: 0; }
.profile-video-frame { position: relative; isolation: isolate; width: 100%; min-width: 0; min-height: 200px; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #e6cbd7; border-radius: 13px; background: linear-gradient(135deg, #f7e0ea 0%, #faedf2 60%, #f5ead8 100%); }
.profile-video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 200px; min-width: 0; padding: 23px; border: 0; border-radius: inherit; background: transparent; color: #7d4d65; text-align: center; cursor: pointer; }
.profile-video-placeholder > :not(.profile-video-decoration) { position: relative; z-index: 1; }
.profile-video-placeholder:focus-visible { outline: 3px solid var(--gold, #b08a50); outline-offset: -6px; }
.profile-video-decoration { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 80% 5%, #f5dcad52 0%, transparent 52%); }
.profile-video-decoration::before { content: ''; position: absolute; width: 224px; height: 224px; top: -124px; right: -95px; border: 1px solid #b08a5040; border-radius: 50%; box-shadow: 0 0 0 24px #b08a5009, 0 0 0 50px #b08a5005; }
.profile-video-decoration::after { content: ''; position: absolute; width: 148px; height: 148px; bottom: -92px; left: -49px; border: 1px solid #bd8ba53d; border-radius: 50%; box-shadow: 0 0 0 22px #bd8ba508; }
.profile-video-play { display: grid; place-items: center; width: 51px; height: 51px; border: 1px solid #d0ac73; border-radius: 50%; background: linear-gradient(145deg, #f9e9c8, #eed19e); color: #936b35; box-shadow: 0 4px 18px #a47d3e14, 0 0 0 7px #fffcf43d; transition: transform .18s, box-shadow .18s; }
.profile-video-play svg { width: 19px; height: 19px; margin-left: 3px; fill: currentColor; stroke: none; }
.profile-video-placeholder:hover .profile-video-play { transform: translateY(-2px) scale(1.035); box-shadow: 0 7px 22px #a47d3e24, 0 0 0 8px #fffcf452; }
.profile-video-eyebrow { display: block; margin-top: 13px; color: #9c7a46; font-family: Arial, sans-serif; font-size: 8px; font-weight: 600; line-height: 1.6; letter-spacing: .13em; }
.profile-video-placeholder > strong { display: block; margin-top: 5px; color: #795067; font-family: 'Noto Serif JP', serif; font-size: 17px; font-weight: 500; line-height: 1.7; letter-spacing: .025em; }
.profile-video-subtitle { display: block; margin-top: 4px; color: #846a77; font-size: 10px; font-weight: 400; line-height: 1.8; }
.profile-video-iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 200px; min-width: 0; margin: 0; border: 0; border-radius: inherit; background: #2b2028; }
.profile-video-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 13px; min-width: 0; padding: 10px 2px 0; }
.profile-video-external { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; color: #946a7e; font-size: 10px; font-weight: 400; line-height: 1.9; white-space: nowrap; }
.profile-video-external svg { width: 13px; height: 13px; }
.profile-video-external:hover { text-decoration: underline; text-underline-offset: 4px; }
.profile-section .profile-video-note { flex: 1; min-width: 0; margin: 0; color: #7d6873; font-size: 9px; font-weight: 400; line-height: 1.9; text-align: right; overflow-wrap: anywhere; }
.profile-media-empty { display: flex; align-items: flex-start; gap: 12px; width: 100%; max-width: 720px; min-width: 0; margin-inline: auto; padding: 18px; border: 1px dashed #ddc1cf; border-radius: 11px; background: #fff9fc; }
.profile-media-empty-mark { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border: 1px solid #e3cead; border-radius: 9px; background: #fcf5e8; color: #b08a50; }
.profile-media-empty-mark svg { width: 19px; height: 19px; }
.profile-media-empty > div { flex: 1; min-width: 0; }
.profile-media-empty strong { display: block; color: #876274; font-size: 12px; font-weight: 500; line-height: 1.8; }
.profile-section .profile-media-empty p { margin: 4px 0 0; color: #846e79; font-size: 10px; font-weight: 400; line-height: 1.9; overflow-wrap: anywhere; }
.profile-media-empty > .text-link { flex-shrink: 0; align-self: center; font-size: 10px; color: #8b3d56; }
.profile-links-editor { grid-column: 1 / -1; min-width: 0; margin-top: 3px; padding: 18px; border: 1px solid #e6ced9; border-radius: 12px; background: linear-gradient(130deg, #fffafc, #fff8fa); }
.profile-links-editor-title { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0 0 13px; color: #765064; font-size: 12px; font-weight: 500; line-height: 1.8; }
.profile-links-editor-title svg { flex-shrink: 0; width: 16px; height: 16px; color: #a58150; }
.profile-link-fields.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 17px; min-width: 0; }
.profile-links-editor .profile-link-error { display: block; margin-top: 7px; padding: 9px 11px; border: 1px solid #e6bdcd; border-radius: 7px; background: #fff0f5; color: #8c425c; font-size: 10px; font-weight: 400; line-height: 1.85; overflow-wrap: anywhere; }
.profile-links-editor .profile-link-error:empty { display: none; }

@media (max-width: 980px) {
  .profile-website-link { gap: 11px; padding: 14px 15px; }
  .profile-video-footer { flex-direction: column; gap: 5px; }
  .profile-section .profile-video-note { text-align: left; }
  .filter-toggle { white-space: nowrap; flex-shrink: 0; }
}
@media (max-width: 620px) {
  .profile-media-section { margin-bottom: 27px; padding: 19px 16px; border-radius: 12px; }
  .profile-media-heading { gap: 10px; margin-bottom: 13px; }
  .profile-section .profile-media-heading h2 { font-size: 13px; line-height: 1.8; }
  .profile-media-heading > .text-link { font-size: 10px; }
  .profile-website-link { gap: 10px; padding: 14px 13px; border-radius: 11px; }
  .profile-website-icon { flex-basis: 37px; width: 37px; height: 37px; border-radius: 9px; }
  .profile-website-icon svg { width: 20px; height: 20px; }
  .profile-website-copy > strong { font-size: 12px; }
  .profile-website-url { margin-top: 3px; font-size: 10px; }
  .profile-media-external { width: 18px; }
  .profile-media-external svg { width: 15px; height: 15px; }
  .profile-video-block { margin-top: 14px; }
  .profile-video-frame { min-height: 200px; border-radius: 11px; }
  .profile-video-placeholder { min-height: 200px; padding: 21px 18px; }
  .profile-video-play { width: 47px; height: 47px; }
  .profile-video-play svg { width: 18px; height: 18px; }
  .profile-video-eyebrow { margin-top: 12px; font-size: 8px; }
  .profile-video-placeholder > strong { margin-top: 5px; font-size: 16px; }
  .profile-video-subtitle { margin-top: 4px; font-size: 10px; }
  .profile-video-iframe { min-height: 200px; }
  .profile-video-footer { padding-top: 10px; gap: 5px; }
  .profile-video-external { font-size: 10px; }
  .profile-section .profile-video-note { font-size: 9px; }
  .profile-media-empty { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px 11px; padding: 16px 14px; }
  .profile-media-empty-mark { width: 34px; height: 34px; }
  .profile-media-empty strong { font-size: 11px; }
  .profile-section .profile-media-empty p { font-size: 10px; }
  .profile-media-empty > .text-link { grid-column: 2; justify-self: start; align-self: start; padding-left: 0; font-size: 10px; }
  .profile-links-editor { padding: 16px 14px; border-radius: 11px; }
  .profile-links-editor-title { font-size: 12px; margin-bottom: 13px; }
  .profile-link-fields.form-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-website-link, .profile-video-play { transition: none; }
}
