/*! MorphonLink | Copyright (c) 2026 Zumasa. Original portions only: LICENSE.txt. Third-party materials: ASSET_LICENSES.md. */
.site-document { --ink: #273133; --muted: #586668; --line: #dce3e3; --accent: #25666c; box-sizing: border-box; display: flex; flex-direction: column; min-height: calc(100dvh - var(--site-header-height, 48px)); color: var(--ink); background: #fff; font: 15px/1.55 "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif; overflow-wrap: anywhere; }
.site-document * { box-sizing: border-box; }
.site-document a { color: var(--accent); text-underline-offset: 3px; }
.site-document a:hover { color: #943e50; }
.site-document a:focus-visible { outline: 2px solid #943e50; outline-offset: 3px; }
.site-document .site-main { width: min(760px, 100%); flex: 1; padding: 26px 24px 20px; margin: 0 auto; }
.site-main:focus { outline: none; }
.site-document h1 { margin: 0 0 14px; font-size: 24px; line-height: 1.3; font-weight: 750; }
.site-document h2 { margin: 18px 0 6px; font-size: 16px; line-height: 1.4; }
.site-document p { margin: 0 0 10px; }
.site-document ul, .site-document ol { padding-left: 1.4em; margin: 0 0 12px; }
.site-document li + li { margin-top: 5px; }
.site-document .page-notice { padding: 7px 10px; margin: 0 0 14px; border-left: 3px solid #a24d63; background: #fbf5f7; font-size: 13px; }
.site-document .guide-list { margin: 0; }
.site-document .guide-list div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.site-document dt { margin: 0; font-weight: 650; }
.site-document dd { margin: 0; }
.site-document .small-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.guide-contents { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px; font-size: 14px; }
.model-guide .guide-start { margin-bottom: 14px; }
.guide-screens { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.guide-figure { min-width: 0; margin: 0; }
.guide-figure a { display: block; }
.guide-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.guide-crop { display: block; position: relative; overflow: hidden; border-radius: 4px; outline: 1px solid var(--line); }
.guide-crop img { position: absolute; max-width: none; border: 0; border-radius: 0; }
.guide-screens img { height: 260px; object-fit: contain; background: #f7f9f9; }
.guide-figure figcaption { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.model-guide .guide-image-note { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.model-guide section { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.model-guide section h2 { margin: 0 0 10px; font-size: 18px; }
.model-guide h3 { margin: 12px 0 6px; font-size: 15px; }
.guide-comparison { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 12px; font-size: 14px; line-height: 1.5; }
.guide-comparison caption { padding-bottom: 7px; text-align: left; color: var(--muted); font-size: 13px; }
.guide-comparison th, .guide-comparison td { padding: 9px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.guide-comparison thead th { background: #eef5f5; color: #214f54; }
.guide-comparison th:first-child { width: 22%; }
.guide-comparison tbody th { font-weight: 650; }
.guide-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); align-items: start; gap: 22px; margin: 12px 0; }
.guide-detail > div { min-width: 0; }
.guide-detail h3:first-child { margin-top: 0; }
.guide-detail .guide-list > div { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
.guide-settings { grid-template-columns: minmax(0, 1fr) 195px; }
.model-guide .guide-back { margin: 20px 0 0; }
@media (max-width: 600px) {
  .guide-screens { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .guide-screens img { height: auto; max-height: 280px; object-fit: contain; }
  .guide-screens .guide-phone img { height: 280px; }
  .guide-detail { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .guide-detail .guide-figure { width: min(334px, 100%); justify-self: center; }
  .guide-settings .guide-figure { width: min(195px, 100%); }
  .guide-comparison th, .guide-comparison td { padding: 8px 6px; }
  .model-guide .guide-list > div { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
}
.site-document .link-list { margin-top: 16px; }
.site-document .site-policies { margin-top: 18px; }
.site-contact { display: grid; gap: 9px; margin: 8px 0 16px; }
.site-contact label { display: grid; gap: 4px; min-width: 0; font-size: 14px; }
.contact-fields { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; }
.site-contact input:not([type="checkbox"]), .site-contact select, .site-contact textarea { width: 100%; min-width: 0; min-height: 38px; padding: 7px 9px; border: 1px solid #b6c5c7; border-radius: 4px; color: inherit; background: #fff; font: inherit; }
.site-contact textarea { resize: vertical; min-height: 96px; }
.site-contact .contact-consent { display: flex; align-items: flex-start; gap: 7px; }
.contact-consent input { flex: none; margin: 4px 0 0; }
.site-contact .contact-note { margin: 0; color: var(--muted); font-size: 12px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.contact-actions button { min-height: 38px; padding: 7px 18px; border: 1px solid #25666c; border-radius: 4px; background: #25666c; color: #fff; font: inherit; cursor: pointer; }
.contact-actions button:disabled { opacity: .5; cursor: default; }
.contact-actions p { flex: 1; min-width: 180px; margin: 0; color: var(--muted); font-size: 13px; }
.site-contact :is(input, select, textarea, button):focus-visible { outline: 2px solid #943e50; outline-offset: 2px; }
.text-forum { font-size: 16px; line-height: 1.5; }
.forum-heading, .forum-commands, .forum-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.forum-heading { justify-content: space-between; margin-bottom: 12px; }
.site-document .forum-heading h1 { margin: 0; }
.text-forum button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 10px; border: 1px solid #b6c5c7; border-radius: 4px; background: #fff; color: #25666c; font: inherit; font-size: 14px; cursor: pointer; }
.text-forum button:disabled { opacity: .5; cursor: default; }
.text-forum button svg { flex: none; width: 18px; height: 18px; }
.text-forum button[aria-expanded="true"], .text-forum .forum-primary { background: #25666c; color: #fff; border-color: #25666c; }
.text-forum :is(input, textarea, button):focus-visible { outline: 2px solid #943e50; outline-offset: 2px; }
.site-document .forum-notice, .site-document .forum-list-status { color: var(--muted); font-size: 14px; }
.forum-compose { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 0 14px; margin-bottom: 14px; }
.forum-form { display: grid; gap: 9px; margin-top: 12px; }
.forum-fields { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 12px; }
.forum-form label { display: grid; min-width: 0; gap: 3px; font-size: 14px; }
.forum-form input, .forum-form textarea { width: 100%; min-width: 0; padding: 7px 9px; border: 1px solid #b6c5c7; border-radius: 4px; background: #fff; color: inherit; font: inherit; font-size: 16px; }
.forum-form textarea { resize: vertical; min-height: 90px; }
.site-document .forum-submit p { flex: 1; min-width: 180px; margin: 0; color: var(--muted); font-size: 14px; }
.forum-thread { padding: 16px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.site-document .forum-thread h2 { margin: 0 0 4px; font-size: 18px; }
.forum-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.forum-meta strong { color: #374d50; font-weight: 600; }
.site-document .forum-message { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 12px; }
.forum-replies { border-left: 2px solid #b6c5c7; margin-top: 12px; padding-left: 14px; }
.site-document .forum-replies-list { list-style: none; padding: 0; margin: 0; }
.forum-reply { padding: 10px 0 2px; border-bottom: 1px solid var(--line); }
.forum-replies > [role="status"] { color: var(--muted); font-size: 14px; }
.forum-replies .forum-commands { margin-top: 10px; }
.text-forum .forum-more { display: flex; margin: 12px auto; }
.text-forum [hidden] { display: none !important; }
@media (max-width: 600px) {
  .text-forum button { min-height: 44px; }
  .forum-fields { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .forum-replies { padding-left: 10px; }
  .site-document .forum-thread h2 { font-size: 17px; }
}
.site-document .site-main:has(.pose-gallery) { width: min(960px, 100%); }
.gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gallery-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.gallery-toolbar input { width: 190px; max-width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid #b6c5c7; border-radius: 4px; background: #fff; color: inherit; font: inherit; }
.gallery-filter-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-width: 0; max-width: 100%; }
.gallery-filter-options { display: contents; }
.gallery-filter-group { display: flex; flex: 0 0 auto; overflow: hidden; border: 1px solid #b6c5c7; border-radius: 4px; }
.gallery-filter-option { position: relative; display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 6px; border: 0; border-radius: 0; background: #fff; color: #586668; cursor: pointer; }
.gallery-filter-option svg { width: 22px; height: 22px; }
.gallery-filter-option[aria-pressed="true"] { background: #25666c; color: #fffdf8; }
.gallery-filter-option:hover { box-shadow: inset 0 0 0 1px #25666c; }
.pose-gallery .gallery-filter-option:focus-visible { outline-offset: -3px; }
.gallery-filter-badge { position: absolute; right: 1px; bottom: 1px; display: grid; place-items: center; min-width: 16px; height: 13px; padding: 0 2px; border-radius: 2px; background: #fffdf8; color: #25666c; font-size: 10px; font-weight: 800; line-height: 1; }
.gallery-count { margin-left: auto; font-size: 13px; color: #586668; white-space: nowrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #dce3e3; border-radius: 4px; }
.site-document .gallery-pose { display: flex; flex: 1; flex-direction: column; min-width: 0; color: #273133; text-decoration: none; }
.gallery-pose img { display: block; width: 100%; height: 210px; object-fit: contain; background: #f0f4f4; }
.gallery-pose span { display: block; padding: 7px 10px; font-size: 14px; }
.gallery-pair-badge { float: right; color: #586668; font-size: 11px; }
.gallery-card:hover { border-color: #25666c; }
.site-document .gallery-pose:hover { color: #25666c; }
.gallery-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 0 6px 4px 10px; }
.gallery-card-footer small { min-width: 0; overflow-wrap: anywhere; font-size: 11px; color: #586668; }
.gallery-card-footer:has(.gallery-like) { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.gallery-card-footer:has(.gallery-like) small { grid-column: 1 / -1; }
.gallery-like { display: inline-flex; align-items: center; justify-self: start; gap: 5px; min-width: 52px; min-height: 36px; padding: 5px; border: 1px solid transparent; border-radius: 4px; color: #586668; background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.gallery-like svg { width: 20px; height: 20px; flex: 0 0 20px; }
.gallery-like[aria-pressed="true"] { color: #a72e4f; }
.gallery-like[aria-pressed="true"] svg { fill: currentColor; }
.gallery-like:hover:not(:disabled) { border-color: #b6c5c7; }
.gallery-like:disabled { cursor: default; }
.gallery-sort { display: flex; flex: 0 0 auto; border: 1px solid #b6c5c7; border-radius: 4px; overflow: hidden; }
.gallery-sort-option { display: grid; place-items: center; width: 36px; height: 36px; padding: 6px; border: 0; border-radius: 0; background: #fff; color: #586668; cursor: pointer; }
.gallery-sort-option svg { width: 22px; height: 22px; }
.gallery-sort-option[aria-pressed="true"] { color: #fffdf8; background: #25666c; }
.pose-gallery .gallery-sort-option:focus-visible { outline-offset: -3px; }
.gallery-favorite { display: inline-grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 6px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #586668; cursor: pointer; }
.gallery-favorite svg { width: 20px; height: 20px; }
.gallery-favorite[aria-pressed="true"] { color: #8b6000; background: #fff1c7; }
.gallery-favorite[aria-pressed="true"] svg { fill: #edbd46; }
.gallery-favorite:hover { border-color: #b6c5c7; }
.gallery-status { margin: 0 0 12px; color: #a13838; font-size: 13px; }
.gallery-status:empty { display: none; }
.gallery-tabs { display: flex; gap: 4px; margin: 0 0 12px; border-bottom: 1px solid #dce3e3; }
.gallery-tabs button { min-height: 40px; padding: 6px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #586668; cursor: pointer; font: inherit; }
.gallery-tabs button[aria-pressed="true"] { border-color: #25666c; color: #25666c; background: #eef5f5; }
.gallery-tabs [data-gallery-refresh] { margin-left: auto; }
.gallery-tabs [data-gallery-create] { align-self: center; margin-left: auto; font-size: 13px; }
.gallery-tabs:has([data-gallery-create]:not([hidden])) [data-gallery-refresh] { margin-left: 0; }
.gallery-submissions > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0; font-size: 13px; }
.gallery-submissions button { min-height: 36px; border: 1px solid #b6c5c7; border-radius: 4px; padding: 5px 9px; background: #fff; color: #25666c; cursor: pointer; }
.gallery-tabs svg { width: 18px; height: 18px; vertical-align: middle; }
.gallery-preview-missing { display: grid; place-items: center; height: 210px; background: #f0f4f4; color: #586668; font-size: 12px; }
.gallery-publication-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 6px 8px; border-top: 1px solid #dce3e3; }
.gallery-publication-actions small { margin-right: auto; color: #586668; }
.gallery-publication-actions button, .gallery-dialog-actions button, .gallery-more { min-height: 36px; padding: 5px 9px; border: 1px solid #b6c5c7; border-radius: 4px; background: #fff; color: #25666c; cursor: pointer; }
.gallery-publication-actions button:disabled { opacity: .5; cursor: default; }
.gallery-more { display: block; margin: 16px auto; }
.pose-gallery [hidden] { display: none !important; }
.gallery-publish-dialog { box-sizing: border-box; width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 20px; border: 1px solid #b6c5c7; border-radius: 6px; color: #273133; background: #fffdf8; }
.gallery-publish-dialog::backdrop { background: rgb(0 0 0 / .35); }
.gallery-publish-dialog h2 { margin: 0; font-size: 18px; }
.gallery-publish-preview { display: block; width: 120px; height: 150px; object-fit: contain; margin: 8px auto; }
.gallery-publish-dialog p { font-size: 13px; line-height: 1.5; }
.gallery-publish-dialog label { display: grid; gap: 4px; margin: 10px 0; font-size: 14px; }
.gallery-publish-dialog input:not([type="checkbox"]) { box-sizing: border-box; width: 100%; min-height: 40px; padding: 6px 8px; border: 1px solid #b6c5c7; border-radius: 4px; font: inherit; }
.gallery-publish-dialog .gallery-publish-consent { display: flex; align-items: center; gap: 8px; }
.gallery-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.gallery-dialog-actions [type="submit"] { color: #fffdf8; background: #25666c; }
.gallery-dialog-actions button:disabled { opacity: .5; cursor: default; }
.gallery-empty { grid-column: 1 / -1; padding: 24px 0; }
.gallery-empty button { margin-left: 12px; border: 0; padding: 8px; background: transparent; color: #25666c; font: inherit; text-decoration: underline; cursor: pointer; }
.pose-gallery button:focus-visible, .pose-gallery input:focus-visible, .pose-gallery a:focus-visible { outline: 2px solid #943e50; outline-offset: 2px; }
.site-document .site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; width: min(712px, calc(100% - 48px)); margin: 0 auto; padding: 12px 0 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (max-width: 600px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .site-contact input:not([type="checkbox"]), .site-contact select, .contact-actions button { min-height: 44px; }
  .site-document .site-main { padding: 20px 18px 16px; }
  .site-document h1 { font-size: 22px; }
  .site-document .guide-list div { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 8px 0; }
  .site-document .site-footer { width: calc(100% - 36px); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-pose img { height: 140px; }
  .gallery-preview-missing { height: 140px; }
  .gallery-tabs button, .gallery-publication-actions button, .gallery-dialog-actions button { min-height: 44px; }
  .gallery-pose span { padding: 6px 8px; font-size: 13px; }
  .gallery-toolbar input { width: 100%; min-height: 44px; }
  .gallery-toolbar { gap: 8px; }
  .gallery-filter-buttons { gap: 8px; }
  .gallery-filter-option { flex-basis: 44px; width: 44px; height: 44px; }
  .gallery-filter-group[data-gallery-group="bodyVariant"] { order: 1; }
  .gallery-filter-group[data-gallery-group="bodyProportion"] { order: 3; }
  .gallery-filter-buttons > .gallery-favorite { order: 2; }
  .gallery-favorite { flex-basis: 44px; width: 44px; height: 44px; }
  .gallery-like { min-height: 44px; }
  .gallery-sort-option { width: 44px; height: 44px; }
  .gallery-card-footer { padding-left: 8px; padding-right: 2px; }
}
