/* Shared community presentation and audited viewport rules, career.32. */
.community-page { max-width:var(--page-max); margin:auto; padding:28px var(--page-gutter) 48px; min-width:0; }
.community-narrow { max-width:760px; }
.community-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom:24px; }
.community-heading h1 { font-size:clamp(1.9rem,3vw,2.9rem); letter-spacing:-.045em; line-height:1.12; margin:0 0 10px; overflow-wrap:anywhere; }
.community-heading h2 { margin:0 0 6px; font-size:1.35rem; letter-spacing:-.025em; }
.community-heading p { margin:0; color:var(--color-muted); max-width:65ch; }
.community-panel { min-width:0; border:1px solid var(--panel-border); border-radius:var(--radius-panel); padding:clamp(18px,2vw,28px); background:var(--panel-fill); box-shadow:var(--panel-shadow); margin-bottom:20px; }
.community-panel :is(h2,h3) { letter-spacing:-.025em; overflow-wrap:anywhere; }
.community-panel p { line-height:1.65; overflow-wrap:anywhere; }
.community-page :is(input:not([type=checkbox]):not([type=hidden]),select,textarea),.community-comments :is(input:not([type=hidden]),textarea),.club-depth select { display:block; width:100%; min-width:0; min-height:46px; border:1px solid #ffffff26; border-radius:12px; padding:11px 13px; background:var(--control-fill); color:var(--color-text); font:inherit; font-size:1rem; }
.community-page textarea,.community-comments textarea { resize:vertical; max-width:100%; }
.community-page label,.community-comments label { display:grid; gap:8px; color:var(--color-muted); font-size:.9rem; min-width:0; }
.community-page :is(input,select,textarea):focus-visible,.community-comments textarea:focus-visible { outline:2px solid var(--color-accent); outline-offset:3px; }
.community-form-grid,.community-two-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.community-form-grid fieldset { margin:0; padding:16px; border:1px solid var(--panel-border); border-radius:12px; min-width:0; }
.span-all { grid-column:1/-1; }
.community-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-block:12px; }
.community-actions a:not(.button),.community-heading a:not(.button) { min-height:44px; display:inline-flex; align-items:center; color:var(--color-muted); }
.community-inline { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.community-inline > label,.community-inline > .career-field { flex:1 1 180px; }
.community-panel form > label { margin-block:16px; }
.community-panel .community-form-grid > label { margin:0; }
.community-page button:not(.button) { color:inherit; background:var(--control-fill); border:1px solid var(--panel-border); border-radius:10px; min-height:44px; padding:10px 14px; font:inherit; cursor:pointer; }
.community-page button:disabled { opacity:.5; cursor:default; }
.community-checks { display:flex; flex-wrap:wrap; gap:8px 18px; }
.community-checks label,.community-checkbox { display:flex!important; align-items:center; gap:10px; min-height:44px; }
.community-page input[type=checkbox],.community-checks input { width:19px; height:19px; accent-color:var(--color-accent); flex:0 0 auto; }
.community-muted { color:var(--color-muted); font-size:.875rem; }
.community-notice { padding:16px 18px; border:1px solid #52728e; border-radius:12px; background:#183048; color:#dceaff; }
.community-notice[role=alert] { border-color:#bd6b76; background:#38232d; color:#ffdae0; }
.community-empty { text-align:center; padding:40px 20px; color:var(--color-muted); border:1px dashed #ffffff24; border-radius:18px; margin:24px 0; }
.community-empty h2 { color:var(--color-text); }
.community-status { display:inline-flex; align-items:center; color:#a9cef5; font-size:.79rem; padding:4px 9px; border:1px solid #42617e; border-radius:8px; margin-bottom:12px; }
.community-card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr)); gap:18px; }
.community-card-grid .community-panel { margin:0; }
.community-card-grid a.community-panel { text-decoration:none; transition:transform var(--motion-duration) var(--motion-ease),border-color var(--motion-duration),box-shadow var(--motion-duration); }
@media(hover:hover) and (pointer:fine) { .community-card-grid a.community-panel:hover { transform:translateY(-4px); border-color:#6294ba; box-shadow:0 16px 36px #0005; } }
.community-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:24px 0; }
.community-facts dt { color:var(--color-muted); font-size:.82rem; }
.community-facts dd { margin:4px 0 0; font-weight:650; overflow-wrap:anywhere; }
.manager-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; align-items:start; }
.manager-filters > label { margin:0!important; }
.manager-hero,.mod-detail { display:grid; grid-template-columns:240px minmax(0,1fr); gap:32px; }
.manager-portrait { width:100%; height:280px; object-fit:contain; object-position:center bottom; border-radius:16px; background:linear-gradient(145deg,#1c3d60,#111d2d); }
.manager-card { text-align:center; }
.manager-card h2 { font-size:1.2rem; margin:14px 0 4px; }
.manager-card-portrait { height:190px; background:linear-gradient(150deg,#163c61,#162130); border-radius:12px; overflow:hidden; }
.manager-card-portrait img { height:100%; width:100%; object-fit:contain; object-position:center bottom; }
.manager-badges { display:flex; justify-content:center; align-items:center; gap:16px; padding:18px 0 0; margin-top:18px; border-top:1px solid var(--panel-border); }
.manager-badges img { object-fit:contain; }
.manager-hero .manager-badges { justify-content:start; }
.manager-page .career-combobox__suggestions { position:relative; }
.filter-option-icon { width:24px; height:24px; flex:0 0 24px; object-fit:contain; margin-right:8px; }
.career-combobox__chip .filter-option-icon { width:20px; height:20px; flex-basis:20px; margin:0; }
.career-combobox__option > span { min-width:0; }
.secondary-positions { display:inline-flex; gap:4px; align-items:center; flex-wrap:wrap; margin-left:6px; font-size:.72rem; line-height:1.5; color:#a6c6e8; }
.secondary-positions > span { display:inline-flex; padding:1px 5px; border:1px solid #627b954d; background:#14283b; border-radius:4px; white-space:nowrap; }
.career-player-nation { display:flex; align-items:center; flex-wrap:wrap; gap:5px; }
.cc-filter-body .career-field { margin-block:18px; }
.cc-stat-filters,.cc-column-settings { padding-block:14px; border-block-end:1px solid var(--panel-border); }
.cc-stat-filters > summary,.cc-column-settings > summary { min-height:44px; cursor:pointer; }
.cc-team-list { border:1px solid var(--panel-border); border-radius:18px; background:var(--panel-fill); overflow:hidden; }
.cc-team-labels,.cc-team-row { display:grid; grid-template-columns:minmax(240px,2.2fr) repeat(var(--club-columns),minmax(65px,1fr)); gap:12px; align-items:center; padding:18px; }
.cc-team-labels { color:var(--color-muted); border-bottom:1px solid var(--panel-border); font-size:.8rem; font-weight:650; }
.cc-team-labels a { display:flex; gap:4px; align-items:center; justify-content:center; min-height:44px; text-decoration:none; white-space:nowrap; }
.cc-team-labels a > span { color:#73b4ed; }
.cc-team-row { border-bottom:1px solid var(--panel-border); cursor:pointer; transition:background .18s ease; }
.cc-team-row:last-child { border-bottom:0; }
.cc-team-row:hover { background:#ffffff06; }
.cc-team-row .cc-identity { min-width:0; }
.cc-team-row .cc-identity a { white-space:normal; overflow:visible; overflow-wrap:break-word; text-overflow:clip; }
.cc-team-row .cc-club-nation { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.cc-team-row .cc-club-nation small { color:var(--color-muted); font-size:.76rem; }
.cc-team-stat { display:grid; gap:6px; justify-items:center; min-width:0; font-variant-numeric:tabular-nums; }
.cc-team-stat > small { display:none; }
.cc-team-stat strong { white-space:nowrap; }
.club-depth { padding-block:20px; }
.club-depth-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); gap:22px; align-items:start; }
.club-pitch { position:relative; overflow:hidden; display:flex; flex-direction:column; gap:14px; background:repeating-linear-gradient(0deg,#123746 0px,#123746 64px,#133241 64px,#133241 128px); border:1px solid #66848c; padding:22px 14px; border-radius:18px; }
.club-pitch::before { content:''; position:absolute; pointer-events:none; inset:10px; border:1px solid #b9d0d33d; border-radius:3px; }
.club-pitch::after { content:''; position:absolute; pointer-events:none; top:50%; left:calc(50% - 50px); width:100px; height:100px; border:1px solid #b9d0d33d; border-radius:50%; transform:translateY(-50%); }
.club-pitch-row { position:relative; z-index:1; display:flex; justify-content:space-evenly; gap:8px; }
.club-pitch-slot { display:grid; align-content:start; justify-items:center; text-align:center; flex:1; min-width:0; max-width:130px; font-size:.75rem; }
.club-pitch-slot .cc-position { font-size:.72rem; min-height:25px; padding:2px 6px; }
.club-pitch-slot a { display:grid; justify-items:center; width:100%; text-decoration:none; }
.club-pitch-slot img { object-fit:contain; object-position:bottom; width:48px; height:50px; }
.club-pitch-slot strong { display:block; width:100%; overflow-wrap:break-word; line-height:1.3; padding:3px; border-radius:5px; background:#0c182ddb; }
.club-pitch-slot .cc-score { width:30px; height:28px; font-size:.8rem; padding:2px; border-radius:5px; margin-top:4px; }
.club-slot-empty { color:#aac3d1; font-size:.72rem; padding:16px 4px; }
.club-depth-options { padding:18px; border:1px solid var(--panel-border); border-radius:18px; background:var(--panel-fill); }
.club-depth-options details { border-top:1px solid var(--panel-border); padding-block:8px; }
.club-depth-options summary { display:flex; align-items:center; gap:14px; cursor:pointer; min-height:44px; }
.depth-player { display:flex; gap:12px; align-items:center; justify-content:space-between; min-width:0; padding:10px 6px; border-bottom:1px solid var(--panel-border); text-decoration:none; font-size:.88rem; }
.depth-player > span { min-width:0; overflow-wrap:break-word; }.depth-player small { display:block; color:var(--color-muted); }
.depth-player .cc-score { flex:0 0 38px; }
.club-bench { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:8px 22px; }
.community-comments { max-width:calc(var(--page-max) - 2 * var(--page-gutter)); margin:24px auto 40px; }
.comment-compose { display:grid; gap:12px; padding-bottom:22px; border-bottom:1px solid var(--panel-border); }
.comment-compose button { justify-self:end; }
.comment { padding:24px 0; border-bottom:1px solid var(--panel-border); }
.comment header { display:flex; align-items:center; gap:14px; }.comment header > div { min-width:0; }
.comment .identity-avatar { width:40px; height:40px; font-size:1rem; flex:0 0 40px; }
.comment time { display:block; color:var(--color-muted); font-size:.74rem; margin-top:3px; }
.comment-body { margin:14px 0; }.comment-options summary { cursor:pointer; min-height:44px; display:flex; align-items:center; color:var(--color-muted); }
.comment-options form { max-width:700px; display:grid; gap:10px; }
.creator-application form { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }.creator-application form label { flex:1 1 300px; }
.creator-start { margin-bottom:28px; }.project-share summary { display:flex; align-items:center; min-height:44px; cursor:pointer; }
.challenge-share-code { font-size:1.1rem; letter-spacing:.04em; display:block; margin:12px 0; overflow-wrap:anywhere; }
[data-qr-url] { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin:16px 0; }
[data-qr-url] svg { width:180px; height:180px; background:#fff; border:8px solid #fff; border-radius:10px; flex:0 0 auto; }
[data-qr-url] a { display:inline-flex; align-items:center; min-height:44px; }
.code-join { text-align:center; padding:clamp(24px,5vw,48px); }.code-join form { display:grid; gap:16px; max-width:420px; margin:24px auto; text-align:left; }.code-join input { font-size:1.15rem!important; text-transform:uppercase; letter-spacing:.08em; }
.mod-visual { display:grid; align-content:center; justify-items:center; gap:12px; min-height:180px; background:radial-gradient(ellipse at top,#235188,#142032 65%); border-radius:14px; color:#90c8ff; font-size:.72rem; letter-spacing:.14em; font-weight:700; margin-bottom:20px; }
.mod-visual > span { font-size:3.4rem; }.mod-detail .mod-visual { min-height:280px; align-self:start; }.mod-detail .mod-visual span { font-size:1rem; }.mod-card h2 { font-size:1.35rem; margin-block:10px; }
.legal-copy { max-width:900px; line-height:1.75; }.legal-copy h2 { margin-top:32px; }.legal-copy dl dd { margin:0 0 16px; }.legal-copy :is(a,dd) { overflow-wrap:anywhere; }
.legal-copy a { color:#a8d3ff; }.legal-contact { max-width:700px; }.legal-contact form { display:grid; gap:16px; }
.platform-footer { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:20px 28px; align-items:center; padding-block:28px; }
.platform-footer .footer-brand { justify-self:start; }.platform-footer .footer-socials { justify-self:center; display:flex; justify-content:center; gap:12px; }
.platform-footer .footer-legal-links { justify-self:end; display:flex; flex-wrap:wrap; justify-content:end; gap:8px 16px; }
.platform-footer .footer-legal-links a { min-height:44px; display:inline-flex; align-items:center; }
.footer-disclaimer { grid-column:1/-1; margin:0; text-align:center; color:var(--color-muted); font-size:.73rem; line-height:1.65; max-width:1100px; justify-self:center; }
.identity-login { gap:clamp(28px,6vw,100px); align-items:center; min-height:65vh; }
.identity-login-story h1 { max-width:12ch; font-size:clamp(2.3rem,5vw,4.8rem); letter-spacing:-.06em; }
.identity-world-orbs { display:flex; gap:20px; align-items:center; justify-content:start; }.identity-world-orbs .brand-mark { width:70px; height:70px; }
.identity-login-card { position:relative; overflow:hidden; border-color:#6585a64d; padding:clamp(24px,3.2vw,42px); background:radial-gradient(ellipse at top right,#20426855,transparent 65%),var(--panel-fill); }
.identity-login-card::before { content:''; position:absolute; height:2px; inset:0 12% auto; background:linear-gradient(90deg,#d2ff00,#248cff); }
.identity-login-form input { min-height:52px; font-size:1rem; }.identity-login-form button { min-height:52px; }
.identity-login-symbol { border-radius:14px; background:color-mix(in srgb,var(--color-accent) 14%,#182637); color:var(--color-accent); }
.identity-public-hero { position:relative; overflow:hidden; padding-top:48px; background:radial-gradient(ellipse at 10% 0%,#2c699c55,transparent 55%),var(--panel-fill); border-color:#6085a33d; }
.identity-public-hero::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,#d2ff00,#248cff 55%,#152436); }
.identity-public-intro h1 { font-size:clamp(1.8rem,4vw,3rem); letter-spacing:-.045em; }.identity-public-bio { max-width:65ch; }
.profile-projects { margin:24px 0; }.profile-projects h2 { margin-bottom:20px; }
@media (min-width:768px) and (max-width:1199px) { body[data-active-world="career"] .platform-header { display:block; padding:0; } body[data-active-world="career"] .platform-header__top { display:flex; } body[data-active-world="career"] .platform-header__nav { padding-inline:var(--page-gutter); justify-content:flex-start; border-top:1px solid var(--panel-border); min-height:44px; } body[data-active-world="career"] { --header-height:102px; } }
@media (max-width:1399px) { .cc-team-sort { display:block; } .cc-team-labels { grid-template-columns:repeat(var(--club-columns),minmax(0,1fr)); }.cc-team-labels > span:first-child { grid-column:1/-1; }.cc-team-row { grid-template-columns:repeat(var(--club-columns),minmax(0,1fr)); }.cc-team-row > .cc-identity { grid-column:1/-1; }.cc-team-stat > small { display:block; font-size:.72rem; text-align:center; color:var(--color-muted); }.cc-team-labels { display:none; } }
@media (max-width:1099px) { .community-two-columns,.club-depth-layout { grid-template-columns:1fr; }.community-comments { margin-inline:var(--page-gutter); }.manager-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }.platform-footer { grid-template-columns:1fr; justify-items:center; }.platform-footer .footer-brand,.platform-footer .footer-socials,.platform-footer .footer-legal-links { justify-self:center; justify-content:center; }.club-pitch { max-width:700px; width:100%; margin-inline:auto; } }
@media (max-width:767px) {
 .community-page { padding:22px var(--page-gutter) 40px; }.community-form-grid,.manager-filters,.community-facts { grid-template-columns:1fr; }.community-heading { align-items:start; }.community-card-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); }.manager-hero,.mod-detail { grid-template-columns:1fr; gap:20px; }.manager-portrait { height:210px; }.manager-card-portrait { height:170px; }
 .community-panel { padding:18px; }.community-actions > .button { flex:1 1 auto; }.community-inline { gap:14px; }.community-inline > label { flex-basis:100%; }
 .cc-team-row { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 8px; padding:16px; }.cc-team-stat strong { font-size:.95rem; }.cc-team-stat .cc-score { font-size:1rem; min-width:40px; }
 .career-mobile-row { grid-template-columns:46px minmax(0,1fr) 86px; column-gap:9px; row-gap:8px; padding:12px; }
 .career-mobile-row__portrait { grid-column:1; grid-row:1/span 2; }.career-mobile-row__body { grid-column:2; grid-row:1; }.career-mobile-row__body > strong { overflow:visible; white-space:normal; overflow-wrap:break-word; line-height:1.35; }
 .career-mobile-row__position { grid-column:2; grid-row:2; display:flex; flex-wrap:wrap; justify-content:flex-start; gap:5px; }.career-mobile-row__position .secondary-positions { margin:0; font-size:.64rem; }.career-mobile-row__position .career-position-chip { width:auto; min-width:32px; min-height:30px; height:auto; font-size:.8rem; padding:3px 6px; }
 .career-mobile-row__metrics { grid-column:3; grid-row:1/span 2; }.career-mobile-row__custom { grid-column:1/-1; grid-row:3; }
 .identity-login-story h1 { max-width:100%; }.identity-world-orbs { justify-content:center; }.identity-world-orbs .brand-mark { width:46px; height:46px; }.identity-login { min-height:0; }.identity-public-hero { padding-top:32px; }
 .club-depth .community-inline > label { flex:0 1 auto; }.club-pitch { padding:20px 10px; }.club-pitch-slot { font-size:.65rem; }.club-pitch-slot img { width:38px; height:42px; }.club-pitch-row { gap:3px; }.club-pitch-slot .cc-position { font-size:.62rem; }
 .footer-disclaimer { font-size:.73rem; }.community-comments { margin-inline:16px; }
}
@media(prefers-reduced-motion:reduce) { .community-page *, .community-comments * { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

.filter-selected-icon { display:flex; align-items:center; position:absolute; left:12px; top:50%; transform:translateY(-50%); pointer-events:none; }
.filter-selected-icon[hidden] { display:none; }
.filter-selected-icon .filter-option-icon { margin:0; }
.career-combobox__control > input { min-width:0; padding-right:42px; }
.career-combobox__control:has(.filter-selected-icon:not([hidden])) > input { padding-left:46px; }
.cc-team-sort { padding:10px 12px; border:1px solid var(--panel-border); border-radius:12px; margin-bottom:14px; }
.cc-team-sort summary { min-height:44px; display:flex; align-items:center; cursor:pointer; }
.cc-team-sort nav { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:4px; }
.cc-team-sort a { display:flex; align-items:center; gap:8px; min-height:44px; padding:8px; text-decoration:none; }
.cc-team-sort a[aria-current=true] { background:#254d74; border-radius:8px; }

.creator-check{display:inline-flex;width:1em;height:1em;min-width:16px;min-height:16px;margin-inline-start:.25em;vertical-align:-.1em;color:#63c8ff;align-items:center;justify-content:center;line-height:1}.creator-check svg{width:100%;height:100%}[data-active-world=fut] .forum{--accent:#d2ff00;--accent-rgb:210,255,0}[data-active-world=fut] .forum-heading .eyebrow{color:#d2ff00}.fup-page>.community-comments{margin-top:36px;padding-top:24px;border-top:1px solid #ffffff22}.fup-page .forum :is(textarea,button){font-size:14px}

.help-improve__community-link{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;max-width:100%;text-decoration:none;line-height:1.5}
.help-improve__community-link:hover{text-decoration:underline;text-underline-offset:4px}.help-improve__community-link:focus-visible{outline:2px solid var(--world-accent,#248cff);outline-offset:4px;border-radius:3px}

/* FC Mods, 49.27: controls stay mounted while only the result region updates. */
.mod-page .mod-filters { display:grid; grid-template-columns:minmax(220px,2fr) repeat(3,minmax(145px,1fr)) auto; gap:16px; align-items:end; padding:20px; margin-bottom:0; }
.mod-page .mod-filters > label { margin:0; }
.mod-enhanced .mod-submit { display:none; }
.mod-enhanced .mod-filters { grid-template-columns:minmax(220px,2fr) repeat(3,minmax(145px,1fr)); }
.mod-select { display:block; position:relative; }
.mod-select select { appearance:none; padding-right:40px!important; cursor:pointer; }
.mod-select::after { content:""; pointer-events:none; position:absolute; right:17px; top:18px; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
.mod-live { display:flex; align-items:center; flex-wrap:wrap; gap:10px; min-height:0; margin:0; font-size:.875rem; color:var(--color-muted); }
.mod-live p { margin:0; overflow-wrap:anywhere; }
.mod-live[data-active] { min-height:42px; margin:4px 0; }
.mod-live [data-quiet] { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mod-live [data-error] { color:#ffb7bf; }
.mod-live [hidden] { display:none!important; }
.mod-results-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; margin:16px 0 18px; }
.mod-count { margin:0; color:var(--color-muted); font-size:.9rem; }
.mod-chips { display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-width:0; }
.mod-chip { display:inline-flex; align-items:center; gap:12px; max-width:100%; min-height:40px; border:1px solid var(--panel-border); border-radius:999px; padding:6px 13px; color:var(--color-text); text-decoration:none; background:var(--control-fill); font-size:.85rem; }
.mod-chip span:first-child { min-width:0; overflow-wrap:anywhere; }
.mod-chip span:last-child { flex:none; font-size:1.15rem; color:var(--color-muted); }
.mod-clear { display:inline-flex; align-items:center; min-height:42px; color:var(--color-accent); font-size:.85rem; }
.mod-grid .mod-card { display:flex; flex-direction:column; padding:22px; gap:12px; min-width:0; }
.mod-card-top { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.mod-category { color:var(--color-accent); font-size:.8rem; line-height:1.6; letter-spacing:.015em; }
.mod-price { display:inline-flex; align-items:center; padding:3px 8px; border:1px solid var(--panel-border); background:var(--control-fill); color:var(--color-muted); border-radius:8px; font-size:.75rem; line-height:1.6; overflow-wrap:anywhere; }
.mod-price[data-pricing="free"] { color:#a3e4b8; border-color:#46896170; }
.mod-price[data-pricing="paid"] { color:#dfc795; border-color:#ad915760; }
.mod-grid .mod-card h2 { margin:0; color:var(--color-text); font-size:1.2rem; line-height:1.35; }
.mod-grid .mod-card p { margin:0; }
.mod-card .mod-author { color:var(--color-muted); font-size:.85rem; }
.mod-card .mod-excerpt { color:var(--color-muted); font-size:.9rem; line-height:1.55; }
.mod-card-bottom { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:auto; padding-top:15px; border-top:1px solid var(--panel-border); color:var(--color-muted); font-size:.8rem; }
.mod-card-bottom > span:first-child { overflow-wrap:anywhere; min-width:0; }
.mod-card-bottom > span:last-child { flex:none; color:var(--color-accent); font-size:1.3rem; }
.mod-pagination { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:5px; margin-top:26px; }
.mod-pagination a { display:inline-flex; justify-content:center; align-items:center; min-height:42px; min-width:42px; border:1px solid var(--panel-border); background:var(--control-fill); color:var(--color-text); border-radius:10px; text-decoration:none; font-variant-numeric:tabular-nums; }
.mod-pagination a[aria-current="page"] { border-color:var(--color-accent); background:var(--color-accent); color:var(--color-accent-ink,#071422); font-weight:750; }
.mod-page a:focus-visible { outline:2px solid var(--color-accent); outline-offset:3px; }
.mod-back { display:inline-flex; align-items:center; min-height:44px; gap:10px; margin:0 0 18px; color:var(--color-accent); text-decoration:none; }
#mod-results { min-width:0; scroll-margin-top:120px; }
#mod-results:focus { outline:0; }
#mod-results[aria-busy="true"] .mod-grid { opacity:.65; }
.mod-page .mod-detail .community-facts .span-all { grid-column:1/-1; }
@media(max-width:1050px) { .mod-page .mod-filters,.mod-enhanced .mod-filters { grid-template-columns:repeat(3,minmax(0,1fr)); } .mod-search { grid-column:1/-1; } }
@media(max-width:560px) { .mod-page .mod-filters,.mod-enhanced .mod-filters { grid-template-columns:minmax(0,1fr); padding:18px; gap:14px; } .mod-search { grid-column:auto; } .mod-results-heading { align-items:flex-start; flex-direction:column; } .mod-grid .mod-card { padding:20px; } }
@media(prefers-reduced-motion:reduce) { .mod-grid .mod-card { transition:none!important; transform:none!important; } }
