
/* Visual styles based on the reference sample, shared by PHP templates. */
:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #333333;
  --blue: #0056b3;
  --blue-dark: #00458f;
  --blue-soft: #edf4ff;
  --line: #dfe6ee;
  --bg: #f4f7fb;
  --white: #fff;
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 18px/1.8 Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Noto Sans CJK JP", sans-serif; }
small { font-size: 16px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #76a8f4; outline-offset: 3px; }
button, input, select, textarea { border-radius: 8px; }
input, select, textarea { min-width: 0; color: var(--ink); background: #fff; border: 1px solid #c9d3df; }
input::placeholder, textarea::placeholder { color: #595959; opacity: 1; }
select { max-width: 100%; padding: 10px 32px 10px 12px; min-height: 44px; }
input, textarea { padding: 10px 13px; }
textarea { resize: vertical; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 29px; line-height: 1.4; letter-spacing: -.025em; }
h2 { font-size: 20px; line-height: 1.5; }
h3 { font-size: 18px; line-height: 1.5; }
svg.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 28px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; width: 180px; height: auto; }
.brand-note { color: var(--muted); font-size: 16px; line-height: 1.5; border-left: 1px solid var(--line); padding-left: 22px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 16px; font-size: 16px; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--ink); white-space: nowrap; }
.button:hover { background: #f6f9fd; text-decoration: none; }
.button.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-dark); }
.button.soft { color: var(--blue); background: var(--blue-soft); border-color: #d6e6ff; }
.text-button { border: 0; background: none; color: var(--muted); padding: 10px 6px; font-size: 16px; }
.text-button:hover { color: var(--blue); text-decoration: underline; }
.sample-banner { padding: 7px 20px; text-align: center; color: var(--ink); background: #edf1f7; font-size: 16px; line-height: 1.6; }
.sample-banner strong { color: var(--ink); font-weight: 700; margin-right: 8px; }
main { min-height: 65vh; padding-block: 33px 55px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.lead { color: var(--muted); font-size: 16px; margin-top: 7px; }
.login-free { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); background: #e8f1fb; border-radius: 30px; padding: 6px 11px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.search-input { display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #fff; border: 1px solid #c6d2e2; border-radius: 10px; }
.search-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #1768dc15; }
.search-input > .icon { color: var(--blue); width: 22px; height: 22px; }
.search-input input { flex: 1; width: 100%; background: none; border: 0; outline: none; padding: 15px 0; border-radius: 0; min-height: 54px; font-size: 16px; }
.search-input input:focus-visible { outline: none; }
.clear-input { border: 0; background: none; color: var(--muted); min-width: 32px; min-height: 36px; padding: 4px; }
.home-filters { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; margin: 0; border: 0; padding: 15px 0 21px; }
.filter-option { position: relative; display: inline-flex; cursor: pointer; }
.filter-chip { display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; min-height: 44px; background: #fff; border: 1px solid var(--line); padding: 6px 13px; color: var(--ink); border-radius: 7px; }
.filter-option:hover .filter-chip { border-color: var(--ink); }
.filter-option input:checked + .filter-chip { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-option input:focus-visible + .filter-chip { outline: 3px solid #76a8f4; outline-offset: 3px; }
.results-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 11px; }
.home-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.results-caption { color: var(--muted); font-size: 16px; }
.results-caption strong { font-size: 18px; color: var(--ink); margin-right: 3px; }
.sort-label { display: inline-flex; gap: 9px; align-items: center; color: var(--muted); font-size: 16px; }
.sort-label select { font-size: 16px; min-height: 39px; padding-block: 6px; }
.list-panel { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 15px #203d6503; }
.game-list { list-style: none; padding: 0; margin: 0; }
.game-row { display: grid; grid-template-columns: 54px minmax(0,1fr) 168px; gap: 18px; align-items: center; min-height: 115px; padding: 19px 23px; border-bottom: 1px solid #e8edf3; }
.game-row:last-child { border-bottom: 0; }
.game-row:hover { background: #fbfcff; }
.game-icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 12px; font-family: Arial, sans-serif; font-size: 17px; line-height: 1; font-weight: 850; letter-spacing: -.03em; flex-shrink: 0; background: var(--tile); color: var(--tile-ink,#fff); user-select: none; }
.game-icon.long { font-size: 16px; letter-spacing: -.04em; line-height: 1.1; text-align: center; overflow-wrap: anywhere; padding: 2px; }
.game-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; line-height: 1.5; margin-bottom: 10px; }
.game-title a { color: var(--ink); font-size: 18px; font-weight: 700; }
.game-title small { color: var(--muted); font-size: 16px; }
.platform-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.platform-link { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; color: var(--ink); background: #f2f6fc; border: 1px solid #d5dfed; border-radius: 5px; font-size: 16px; line-height: 1.65; min-height: 39px; max-width: 100%; overflow-wrap: anywhere; }
.platform-link:hover { border-color: #b7d1f5; background: #e8f1ff; text-decoration: none; }
.platform-link b { color: var(--blue); font-size: 16px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.platform-link.is-selected { border-color: #7eafea; background: #e8f1ff; }
.row-stat { text-align: right; }
.row-stat strong { display: block; font-size: 23px; line-height: 1.35; font-variant-numeric: tabular-nums; font-weight: 750; }
.row-stat strong span { font-size: 16px; font-weight: 500; margin-left: 4px; }
.row-stat small { display: block; color: var(--muted); font-size: 16px; margin-top: 5px; white-space: nowrap; }
.list-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 16px; padding-top: 12px; }
.empty-state { padding: 45px 24px; text-align: center; }
.empty-state h3 { margin: 10px 0 7px; }
.empty-state p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.empty-state > .icon { color: #8b9eb7; width: 32px; height: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb > a, .breadcrumb > span { min-width: 0; overflow-wrap: anywhere; }
.breadcrumb span[aria-hidden] { color: #97a5b7; }
.board-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.board-heading .game-icon { width: 66px; height: 66px; font-size: 21px; border-radius: 14px; }
.board-heading h1 { font-size: 27px; }
.board-heading .lead { margin-top: 3px; }
.board-heading .button { margin-left: auto; }
.platform-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.platform-tab { padding: 8px 14px; min-height: 44px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 16px; border-radius: 7px; max-width: 100%; overflow-wrap: anywhere; }
.platform-tab b { margin-left: 7px; font-variant-numeric: tabular-nums; }
.platform-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.platform-tab:hover { text-decoration: none; border-color: var(--blue); }
.board-filter-panel { padding: 19px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.board-filter-top { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 13px; }
.field-label { display: flex; flex-direction: column; min-width: 0; gap: 6px; font-size: 16px; color: var(--ink); font-weight: 600; }
.field-label input, .field-label select, .field-label textarea { width: 100%; font-size: 16px; font-weight: 400; }
.board-filter-top input { min-height: 44px; }
.board-filter-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 15px; }
.check-label { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 16px; cursor: pointer; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--blue); flex-shrink: 0; }
.filter-reset { margin-left: auto; padding-block: 2px; min-height: 30px; font-size: 16px; }
.board-count strong { color: var(--blue); }
.post-row { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.post-row:last-child { border-bottom: 0; }
.post-row.own-post { border-left: 3px solid var(--blue); background: #fbfdff; }
.post-top { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; font-size: 16px; font-weight: 600; line-height: 1.5; border-radius: 4px; padding: 4px 7px; background: #f1f4f8; color: var(--ink); }
.tag.platform { background: #eaf2ff; color: var(--blue); }
.tag.open { background: #ebf5ef; color: #166534; }
.tag.mine { background: #edf0ff; color: #3f4185; }
.post-time { margin-left: auto; color: var(--muted); font-size: 16px; }
.post-title { margin-bottom: 6px; font-size: 18px; font-weight: 700; }
.post-body { color: var(--ink); font-size: 18px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 15px; margin-top: 16px; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 16px; }
.post-meta .icon { width: 15px; height: 15px; }
.author { display: inline-flex; gap: 7px; align-items: center; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink); background: #edf1f7; font-size: 16px; }
.post-buttons { display: flex; gap: 8px; align-items: center; }
.post-buttons .button { min-height: 36px; padding: 5px 12px; font-size: 16px; }
.post-details { background: #f7f9fc; border: 1px solid #e1e8f1; border-radius: 8px; margin-top: 15px; padding: 14px 16px; font-size: 16px; color: var(--ink); }
.contact-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.contact-line code { color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.post-details p { margin-top: 8px; }
.detail-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; margin-top: 10px; gap: 8px; }
.detail-bottom .text-button { font-size: 16px; padding: 4px 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; }
.pagination button { min-width: 39px; min-height: 39px; padding: 6px 11px; font-size: 16px; border: 1px solid var(--line); background: #fff; color: var(--muted); }
.pagination button[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.site-footer { border-top: 1px solid var(--line); background: #fff; padding-block: 23px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.footer-brand { font-size: 18px; color: var(--ink); font-weight: 800; }
.footer-copy { font-size: 16px; color: var(--muted); margin-top: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-links button { padding: 5px 0; font-size: 16px; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%) translateY(15px); max-width: calc(100% - 32px); padding: 12px 20px; color: white; background: #1c3555; border-radius: 9px; box-shadow: 0 5px 20px #142a4533; font-size: 16px; z-index: 100; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
dialog { width: min(650px,calc(100% - 28px)); padding: 0; max-height: calc(100dvh - 48px); color: var(--ink); border: 1px solid #dbe3ed; border-radius: 15px; box-shadow: 0 25px 80px #172b4533; overflow: auto; }
dialog::backdrop { background: #10263d70; backdrop-filter: blur(2px); }
.modal-header { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 20px 25px 15px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1; }
.modal-header h2 { font-size: 21px; }
.close-dialog { display: grid; place-items: center; width: 34px; height: 34px; background: #f2f5f9; color: var(--muted); border: 0; }
.modal-content { padding: 22px 25px 25px; }
.form-intro { font-size: 16px; color: var(--muted); margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .field-label { font-size: 16px; color: var(--ink); }
.form-grid input, .form-grid select, .form-grid textarea { font-size: 16px; }
.required { color: var(--blue); font-size: 16px; margin-left: 5px; }
.field-hint { color: var(--muted); font-size: 16px; font-weight: 400; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.form-error { color: #ad3544; font-size: 16px; margin-top: 12px; }
.info-copy p + p { margin-top: 14px; }
.info-copy h3 { margin: 18px 0 8px; font-size: 16px; }
.info-copy p, .info-copy li { font-size: 18px; color: var(--ink); }
.info-copy ul { padding-left: 22px; margin: 7px 0; }
.info-copy li { margin-bottom: 7px; }
.skip-link { position: fixed; top: -100px; left: 12px; padding: 10px 16px; background: #fff; z-index: 200; }
.skip-link:focus { top: 10px; }
@media (max-width: 780px) {
  .brand-note { display: none; }
  .header-inner { min-height: 72px; }
  .wrap { padding-inline: 20px; }
  .game-row { padding: 18px; gap: 14px; grid-template-columns: 49px minmax(0,1fr) 152px; }
  .game-icon { width: 49px; height: 49px; }
  .game-title small { display: none; }
  .board-filter-top { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .board-filter-top > :first-child { grid-column: 1 / -1; }
  .board-heading h1 { font-size: 23px; }
  .board-heading .button { display: none; }
  .board-heading .game-icon { width: 56px; height: 56px; }
  .lead { font-size: 16px; }
}
@media (max-width: 520px) {
  .wrap { padding-inline: 14px; }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-logo { width: 132px; }
  .header-actions { gap: 5px; }
  .header-help { display: none; }
  .header-actions .button { padding: 8px 12px; font-size: 16px; min-height: 39px; }
  .header-actions .icon { width: 17px; height: 17px; }
  .sample-banner { font-size: 16px; padding: 7px 14px; text-align: left; }
  .sample-banner .long-note { display: none; }
  main { padding-block: 23px 35px; }
  h1 { font-size: 24px; }
  .page-heading { margin-bottom: 18px; align-items: start; gap: 8px; flex-wrap: wrap; }
  .login-free { font-size: 16px; padding: 5px 8px; margin-top: 5px; }
  .login-free .icon { width: 14px; height: 14px; }
  .search-input { padding-inline: 12px; }
  .search-input input { font-size: 16px; padding-block: 13px; min-height: 50px; }
  .home-filters { gap: 6px; padding-block: 13px 18px; }
  .filter-chip { min-height: 44px; font-size: 16px; padding: 5px 9px; }
  .results-caption { font-size: 16px; }
  .results-caption strong { font-size: 16px; }
  .sort-label { font-size: 16px; gap: 5px; }
  .sort-label .sort-text { display: none; }
  .sort-label select { min-height: 39px; font-size: 16px; padding-right: 24px; padding-left: 9px; }
  .game-row { grid-template-columns: 40px minmax(0,1fr); align-items: start; padding: 16px 13px; gap: 9px 10px; min-height: 122px; }
  .game-row > a { grid-column: 1; grid-row: 1; }
  .game-row > div:not(.row-stat) { display: contents; }
  .game-row .game-title { grid-column: 2; grid-row: 1; margin-bottom: 0; align-self: center; }
  .game-row .row-stat { grid-column: 2; grid-row: 2; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; }
  .game-row .platform-links { grid-column: 1 / -1; grid-row: 3; }
  .game-row .game-icon { width: 40px; height: 40px; font-size: 16px; border-radius: 9px; margin-top: 2px; }
  .game-row .game-icon.long { font-size: 16px; }
  .game-title { margin-bottom: 9px; line-height: 1.5; }
  .game-title a { font-size: 18px; }
  .platform-links { gap: 6px; }
  .platform-link { font-size: 16px; gap: 4px; padding: 5px 7px; min-height: 35px; }
  .platform-link b { font-size: 16px; }
  .row-stat strong { font-size: 19px; }
  .row-stat small { font-size: 16px; margin-top: 0; white-space: normal; }
  .row-stat strong span { font-size: 16px; margin-left: 2px; }
  .list-note { font-size: 16px; }
  .breadcrumb { font-size: 16px; margin-bottom: 15px; }
  .board-heading { gap: 12px; margin-bottom: 18px; }
  .board-heading .game-icon { width: 49px; height: 49px; font-size: 17px; }
  .board-heading h1 { font-size: 23px; }
  .board-heading .lead { font-size: 16px; }
  .platform-tabs { gap: 6px; margin-bottom: 16px; }
  .platform-tab { padding: 7px 9px; min-height: 39px; font-size: 16px; }
  .platform-tab b { margin-left: 4px; }
  .board-filter-panel { padding: 14px; margin-bottom: 17px; }
  .board-filter-top { gap: 11px; }
  .board-filter-top .field-label { font-size: 16px; }
  .board-filter-top input, .board-filter-top select { font-size: 16px; }
  .board-filter-bottom { gap: 9px 15px; margin-top: 12px; }
  .check-label { font-size: 16px; }
  .filter-reset { font-size: 16px; }
  .post-row { padding: 17px 15px 16px; }
  .post-top { gap: 5px; margin-bottom: 9px; }
  .tag { font-size: 16px; padding: 3px 6px; }
  .post-time { font-size: 16px; }
  .post-title { font-size: 18px; }
  .post-body { font-size: 16px; line-height: 1.85; }
  .post-meta { font-size: 16px; gap: 9px; }
  .post-bottom { gap: 11px; }
  .post-buttons { margin-left: auto; }
  .post-buttons .button { min-height: 36px; font-size: 16px; }
  .modal-content { padding: 18px; }
  .modal-header { padding: 15px 18px 12px; }
  .modal-header h2 { font-size: 19px; }
  .form-grid { gap: 13px; }
  .form-grid .mobile-full { grid-column: 1 / -1; }
  .form-actions .button { white-space: normal; }
  .footer-inner { gap: 15px; }
  .footer-links { gap: 8px 17px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .sample-banner, .header-actions, .site-footer, dialog, .toast { display: none; } body { background: #fff; } .wrap { max-width: none; } }
  
/* Production screens supplement the reference layout. */
.game-icon { background: #1768dc; overflow: hidden; }
.game-icon img { width: 100%; height: 100%; object-fit: cover; object-position: center; background: white; }
.row-stat .count-number { font-size: inherit; margin: 0; font-weight: inherit; }
.form-page { max-width: 760px; margin-inline: auto; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.form-page .lead { margin-bottom: 24px; }
.form-page .field-hint { margin-top: 18px; }
.form-page input, .form-page select, .form-page textarea { width: 100%; }
.form-page input[type="checkbox"] { width: 17px; height: 17px; }
.notice { border: 1px solid #d6e6ff; background: var(--blue-soft); color: var(--ink); padding: 14px 18px; border-radius: 8px; margin-block: 18px; overflow-wrap: anywhere; }
.edit-key { display: block; margin-block: 18px; padding: 16px; background: #f4f7fb; overflow-wrap: anywhere; user-select: all; }
.detail-page { margin-block: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; }
.recruitment-hint { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.recruitment-hint p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 10px; }
.pagination { flex-wrap: wrap; }
.pagination a { min-width: 39px; min-height: 39px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 6px; background: white; text-align: center; }
.pagination [aria-current=page] { background: var(--blue); color: white; }
.search-status { margin-top: 8px; font-size: 16px; color: var(--muted); }
.mobile-post { display: none; }
.post-title a { color: var(--ink); }
.info-copy h2 { margin-block: 22px 8px; }
.post-details summary { cursor: pointer; }
.post-details .contact-line { margin-top: 10px; }
.field-label, .post-title, h1 { overflow-wrap: anywhere; }
@media (max-width: 780px) { .mobile-post { display: inline-flex; } }
@media (max-width: 520px) { .form-page { padding: 18px 14px; } .form-grid { grid-template-columns: minmax(0,1fr); } .board-heading h1 { font-size: 21px; } .home-filters { gap: 10px; } .sort-label { flex-wrap: wrap; } }
.admin-list { margin-block: 18px 30px; border: 1px solid var(--line); background: white; border-radius: 10px; }
.admin-list > div { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-list > div:last-child { border: 0; }
.admin-board { margin-block: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.admin-icon { width: 128px; height: 128px; aspect-ratio: 1; object-fit: cover; object-position: center; background: white; border: 1px solid var(--line); border-radius: 12px; margin-block: 12px; }
.purpose-row { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 14px; margin-block: 12px; }
.form-page h2 { margin-block: 24px 12px; }
.form-actions { flex-wrap: wrap; }
.modal-content .form-page { border: 0; border-radius: 0; padding: 0; }
.modal-content .form-page > h1 { display: none; }
.igdb-credit { margin: 0; padding: 12px 20px; text-align: center; font-size: 16px; background: white; color: var(--muted); }

/* Recruitment cards follow the old Pretomo desktop and mobile arrangement. */
.board-layout { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 28px; align-items: start; }
.board-layout > section { min-width: 0; }
.post-list { display: grid; gap: 20px; }
.post-list .empty-state { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.post-row, .post-row.own-post { padding: 22px 24px 20px; border: 0; border-radius: 14px; background: #ededed; box-shadow: inset 0 0 12px #00000003; }
.post-number { margin-bottom: 14px; color: var(--muted); font-size: 16px; }
.post-card-grid { display: grid; grid-template-columns: 172px minmax(0,1fr); gap: 20px; align-items: start; }
.post-identity { min-width: 0; }
.post-identity .post-title { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.6; }
.post-identity .post-title strong { font-size: 20px; font-weight: 700; }
.post-identity .contact-line { display: block; }
.post-purpose { display: table; max-width: 100%; margin-top: 14px; padding: 2px 13px; color: #087532; background: #f2fff6; border: 1px solid #aae3bc; border-radius: 30px; font-size: 16px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.post-identity .tag.mine { margin-top: 10px; }
.post-content { min-width: 0; padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: 0 5px 15px #00000006; }
.post-platform-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px dotted #c8c8c8; }
.post-platforms { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.platform-badge { display: inline-block; max-width: 100%; padding: 2px 9px; border-radius: 4px; background: #505050; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.platform-pc { background: #333; }
.platform-ps5 { background: #3567bd; }
.platform-ps4 { background: #002d8e; }
.platform-xbox { background: #087b11; }
.platform-switch { background: #df001b; }
.post-voice { margin-left: auto; color: var(--muted); font-size: 16px; }
.post-subject { margin-bottom: 8px; font-size: 18px; overflow-wrap: anywhere; }
.post-subject a { color: var(--ink); }
.post-content .post-body { font-size: 18px; line-height: 1.9; }
.post-style-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.post-style-tag { display: inline-block; max-width: 100%; padding: 4px 12px; color: #005b9e; background: #e0f3ff; border-radius: 30px; font-size: 16px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.post-contacts { margin-top: 18px; padding-top: 12px; border-top: 1px dotted #c8c8c8; font-size: 16px; }
.post-contacts .contact-line { gap: 3px 8px; }
.post-contacts .contact-line + .contact-line { margin-top: 4px; }
.post-contacts code { min-width: 0; font-family: inherit; font-size: 16px; }
.contact-copy { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 8px; border: 0; background: transparent; color: var(--blue); font-size: 16px; font-weight: 400; }
.contact-copy:hover { text-decoration: underline; }
.post-identity .contact-copy { margin-left: -8px; }
.post-card-footer { display: flex; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-top: 16px; font-size: 16px; color: var(--muted); }
.post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; min-width: 0; overflow-wrap: anywhere; }
.post-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.post-dates { margin-left: auto; text-align: right; }
.post-dates p:first-child { display: flex; flex-wrap: wrap; justify-content: end; gap: 4px 12px; }
.detail-page:has(.post-row) { border: 0; background: transparent; overflow: visible; }
.game-sidebar { min-width: 0; margin-top: 39px; padding: 18px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.game-sidebar h2 { padding: 0 10px 12px; font-size: 18px; }
.game-sidebar nav { max-height: calc(100dvh - 150px); overflow-y: auto; }
.game-sidebar ul { list-style: none; margin: 0; padding: 0; }
.game-sidebar a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px; border-radius: 8px; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.6; }
.game-sidebar a:hover { background: #f2f7fb; text-decoration: none; }
.game-sidebar a[aria-current="page"] { color: #005b9e; background: #e0f3ff; }
.game-sidebar a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.game-sidebar .game-icon { width: 32px; height: 32px; border-radius: 5px; font-size: 16px; }
@media (max-width: 1040px) {
  .board-layout { grid-template-columns: minmax(0,1fr); }
  .game-sidebar { display: none; }
}
@media (max-width: 780px) {
  .post-row, .post-row.own-post { padding: 18px 16px; }
  .post-card-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .post-number { margin-bottom: 12px; }
  .post-purpose { margin-top: 10px; }
  .post-content { padding: 16px; border-radius: 16px; }
  .post-platform-line { gap: 10px; }
  .post-content .post-body { font-size: 16px; line-height: 1.9; }
  .post-card-footer { gap: 6px 14px; margin-top: 12px; }
}
@media print { .game-sidebar, .contact-copy, .post-actions a { display: none; } .board-layout { display: block; } }
.image-candidate { margin-block: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 360px) { .board-filter-top { grid-template-columns: minmax(0,1fr); } }
