/* gs-seal.css — tbprojlinkgender/index: สองภาษา (TH | EN) + สัญลักษณ์ SDG (ไอคอน CSS ตามสีทางการ) */
.lg[data-lang="th"] .en, .lg[data-lang="en"] .th { display: none !important; }
.lg-lang { display: inline-flex; border: 1px solid var(--green-deep); }
.lg-lang button { border: 0; background: var(--card); color: var(--green-deep); font: 600 13px "IBM Plex Mono", monospace; padding: 7px 12px; cursor: pointer; }
.lg-lang button[aria-pressed="true"] { background: var(--green-deep); color: #fff; }
.lg .dl-sort a.asc, .lg .dl-sort a.desc { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.lg-foot { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-faint); line-height: 1.6; }

/* สัญลักษณ์ SDG */
.sdg-ics { display: inline-flex; gap: 4px; flex-wrap: wrap; vertical-align: middle; }
.sdg-ic { --sdg: #888; display: inline-flex; flex-direction: column; justify-content: space-between; width: 52px; height: 52px; padding: 4px 5px; background: var(--sdg); color: #fff; flex-shrink: 0; overflow: hidden; }
.sdg-ic b { font: 800 18px/1 "IBM Plex Mono", monospace; }
.sdg-ic small { font: 700 6.5px/1.1 "Sarabun", sans-serif; letter-spacing: .02em; }
.sdg-ic.sm { width: 42px; height: 42px; padding: 3px 4px; } .sdg-ic.sm b { font-size: 15px; } .sdg-ic.sm small { font-size: 5.4px; }
.sdg-ic.xs { width: 30px; height: 30px; padding: 2px 3px; } .sdg-ic.xs b { font-size: 12px; } .sdg-ic.xs small { display: none; }
.sdg-ic.xs { justify-content: center; align-items: center; }

/* แผง SDG 17 เป้าหมาย */
.sdg-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; }
.sdg-tile { --sdg: #888; display: flex; flex-direction: column; gap: 4px; min-height: 124px; padding: 9px 10px; background: var(--sdg); color: #fff; text-decoration: none; transition: transform .12s, box-shadow .12s; outline-offset: 2px; }
.sdg-tile:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(23,37,28,.16); text-decoration: none; }
.sdg-tile.sel { outline: 3px solid var(--ink); }
.sdg-tile-top { display: flex; gap: 6px; align-items: flex-start; }
.sdg-tile-top b { font: 800 26px/1 "IBM Plex Mono", monospace; }
.sdg-tile-top small { font: 700 9px/1.15 "Sarabun", sans-serif; letter-spacing: .02em; padding-top: 2px; }
.sdg-tile-th { font-size: 11.5px; line-height: 1.3; opacity: .95; }
.sdg-tile-n { margin-top: auto; font: 700 12px "IBM Plex Mono", monospace; }
.sdg-tile.off { background: var(--card); color: var(--ink-faint); border: 1px dashed var(--rule); border-top: 5px solid var(--sdg); cursor: default; }
.sdg-tile.off:hover { transform: none; box-shadow: none; color: var(--ink-faint); }
.sdg-tile.off .sdg-tile-top b { color: var(--sdg); }
.lg .gs-sdg-note > span { display: flex; gap: 8px; align-items: center; }
.lg .dl-row-side .sdg-ics { justify-content: flex-end; margin-bottom: 6px; }
