/* 間取り antenna（9/7 全面書き直し）。にじエロ型の流用をやめ、実在アンテナ porn-selection.net の実測値から起こす。
 * 実測（1280px・9/7）: 地 #F3F4F6／本文 14.5px／節の帯 #19BCE5 白抜き41px／上段カード 111×158（絵 109×97 cover）
 *   ／本体 3列 278｜660｜285／中央は文字だけの行。調査は knowledge/strategy/antenna-site-models-20260907.md
 * gallery（yms-g*）の部品は一切使わない。この面のクラスは ant-* だけ。 */

.yms-layout-antenna {
  --ant-bg: #F3F4F6; --ant-line: #DDD; --ant-key: #19BCE5; --ant-key-d: #0F9BC0; --ant-ink: #333; --ant-sub: #888;
  --ant-head: #2C3742; --ant-y: #F5A623; --ant-w: 1280px;
  background: var(--ant-bg); color: var(--ant-ink);
  font: 14.5px/1.6 -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", sans-serif;
}
.yms-layout-antenna img { max-width: 100%; }
/* 親テーマ（Cocoon）の3枚の幅を無効化。gallery は style.css:365 で `#content:has(.yms-shell)` を使っているが、
   この面は yms-shell を使わないので body の class で同じことをする（9/7 実測: これが無いと中身が792pxに潰れる） */
.yms-layout-antenna #content, .yms-layout-antenna #content .content-in, .yms-layout-antenna #content #main,
.yms-layout-antenna #container, .yms-layout-antenna .wrap, .yms-layout-antenna .main-inner {
  display: block; max-width: none; width: auto; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none;
}
.yms-layout-antenna #sidebar, .yms-layout-antenna .sidebar { display: none; }
.ant-page { background: var(--ant-bg); }
.ant-wrap { max-width: var(--ant-w); margin: 0 auto; padding: 12px 12px 40px; }

/* 姉妹サイトのタブ（他の面と同じ28px段） */
.yms-sisters { background: #1A1A1A; color: #BDBDBD; }
.yms-sisters__in { max-width: var(--ant-w); margin: 0 auto; padding: 0 12px; min-height: 28px; display: flex; align-items: center; gap: 2px; overflow-x: auto; white-space: nowrap; }
.yms-sisters__lab { font-size: 11px; letter-spacing: .1em; color: #8A8A8A; margin-right: 8px; }
.yms-sisters a { color: #BDBDBD; text-decoration: none; font-size: 12px; font-weight: 700; padding: 0 10px; min-height: 28px; display: inline-flex; align-items: center; }
.yms-sisters a.is-here { color: #fff; border-bottom: 2px solid var(--ant-key); }

/* 帯: 左に名前・中にジャンルのタブ・右に検索（porn-selection と同じ1段） */
.ant-head { background: var(--ant-head); color: #fff; }
.ant-head__in { max-width: var(--ant-w); margin: 0 auto; padding: 0 12px; min-height: 51px; display: flex; align-items: center; gap: 12px; }
.ant-logo { color: #fff; text-decoration: none; font-size: 20px; font-weight: 800; white-space: nowrap; letter-spacing: .02em; }
.ant-tabs { display: flex; gap: 6px; flex: 1; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.ant-tabs::-webkit-scrollbar { display: none; }
.ant-tab { flex: 0 0 auto; background: #ECF0F1; color: #333; text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 4px; padding: 0 12px; min-height: 32px; display: inline-flex; align-items: center; }
.ant-tab.is-on { background: var(--ant-key); color: #fff; }
.ant-search { display: flex; flex: 0 0 220px; background: #fff; border-radius: 4px; overflow: hidden; }
.ant-search input { flex: 1; min-width: 0; border: 0; padding: 0 10px; height: 34px; font-size: 13px; }
.ant-search button { border: 0; background: #fff; color: #666; width: 34px; font-size: 16px; cursor: pointer; }
.ant-sub { background: #22303A; }
.ant-sub__in { max-width: var(--ant-w); margin: 0 auto; padding: 0 12px; display: flex; gap: 4px; min-height: 34px; align-items: center; overflow-x: auto; white-space: nowrap; }
.ant-sub a { color: #C6D2DA; text-decoration: none; font-size: 12px; font-weight: 700; padding: 0 10px; min-height: 34px; display: inline-flex; align-items: center; }
.ant-burger, .ant-burger__btn { display: none; }
@media (max-width: 899px) {
  .ant-head__in { flex-wrap: wrap; min-height: 48px; gap: 8px; }
  .ant-logo { font-size: 17px; }
  .ant-burger__btn { display: flex; width: 40px; height: 40px; margin-left: auto; align-items: center; justify-content: center; cursor: pointer; }
  .ant-burger__btn span, .ant-burger__btn span::before, .ant-burger__btn span::after { content: ""; display: block; width: 20px; height: 2px; background: #fff; position: relative; }
  .ant-burger__btn span::before { position: absolute; top: -6px; } .ant-burger__btn span::after { position: absolute; top: 6px; }
  .ant-search { flex-basis: 100%; order: 3; }
  .ant-tabs { display: none; order: 4; flex-basis: 100%; flex-wrap: wrap; }
  .ant-burger:checked ~ .ant-tabs { display: flex; }
}

/* 節の帯（水色・白抜き。実測 41px / 18px） */
.ant-bar { background: var(--ant-key); color: #fff; min-height: 41px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; font-size: 18px; font-weight: 700; border-radius: 2px 2px 0 0; }
.ant-bar em { font-style: normal; font-size: 11.5px; font-weight: 400; opacity: .9; }
.ant-col--side .ant-bar { font-size: 14.5px; min-height: 38px; }

/* 上段カード（絵が主役）: 実測 111×158・絵 109×97 cover・題は白地 */
.ant-cards { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; background: #fff; border: 1px solid var(--ant-line); border-top: 0; padding: 10px; }
.ant-card { display: block; border: 1px solid #BBB; border-radius: 2px; background: #fff; text-decoration: none; overflow: hidden; }
.ant-card__img { display: block; height: 100px; background: #F0F0F0; overflow: hidden; }   /* 高さ固定（比率だと列幅の端数でカードが1〜6px揃わない・9/7 実測） */
.ant-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ant-card__img img[hidden] { display: none; }
.ant-card__img-fallback:not([hidden]) { height: 100%; display: flex; align-items: center; justify-content: center; padding: 6px; box-sizing: border-box; color: #687682; font-size: 11px; text-align: center; }
.ant-card__t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding: 5px 6px; font-size: 11.5px; line-height: 1.45; color: #1a6bb5; height: 56px; box-sizing: border-box; }   /* 高さ固定＝カードの段々ゼロ */
.ant-card:hover .ant-card__t { text-decoration: underline; }
.ant-cards--hot { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1099px) { .ant-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } .ant-cards--hot { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599px) { .ant-cards, .ant-cards--hot { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; } .ant-card__img { height: 88px; } .ant-card__t { font-size: 11px; height: 50px; } }

/* 本体3列（実測 278｜660｜285） */
.ant-cols { display: grid; grid-template-columns: 278px minmax(0, 1fr) 285px; gap: 12px; align-items: start; margin-top: 12px; }
.ant-cols--nopick { grid-template-columns: minmax(0, 1fr) 285px; }   /* 自分の面を貼らない間は左の列を出さない（9/7 深瀬） */
@media (max-width: 1199px) { .ant-cols { grid-template-columns: minmax(0, 1fr) 285px; } .ant-col--pick { grid-column: 1 / -1; } }
@media (max-width: 899px) { .ant-cols { grid-template-columns: 1fr; } }
.ant-col { min-width: 0; }
.ant-block { background: #fff; border: 1px solid var(--ant-line); border-top: 0; margin-bottom: 12px; }

/* 中央: 文字だけの行（題＋右に何分前）。実測 34px 前後 */
.ant-rows { list-style: none; margin: 0; padding: 0; }
.ant-row { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-bottom: 1px solid #EEE; box-sizing: border-box; }   /* 9/7: 行は高さ固定＝段々ゼロ（写した相手も1行） */
.ant-row:nth-child(even) { background: #FAFBFC; }
.ant-row:hover { background: #F0F8FC; }
.ant-row__t { flex: 1; min-width: 0; color: #1f2d3a; text-decoration: none; font-size: 14.5px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ant-row__t:hover { color: var(--ant-key-d); text-decoration: underline; }
.ant-row__m { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ant-sub); white-space: nowrap; }
.ant-row__m a { color: #7a8b97; text-decoration: none; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 599px) { .ant-row { height: 62px; flex-wrap: wrap; align-content: center; gap: 2px 8px; } .ant-row__t { flex-basis: 100%; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.45; } }
.ant-empty { padding: 20px 12px; color: #777; }

/* 左: PICKUP（自分の面） */
.ant-picks { background: #fff; border: 1px solid var(--ant-line); border-top: 0; padding: 10px; display: grid; gap: 10px; }
.ant-pick { display: block; border: 1px solid #BBB; border-radius: 2px; text-decoration: none; color: #1a6bb5; overflow: hidden; }
.ant-pick img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #EDEFF1; }
.ant-pick--text { display: flex; align-items: center; min-height: 46px; border-left: 4px solid var(--ant-key); }
.ant-pick--text .ant-pick__t { font-size: 13.5px; font-weight: 700; color: #1f2d3a; }
.ant-pick__t { display: block; padding: 7px 8px; font-size: 12.5px; line-height: 1.5; }
@media (max-width: 1199px) { .ant-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599px) { .ant-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 右: INランキング・募集 */
.ant-rank { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--ant-line); border-top: 0; counter-reset: r; }
.ant-rank li { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 4px 10px; border-bottom: 1px solid #EEE; font-size: 13px; counter-increment: r; }
.ant-rank li::before { content: counter(r); flex: 0 0 auto; width: 20px; height: 20px; border-radius: 3px; background: #8494A0; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ant-rank li:nth-child(1)::before { background: var(--ant-y); } .ant-rank li:nth-child(2)::before { background: #9AA7B1; } .ant-rank li:nth-child(3)::before { background: #B08154; }
.ant-rank li a { flex: 1; min-width: 0; color: #1f2d3a; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ant-rank li b { font-size: 11px; color: var(--ant-sub); font-weight: 400; font-variant-numeric: tabular-nums; }
.ant-invite { background: #fff; border: 1px solid var(--ant-line); border-left: 4px solid var(--ant-y); padding: 12px; margin-bottom: 12px; }
.ant-invite b { display: block; color: #C77700; font-size: 14px; margin-bottom: 4px; }
.ant-invite p { margin: 0; font-size: 12.5px; line-height: 1.7; color: #555; }
.ant-btn { display: flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 10px; background: var(--ant-head); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 3px; }
.ant-btn--y { background: var(--ant-y); }
.ant-btn--line { background: #fff; color: var(--ant-head); border: 1px solid var(--ant-head); }

/* 数字送り */
.ant-pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 14px 0 0; }
.ant-pager a, .ant-pager span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--ant-line); border-radius: 3px; color: #1f2d3a; text-decoration: none; font-size: 13px; font-weight: 700; }
.ant-pager .is-on { background: var(--ant-key); color: #fff; border-color: var(--ant-key); }

/* 下位ページ（サイト一覧・登録申請・サイト別） */
.ant-crumb { display: flex; gap: 6px; align-items: center; font-size: 12px; color: #7a8b97; padding: 8px 2px; }
.ant-crumb a { color: inherit; text-decoration: none; }
.ant-h1 { margin: 0 0 12px; font-size: 24px; font-weight: 800; color: #1f2d3a; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ant-h1 small { font-size: 12.5px; font-weight: 400; color: var(--ant-sub); }
.ant-doc { background: #fff; border: 1px solid var(--ant-line); padding: 16px; font-size: 14px; line-height: 1.9; }
.ant-doc h2 { font-size: 16px; margin: 20px 0 8px; } .ant-doc ul { padding-left: 1.2em; margin: 0; }
.ant-doc code { background: #F3F4F6; padding: 2px 5px; border-radius: 2px; font-size: 12.5px; }
.ant-table__wrap { overflow-x: auto; background: #fff; border: 1px solid var(--ant-line); }
.ant-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ant-table th { background: #EDF1F4; text-align: left; padding: 9px 10px; font-size: 12px; color: #55636E; white-space: nowrap; }
.ant-table td { padding: 9px 10px; border-top: 1px solid #EEE; }
.ant-table a { color: #1f2d3a; text-decoration: none; font-weight: 700; }
.ant-code { display: block; max-width: 100%; overflow-x: auto; font-size: 11px; white-space: nowrap; color: #55636E; background: #F5F7F8; padding: 4px 6px; border-radius: 2px; }
.ant-form { display: grid; gap: 12px; max-width: 560px; margin: 16px 0 0; }
.ant-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #333; }
.ant-form input[type="text"], .ant-form input[type="url"], .ant-form input[type="email"], .ant-form textarea { min-height: 42px; border: 1px solid #CCC; border-radius: 3px; padding: 8px 10px; font-size: 14px; }
.ant-form__cats { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: #333; }
.ant-form__cats > div { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ant-form .ant-form__cat, .ant-form .ant-form__chk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 32px; }
.ant-form__cat input, .ant-form__chk input { width: 18px; height: 18px; margin: 0; }
.ant-form__hp { position: absolute; left: -9999px; }
.ant-ok { background: #EEF8EE; border: 1px solid #BFE3BF; padding: 10px 12px; font-size: 13px; }
.ant-err { background: #FDECEC; border: 1px solid #F3B4B4; padding: 10px 12px; font-size: 13px; }
.ant-note { font-size: 12px; color: #666; margin: 0 0 10px; }

/* フッター */
.ant-foot { background: var(--ant-head); color: #C6D2DA; margin-top: 32px; }
.ant-foot__in { max-width: var(--ant-w); margin: 0 auto; padding: 24px 12px; }
.ant-foot b { display: block; color: #fff; font-size: 18px; font-weight: 800; }
.ant-foot nav { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 0; }
.ant-foot nav a { color: #C6D2DA; text-decoration: none; font-size: 12.5px; font-weight: 700; }
.ant-foot p { margin: 12px 0 0; font-size: 11.5px; line-height: 1.8; color: #93A3AE; }
