/* All public styles belong to the standalone fan-site template. */
body.bf-site-body { margin: 0; }
.bf-site {
  --bf-bg: #fbfaf7;
  --bf-panel: #fff;
  --bf-text: #272b30;
  --bf-muted: #65696f;
  --bf-line: #dddcd5;
  --bf-soft: #f0ede6;
  --bf-accent: #796143;
  --bf-accent-soft: #e9ddcc;
  --bf-port: #292e37;
  --bf-port-text: #faf6ee;
  background: var(--bf-bg);
  color: var(--bf-text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  min-height: 100vh;
  overflow-wrap: anywhere;
}
.bf-site *, .bf-site *::before, .bf-site *::after { box-sizing: border-box; }
.bf-site .bf-skip {
  position: fixed;
  left: 14px;
  top: -160px;
  z-index: 100001;
  padding: 12px 20px;
  border: 2px solid var(--bf-accent);
  background: var(--bf-panel);
  color: var(--bf-text);
  font-size: 16px;
}
.bf-site .bf-skip:focus { top: 12px; }
body.bf-site-body.admin-bar .bf-site .bf-skip:focus { top: 44px; }
.bf-site .screen-reader-text {
  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;
}
.bf-site [hidden] { display: none !important; }
.bf-site a { color: inherit; text-decoration: none; }
.bf-site button, .bf-site input, .bf-site select, .bf-site textarea { font: inherit; color: inherit; }
.bf-site button { cursor: pointer; }
.bf-site button:disabled { cursor: default; opacity: .42; }
.bf-site a:focus-visible, .bf-site button:focus-visible, .bf-site input:focus-visible,
.bf-site select:focus-visible, .bf-site textarea:focus-visible, .bf-site summary:focus-visible {
  outline: 3px solid #a2783b;
  outline-offset: 4px;
}
.bf-site h1, .bf-site h2, .bf-site h3, .bf-site p { margin: 0; }
.bf-site h1, .bf-site .bf-brand-jp, .bf-site .bf-portal-title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
}
.bf-site h2 { font-size: clamp(22px, 2.7vw, 29px); font-weight: 600; line-height: 1.5; }
.bf-site h3 { font-size: 20px; font-weight: 600; line-height: 1.6; }
.bf-site img { display: block; max-width: 100%; height: auto; }
.bf-site .bf-shell { max-width: 1100px; margin-inline: auto; }
.bf-site .bf-header {
  padding: 23px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--bf-line);
}
.bf-site .bf-brand { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.bf-site .bf-brand-jp { font-size: 32px; line-height: 1.4; letter-spacing: .14em; }
.bf-site .bf-brand-sub { color: var(--bf-muted); font-size: 12px; letter-spacing: .13em; max-width: 105px; line-height: 1.7; }
.bf-site .bf-header nav, .bf-site .bf-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.bf-site .bf-header nav a, .bf-site .bf-nav a { font-size: 14px; padding: 8px 0; border-bottom: 1px solid transparent; }
.bf-site .bf-header nav a:hover, .bf-site .bf-nav a:hover { color: var(--bf-accent); border-bottom-color: var(--bf-accent); }
.bf-site .bf-kicker { color: var(--bf-accent); font-size: 12px; letter-spacing: .15em; line-height: 1.6; margin-bottom: 11px; }
.bf-site .bf-hero {
  padding: 63px 0 46px;
  background: radial-gradient(ellipse at 87% 15%, var(--bf-accent-soft), transparent 60%);
}
.bf-site .bf-hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.38; letter-spacing: .055em; }
.bf-site .bf-hero p { color: var(--bf-muted); margin-top: 20px; }
.bf-site .bf-portals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.bf-site .bf-portal {
  background: var(--bf-port);
  color: var(--bf-port-text);
  border: 1px solid var(--bf-port);
  padding: 28px 30px;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: background-color .18s ease, border-color .18s ease;
}
.bf-site .bf-portal:hover { background: #383d45; border-color: var(--bf-accent); }
.bf-site .bf-portal::after {
  content: "";
  position: absolute;
  width: 146px;
  height: 146px;
  border: 1px solid #faf6ee25;
  border-radius: 50%;
  right: -14px;
  top: 16px;
  box-shadow: 0 0 0 22px #faf6ee06, 0 0 0 45px #faf6ee05;
  pointer-events: none;
}
.bf-site .bf-portal-en { font-size: 12px; letter-spacing: .16em; color: #dfd9cf; }
.bf-site .bf-portal-title { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.5; }
.bf-site .bf-portal-note { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #e6e1d9; }
.bf-site .bf-directory { padding: 38px 0 48px; scroll-margin-top: 28px; }
.bf-site .bf-section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 25px; }
.bf-site .bf-section-head .bf-kicker { margin-bottom: 7px; }
.bf-site .bf-count, .bf-site .bf-demo-note { color: var(--bf-muted); font-size: 13px; }
.bf-site .bf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 28px; }
.bf-site .bf-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;
  min-width: 0;
  border: 1px solid var(--bf-line);
  background: var(--bf-panel);
  padding: 0 14px;
  color: var(--bf-muted);
}
.bf-site .bf-search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 12px 0; color: var(--bf-text); font-size: 16px; }
.bf-site .bf-search input::placeholder { color: var(--bf-muted); }
.bf-site .bf-search button { background: transparent; border: 0; font-size: 14px; padding: 11px 5px; white-space: nowrap; color: var(--bf-accent); }
.bf-site .bf-search-submit, .bf-site .bf-more { border: 1px solid var(--bf-line); background: var(--bf-panel); padding: 11px 20px; min-height: 46px; }
.bf-site .bf-search-submit:hover, .bf-site .bf-more:hover { border-color: var(--bf-accent); }
.bf-site .bf-filters { display: flex; flex-wrap: wrap; flex-shrink: 0; gap: 6px; }
.bf-site .bf-filters a, .bf-site .bf-filters button { border: 1px solid var(--bf-line); background: var(--bf-panel); padding: 10px 16px; font-size: 14px; min-height: 46px; }
.bf-site .bf-filters [aria-pressed="true"], .bf-site .bf-filters [aria-current="page"], .bf-site .bf-filters .is-active { background: var(--bf-port); color: var(--bf-port-text); border-color: var(--bf-port); }
.bf-site .bf-filters a:hover, .bf-site .bf-filters button:hover { border-color: var(--bf-accent); }
.bf-site .bf-character-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
.bf-site .bf-character { display: flex; flex-direction: column; min-width: 0; background: transparent; border: 0; padding: 0; text-align: left; }
.bf-site .bf-art, .bf-site .bf-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, transparent 30%, var(--bf-accent-soft)), var(--bf-soft);
  border: 1px solid var(--bf-line);
  color: var(--bf-accent);
  overflow: hidden;
}
.bf-site .bf-art img, .bf-site img.bf-art, .bf-site .bf-portrait { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.bf-site .bf-placeholder::after { content: ""; position: absolute; inset: 14px; border: 1px solid #79614335; pointer-events: none; }
.bf-site .bf-art > .bf-placeholder { width: 100%; height: 100%; aspect-ratio: auto; border: 0; background: transparent; font-size: clamp(44px, 5.5vw, 66px); line-height: 1; color: #796143a6; }
.bf-site .bf-art-letter, .bf-site .bf-placeholder > span:first-child { font-family: "Yu Mincho", serif; font-size: clamp(36px, 5vw, 58px); line-height: 1.5; opacity: .65; }
.bf-site .bf-art-label, .bf-site .bf-placeholder small { position: absolute; bottom: 20px; color: var(--bf-muted); font-size: 12px; }
.bf-site .bf-character .bf-art { transition: border-color .18s ease; }
.bf-site .bf-character:hover .bf-art, .bf-site .bf-character:hover .bf-placeholder { border-color: var(--bf-accent); }
.bf-site .bf-card-name { display: block; font-size: 20px; font-weight: 600; margin-top: 12px; line-height: 1.6; }
.bf-site .bf-character:hover .bf-card-name { color: var(--bf-accent); }
.bf-site .bf-card-note { display: block; font-size: 13px; color: var(--bf-muted); line-height: 1.8; margin-top: 2px; }
.bf-site .bf-empty { padding: 28px 0; color: var(--bf-muted); }
.bf-site .bf-editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; border-top: 1px solid var(--bf-line); padding: 40px 0 52px; }
.bf-site .bf-editorial h2 { font-size: 23px; }
.bf-site .bf-update { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--bf-line); padding: 17px 0; margin-top: 20px; }
.bf-site .bf-update + .bf-update { margin-top: 0; }
.bf-site .bf-update > span { flex: 1; }
.bf-site .bf-small { display: block; color: var(--bf-muted); font-size: 13px; margin-top: 3px; }
.bf-site .bf-link-pair { display: flex; flex-direction: column; margin-top: 20px; }
.bf-site .bf-link-pair > a, .bf-site .bf-link-pair > span { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid var(--bf-line); }
.bf-site .bf-update:hover, .bf-site .bf-link-pair a:hover { color: var(--bf-accent); }
.bf-site .bf-footer { background: var(--bf-soft); padding: 25px 0; color: var(--bf-muted); font-size: 13px; border-top: 1px solid var(--bf-line); }
.bf-site .bf-footer .bf-shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.bf-site .bf-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.bf-site .bf-footer a:hover { text-decoration: underline; }
.bf-site .bf-detail { padding: 32px 0 52px; }
.bf-site .bf-back, .bf-site .bf-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--bf-muted); }
.bf-site .bf-back { display: inline-flex; padding: 8px 0; }
.bf-site .bf-back:hover, .bf-site .bf-breadcrumb a:hover { color: var(--bf-accent); }
.bf-site .bf-detail-head { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 36px; margin: 26px 0 36px; }
.bf-site .bf-detail-head h1 { font-size: clamp(32px, 4.5vw, 49px); line-height: 1.5; }
.bf-site .bf-detail-head p { color: var(--bf-muted); margin-top: 10px; }
.bf-site .bf-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.bf-site .bf-jump a, .bf-site .bf-jump span { border: 1px solid var(--bf-line); background: var(--bf-panel); font-size: 14px; padding: 8px 14px; }
.bf-site .bf-jump a:hover { border-color: var(--bf-accent); }
.bf-site .bf-gallery { margin-bottom: 38px; scroll-margin-top: 32px; }
.bf-site .bf-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.bf-site .bf-gallery-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.bf-site .bf-gallery-item { display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--bf-line); background: var(--bf-panel); padding: 0; min-width: 0; overflow: hidden; text-align: left; }
.bf-site .bf-gallery-item img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; background: var(--bf-soft); }
.bf-site .bf-gallery-item span, .bf-site .bf-gallery-item small { padding: 7px 10px; font-size: 12px; }
.bf-site .bf-gallery-item:hover { border-color: var(--bf-accent); }
.bf-site .bf-more { margin-top: 20px; }
.bf-site .bf-detail-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 32px; border-top: 1px solid var(--bf-line); }
.bf-site .bf-detail-sections h2, .bf-site .bf-detail-sections h3 { margin-bottom: 15px; }
.bf-site .bf-detail-sections section { scroll-margin-top: 32px; }
.bf-site .bf-content { max-width: 800px; margin-inline: auto; }
.bf-site .bf-content h1 { font-size: clamp(28px, 4vw, 43px); margin-bottom: 26px; line-height: 1.55; }
.bf-site .bf-content h2 { margin: 40px 0 16px; }
.bf-site .bf-content h3 { margin: 30px 0 12px; }
.bf-site .bf-content p, .bf-site .bf-content ul, .bf-site .bf-content ol, .bf-site .bf-content blockquote { margin: 0 0 22px; }
.bf-site .bf-content ul, .bf-site .bf-content ol { padding-inline-start: 1.6em; }
.bf-site .bf-content a { color: var(--bf-accent); text-decoration: underline; text-underline-offset: .2em; }
.bf-site .bf-content img { height: auto; }
.bf-site .bf-content iframe { max-width: 100%; }
.bf-site .bf-content figure { margin: 24px 0; }
.bf-site .bf-content blockquote { border-left: 3px solid var(--bf-accent); padding: 14px 20px; background: var(--bf-soft); }
.bf-site .bf-content details { border: 1px solid var(--bf-line); padding: 15px 20px; margin-block: 22px; }
.bf-site .bf-content summary { cursor: pointer; font-weight: 600; }
.bf-site .bf-content details[open] summary { margin-bottom: 15px; }
.bf-site .bf-content table { border-collapse: collapse; width: 100%; }
.bf-site .bf-content th, .bf-site .bf-content td { border: 1px solid var(--bf-line); padding: 10px; text-align: left; }
.bf-site .bf-content th { background: var(--bf-soft); }
.bf-site .bf-directory > h1 { font-size: clamp(32px, 4vw, 45px); line-height: 1.5; margin-bottom: 12px; }
.bf-site .bf-directory > p { color: var(--bf-muted); margin-bottom: 25px; }
.bf-site .bf-directory > .bf-search { margin-bottom: 28px; }
.bf-site #bf-gallery, .bf-site #bf-profile, .bf-site #bf-related, .bf-site #comments { scroll-margin-top: 35px; }
.bf-site .bf-videos { display: grid; grid-template-columns: 1fr; gap: 24px; }
.bf-site .bf-videos iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
/* Keep the theme's native comment form while matching the standalone page. */
.bf-site #comments .comment-area, .bf-site #comments .comments-area, .bf-site #comments .comment-respond,
.bf-site #comments .comment-list, .bf-site #comments .commets-list {
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.bf-site #comments .comment-list, .bf-site #comments .commets-list { list-style: none; margin: 24px 0; }
.bf-site #comments .comment-list li, .bf-site #comments .commets-list li { list-style: none; margin: 0; padding: 0; }
.bf-site #comments .comment-list .children, .bf-site #comments .commets-list .children { list-style: none; padding: 0 0 0 24px; margin: 0; }
.bf-site #comments .comment-body { margin: 0 0 17px; padding: 20px; border: 1px solid var(--bf-line); background: var(--bf-panel); font-size: 15px; }
.bf-site #comments .comment-author { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; line-height: 1.7; }
.bf-site #comments .comment-author .avatar { width: 40px; height: 40px; border-radius: 50%; margin: 0; float: none; object-fit: cover; }
.bf-site #comments .comment-author .fn { font-weight: 600; font-style: normal; }
.bf-site #comments .comment-metadata, .bf-site #comments .comment-meta { font-size: 13px; color: var(--bf-muted); line-height: 1.8; }
.bf-site #comments .comment-metadata a, .bf-site #comments .comment-meta a { color: var(--bf-muted); }
.bf-site #comments .comment-content { margin-top: 14px; padding: 0; font-size: 15px; }
.bf-site #comments .comment-content p { margin-bottom: 14px; }
.bf-site #comments .comment-content p:last-child { margin-bottom: 0; }
.bf-site #comments .comment-content pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.bf-site #comments .reply { margin-top: 14px; font-size: 13px; }
.bf-site #comments .comment-reply-link { display: inline-block; padding: 5px 12px; border: 1px solid var(--bf-line); text-decoration: none; }
.bf-site #comments .comment-awaiting-moderation { color: var(--bf-accent); font-size: 13px; margin: 12px 0; }
.bf-site #comments .comment-respond { margin-top: 32px; }
.bf-site #comments .comment-reply-title { font-size: 23px; background: transparent; border: 0; padding: 0; margin: 28px 0 14px; }
.bf-site #comments #cancel-comment-reply-link { display: inline-block; font-size: 13px; margin-left: 10px; font-weight: 400; }
.bf-site #comments .comment-notes, .bf-site #comments .logged-in-as, .bf-site #comments .form-allowed-tags { color: var(--bf-muted); font-size: 14px; }
.bf-site #comments .comment-form { margin-top: 18px; }
.bf-site #comments .comment-form p { margin-bottom: 18px; }
.bf-site #comments .comment-form label { display: block; font-size: 14px; margin-bottom: 7px; }
.bf-site #comments .comment-form input[type="text"], .bf-site #comments .comment-form input[type="email"],
.bf-site #comments .comment-form input[type="url"], .bf-site #comments .comment-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid var(--bf-line);
  border-radius: 0;
  background: var(--bf-panel);
  color: var(--bf-text);
  box-shadow: none;
  font-size: 16px;
  line-height: 1.7;
}
.bf-site #comments .comment-form textarea { min-height: 170px; resize: vertical; }
.bf-site #comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
.bf-site #comments .comment-form-cookies-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--bf-accent); }
.bf-site #comments .comment-form-cookies-consent label { margin: 0; font-size: 13px; }
.bf-site #comments .comment-form input[type="submit"], .bf-site #comments .comment-form button[type="submit"] {
  min-height: 48px;
  padding: 11px 24px;
  border: 1px solid var(--bf-port);
  border-radius: 0;
  background: var(--bf-port);
  color: var(--bf-port-text);
  font-size: 15px;
  cursor: pointer;
}
.bf-site #comments .comment-form input[type="submit"]:hover { background: #383d45; }
.bf-site #comments .comment-navigation, .bf-site #comments .comments-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 24px 0; font-size: 14px; }
.bf-site .bf-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.bf-site .bf-pagination a, .bf-site .bf-pagination span { min-width: 44px; padding: 8px 14px; border: 1px solid var(--bf-line); text-align: center; }
.bf-site .bf-pagination .current { background: var(--bf-port); color: var(--bf-port-text); }
.bf-site .bf-lightbox {
  width: min(1120px, calc(100vw - 32px));
  max-width: 1120px;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #545a63;
  background: #1e232b;
  color: #faf6ee;
  overflow: hidden;
}
.bf-site .bf-lightbox::backdrop { background: #141820e8; }
.bf-site .bf-lightbox[open] { display: flex; flex-direction: column; }
.bf-site .bf-lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 15px; border-bottom: 1px solid #ffffff24; }
.bf-site .bf-lightbox-position { font-size: 14px; color: #d7d4ce; }
.bf-site .bf-lightbox button { border: 1px solid #ffffff42; background: #2d333c; color: #faf6ee; min-width: 44px; min-height: 44px; padding: 8px 14px; font-size: 14px; }
.bf-site .bf-lightbox button:hover { background: #414853; }
.bf-site .bf-lightbox figure { display: flex; flex-direction: column; align-items: stretch; margin: 0; min-height: 0; }
.bf-site .bf-lightbox-image { width: 100%; height: min(72dvh, 760px); max-height: calc(100dvh - 184px); object-fit: contain; background: #171c23; }
.bf-site .bf-lightbox-caption { padding: 12px 20px; font-size: 14px; text-align: center; overflow-wrap: anywhere; max-height: 90px; overflow-y: auto; }
.bf-site .bf-lightbox-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 15px 14px; }
.bf-site .bf-lightbox-hint { font-size: 12px; color: #d7d4ce; }
@media (min-width: 1181px) { .bf-site .bf-shell { width: 1100px; } }
@media (max-width: 1180px) { .bf-site .bf-shell { margin-inline: 32px; } }
@media (max-width: 800px) {
  .bf-site .bf-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .bf-site .bf-character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
  .bf-site .bf-editorial { gap: 28px; }
  .bf-site .bf-tools { align-items: stretch; }
  .bf-site .bf-thumbs, .bf-site .bf-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .bf-site .bf-shell { margin-inline: 20px; }
  .bf-site .bf-header { padding: 19px 0; }
  .bf-site .bf-brand-jp { font-size: 29px; }
  .bf-site .bf-brand-sub { font-size: 12px; }
  .bf-site .bf-header nav, .bf-site .bf-nav { gap: 6px 19px; }
  .bf-site .bf-header nav a, .bf-site .bf-nav a { font-size: 13px; }
  .bf-site .bf-hero { padding: 36px 0 28px; }
  .bf-site .bf-hero p { font-size: 14px; }
  .bf-site .bf-portals { grid-template-columns: 1fr; gap: 12px; margin-top: 27px; }
  .bf-site .bf-portal { min-height: 133px; padding: 19px 22px; gap: 4px; }
  .bf-site .bf-portal-title { font-size: 26px; }
  .bf-site .bf-directory { padding: 29px 0 36px; }
  .bf-site .bf-tools { gap: 12px; margin-bottom: 23px; }
  .bf-site .bf-search { flex-basis: 100%; }
  .bf-site .bf-filters { width: 100%; }
  .bf-site .bf-filters a, .bf-site .bf-filters button { padding: 9px 15px; font-size: 13px; }
  .bf-site .bf-character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .bf-site .bf-card-name { font-size: 18px; margin-top: 9px; }
  .bf-site .bf-card-note { font-size: 12px; }
  .bf-site .bf-editorial { grid-template-columns: 1fr; gap: 29px; padding: 30px 0 40px; }
  .bf-site .bf-editorial h2 { font-size: 21px; }
  .bf-site .bf-footer { font-size: 12px; padding-block: 22px; }
  .bf-site .bf-detail { padding: 24px 0 38px; }
  .bf-site .bf-detail-head { grid-template-columns: 104px minmax(0, 1fr); gap: 19px; margin: 20px 0 28px; }
  .bf-site .bf-detail-head h1 { font-size: 31px; }
  .bf-site .bf-detail-head p { font-size: 13px; }
  .bf-site .bf-detail-head .bf-kicker { font-size: 12px; letter-spacing: .07em; }
  .bf-site .bf-detail-head .bf-jump { margin-top: 15px; gap: 6px; }
  .bf-site .bf-jump a, .bf-site .bf-jump span { font-size: 12px; padding: 7px 10px; }
  .bf-site .bf-thumbs, .bf-site .bf-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .bf-site .bf-detail-sections { grid-template-columns: 1fr; gap: 28px; }
  .bf-site .bf-lightbox { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .bf-site .bf-lightbox-hint { display: none; }
  .bf-site .bf-lightbox-image { height: 65dvh; }
  .bf-site .bf-lightbox-caption { padding: 10px 13px; font-size: 13px; }
  .bf-site #comments .comment-body { padding: 15px; }
  .bf-site #comments .comment-list .children, .bf-site #comments .commets-list .children { padding-left: 14px; }
}
@media (max-width: 782px) { body.bf-site-body.admin-bar .bf-site .bf-skip:focus { top: 58px; } }
@media (max-width: 360px) {
  .bf-site .bf-shell { margin-inline: 15px; }
  .bf-site .bf-brand { gap: 10px; }
  .bf-site .bf-brand-jp { font-size: 26px; }
  .bf-site .bf-header nav, .bf-site .bf-nav { gap: 5px 13px; }
  .bf-site .bf-hero h1 { font-size: 34px; }
  .bf-site .bf-detail-head { grid-template-columns: 88px minmax(0, 1fr); gap: 15px; }
  .bf-site .bf-detail-head h1 { font-size: 28px; }
  .bf-site .bf-character-grid { gap: 22px 11px; }
  .bf-site .bf-filters a, .bf-site .bf-filters button { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) { .bf-site * { transition: none !important; scroll-behavior: auto !important; } }
