/* アイコンのプロンプト・ギャラリー（/gallery）。カルチャー誌の作品欄のように：白い紙、黒い罫線、番号の付いた作品。
   色は白と黒と灰色だけ。文字は LINE Seed JP（app.css と同じ）。 */
.gy { --ink: #111; --mute: #666; --hair: #DADADA; --soft: #F4F4F4; background: #fff; color: var(--ink); }
.gy .wrap { max-width: 1120px; padding-top: 0; }
.gy .hd { border-bottom: 1px solid var(--ink); }
.gy .ft { border-top-color: var(--ink); }
.gy :is(p, li, h1, h2, dd) { word-break: auto-phrase; text-wrap: pretty; }
.gy-page a:not(.gy-btn) { color: inherit; }

.gy-page { padding-bottom: 24px; }
.gy-page-one { max-width: 720px; margin: 0 auto; }
.gy-crumb { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 16px 0; font-size: 12.5px; color: var(--mute); }
.gy-crumb a { color: var(--mute); text-underline-offset: 3px; }

/* 見出し：上の帯と、大きな見出し */
.gy-mast { padding: 22px 0 34px; border-bottom: 3px double var(--ink); }
.gy-mast-s { padding: 4px 0 24px; margin-bottom: 28px; }
.gy-kicker { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: clamp(22px, 5vw, 44px); padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; }
.gy-kicker span + span::before { content: "／"; margin: 0 .7em; color: var(--mute); font-weight: 400; }
.gy-kicker span:last-child:not(:nth-child(2)) { margin-left: auto; letter-spacing: .08em; }
.gy-kicker span:last-child:not(:nth-child(2))::before { content: none; }
.gy-kicker-s { margin-bottom: 18px; }
.gy-kicker-s span:last-child:not(:nth-child(2)) { margin-left: 0; }
.gy-kicker-s span:last-child:not(:nth-child(2))::before { content: "／"; }
.gy-title { font-weight: 700; font-size: clamp(36px, 8vw, 84px); line-height: 1.16; letter-spacing: -.02em; }
.gy-title span { display: inline-block; }
.gy-title-s { font-size: clamp(28px, 5vw, 40px); }
.gy-lead { max-width: 36em; margin-top: 20px; font-size: 15px; line-height: 1.95; }
.gy-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }

/* ボタン */
.gy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 26px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.gy a.gy-btn { color: #fff; }
.gy-btn:hover { background: #333; }
.gy-btn-sub, .gy a.gy-btn-sub { background: #fff; color: var(--ink); }
.gy-btn-sub:hover, .gy a.gy-btn-sub:hover { background: var(--ink); color: #fff; }
.gy-btn-block { width: 100%; }
.gy-btn-s { min-height: 40px; padding: 6px 18px; font-size: 13.5px; }
.gy-link { min-height: 44px; padding: 0; border: 0; background: none; color: var(--mute); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.gy-link:hover { color: var(--ink); }
.gy-cap { font-size: 12.5px; line-height: 1.8; color: var(--mute); }

/* 絞り込み */
.gy-filter { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.gy-filter-h { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--mute); }
.gy-filter ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gy-filter a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 14px; border: 1px solid var(--hair); border-radius: 999px; font-size: 13px; text-decoration: none; }
.gy-filter a:hover { border-color: var(--ink); }
.gy-filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gy-filter small { font-size: 11px; color: var(--mute); }
.gy-filter a[aria-current] small { color: #BBB; }

/* 一覧 */
.gy-list { padding-top: 30px; }
.gy-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.gy-sec-h h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 700; }
.gy-sec-h p { font-size: 12.5px; color: var(--mute); }
.gy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 720px) { .gy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; } }
@media (min-width: 1000px) { .gy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.gy-card { display: flex; flex-direction: column; min-width: 0; }
.gy-card-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); border: 1px solid var(--ink); }
.gy-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gy-card-img:hover img { transform: scale(1.03); }
.gy-card-b { display: flex; flex-direction: column; gap: 8px; flex: 1; padding-top: 10px; }
.gy-card-meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.gy-card-meta span + span::before { content: "／"; margin: 0 .5em; color: var(--mute); font-weight: 400; }
.gy-card-p { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.gy-card-p a { text-decoration: none; }
.gy-card-p a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gy-card-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--hair); }
.gy-who { flex: 1 1 7em; display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 36px; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.gy-who img { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hair); }
.gy-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gy-who:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* コピーのボタン（JSが動くときだけ出す） */
.gy-copy { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.gy-copy:hover { background: #333; }
.gy-copy.is-done { background: #fff; color: var(--ink); }
.gy-copy-s { flex: none; min-height: 36px; padding: 4px 14px; background: #fff; color: var(--ink); font-size: 12px; }
.gy-copy-s:hover, .gy-copy-s.is-done { background: var(--ink); color: #fff; }
.gy-copy[hidden] { display: none; }
.gy-js .gy-copy-nojs { display: none; }
.gy-clip { position: fixed; top: 0; left: -9999px; opacity: 0; }

/* 1件のページ */
.gy-one { display: grid; gap: 28px; padding-bottom: 36px; border-bottom: 3px double var(--ink); }
@media (min-width: 860px) { .gy-one { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; } .gy-one-img { position: sticky; top: 20px; } }
.gy-one-img { margin: 0; aspect-ratio: 1 / 1; background: var(--soft); border: 1px solid var(--ink); }
.gy-one-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gy-one-h { margin-bottom: 16px; font-size: clamp(24px, 4vw, 34px); font-weight: 700; line-height: 1.3; }
.gy-prompt-box { padding: 18px; border: 1px solid var(--ink); background: #fff; }
.gy-prompt { margin: 0 0 14px; font-family: inherit; font-size: 15px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.gy-prompt-s { margin: 8px 0; padding: 10px 12px; background: var(--soft); font-size: 13px; line-height: 1.75; }
.gy-prompt-box .gy-copy { width: 100%; }
.gy-copy-nojs { font-size: 12.5px; color: var(--mute); }
.gy-tip { margin-top: 20px; padding-left: 14px; border-left: 3px solid var(--ink); }
.gy-tip-h { margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--mute); }
.gy-spec { margin: 22px 0 0; border-top: 1px solid var(--hair); }
.gy-spec div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
.gy-spec dt { color: var(--mute); font-size: 12.5px; }
.gy-spec dd { margin: 0; }
.gy-spec a { text-underline-offset: 3px; }
.gy-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.gy-maker { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--ink); text-decoration: none; transition: background-color .15s; }
.gy-maker:hover { background: var(--soft); }
.gy-maker img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hair); }
.gy-maker span { display: grid; gap: 2px; min-width: 0; }
.gy-maker small { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--mute); }
.gy-maker b { font-size: 16px; overflow-wrap: anywhere; }
.gy-maker i { font-style: normal; font-size: 12.5px; color: var(--mute); overflow-wrap: anywhere; }
.gy-del { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; }
.gy-state { margin-bottom: 18px; padding: 12px 16px; background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.8; }
.gy-state b { margin-right: 10px; padding: 2px 10px; border: 1px solid #fff; border-radius: 999px; font-size: 12px; }
.gy-grid-s .gy-card-p { display: none; }

/* 空のとき・注意 */
.gy-empty { padding: 40px 24px; border: 1px solid var(--ink); text-align: center; font-size: 14px; line-height: 1.9; }
.gy-empty-t { margin-bottom: 6px; font-size: 17px; font-weight: 700; }
.gy-note { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 12.5px; line-height: 1.8; color: var(--mute); }
.gy-toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 30; transform: translateX(-50%); max-width: calc(100% - 40px); padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.gy-toast[hidden] { display: none; }

/* 投稿のフォーム */
.gy-err { margin-bottom: 20px; padding: 14px 16px; border: 2px solid var(--ink); font-size: 14px; font-weight: 700; }
.gy-err p + p { margin-top: 4px; }
.gy-form { display: grid; gap: 22px; }
.gy-field { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.gy-field > span, .gy-field > legend { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 700; }
.gy-field b { padding: 1px 8px; border: 1px solid var(--ink); border-radius: 999px; font-size: 10.5px; }
.gy-field legend small { font-size: 12px; font-weight: 400; color: var(--mute); }
.gy-field > small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.7; color: var(--mute); }
.gy-in { display: block; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.7; }
textarea.gy-in { resize: vertical; }
.gy-in:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.gy-file { padding: 10px; font-size: 14px; }
.gy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gy-chip { position: relative; }
.gy-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.gy-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid var(--hair); border-radius: 999px; font-size: 13.5px; }
.gy-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.gy-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.gy-chip input:disabled + span { opacity: .35; }
.gy-chip input:disabled { cursor: not-allowed; }
.gy-as { padding: 12px 14px; background: var(--soft); font-size: 13.5px; overflow-wrap: anywhere; }

/* 自分の投稿・審査 */
.gy-mine { margin-top: 48px; }
.gy-rows { margin: 0; padding: 0; list-style: none; }
.gy-rows li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 13.5px; }
.gy-rows img { display: block; width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--ink); }
.gy-rows div { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.gy-rows a { text-decoration: none; }
.gy-st { justify-self: start; padding: 1px 10px; border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.gy-st.is-open { background: var(--ink); color: #fff; }
.gy-st.is-hidden { border-style: dashed; color: var(--mute); }
.gy-adm { margin: 0; padding: 0; list-style: none; }
.gy-adm li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 720px) { .gy-adm li { grid-template-columns: 160px 1fr; } }
.gy-adm li.is-hidden { opacity: .6; }
.gy-adm-img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--ink); }
.gy-adm-b { min-width: 0; }
.gy-adm-who { margin-top: 6px; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.gy-adm-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
