.community-wrap{max-width:1180px;margin:auto;padding:52px 28px 80px}.community-hero{display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:center;padding-bottom:35px}.community-hero h1{font-size:clamp(40px,5vw,64px);line-height:1.08;margin:15px 0 20px}.community-hero p{max-width:600px;line-height:1.8;color:#b6bdc5}.community-art{height:240px;position:relative;overflow:hidden;background:radial-gradient(ellipse,#8971ce28,transparent 67%)}.community-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 20px #0008)}.community-switcher{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #4c425c66;padding-bottom:15px;margin-bottom:32px}.community-switcher button{background:#17161f;border:1px solid #413748;color:#c9c4d5;border-radius:6px;padding:12px 20px;font:600 14px var(--font);cursor:pointer}.community-switcher button[aria-selected=true]{background:linear-gradient(120deg,#7650a75c,#45826a4a);border-color:#8aa098;color:#fff}.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px;align-items:start}.community-panel{background:#15151d;border:1px solid #3f384c;border-radius:10px;padding:25px}.community-panel h2{font:600 27px var(--display);margin:0 0 15px}.community-panel h3{margin:0 0 12px}.community-panel p{font-size:14px;line-height:1.7;color:#b6b2c3}.community-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}.community-toolbar h2{font-size:30px;margin:0}.community-toolbar select,.community-form input,.community-form select,.community-form textarea{background:#111018;color:#eeeaf3;border:1px solid #52475e;padding:12px;border-radius:6px;max-width:100%;font:14px var(--font)}.community-form label{display:grid;gap:7px;color:#d6cfdf;font-size:13px;margin:14px 0}.community-form input,.community-form select,.community-form textarea{width:100%;box-sizing:border-box}.community-form textarea{min-height:145px;resize:vertical;line-height:1.6}.community-form .community-check{display:flex;align-items:center;gap:8px}.community-check input{width:auto}.community-form .button{width:100%;justify-content:center}.community-form small{font-size:11px;line-height:1.6;color:#a7a0b4}.community-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.community-status{font-size:13px;line-height:1.6;min-height:22px;color:#bcdac6}.community-status[data-error=true]{color:#ffc0b7}.community-post{border:1px solid #403747;background:linear-gradient(120deg,#1d1824,#14171c);padding:25px;border-radius:9px;margin-bottom:16px;overflow-wrap:anywhere}.community-post h3{font:600 25px var(--display);margin:13px 0}.community-post p{font-size:14px;line-height:1.8;white-space:pre-wrap;color:#c7c2d0}.community-meta{display:flex;gap:9px;flex-wrap:wrap;font-size:11px;color:#a9a0b7;align-items:center}.community-badge{border:1px solid #8c72a166;background:#b48af210;padding:3px 7px;border-radius:3px;color:#ceb4ef}.community-actions{display:flex;gap:18px;flex-wrap:wrap;padding-top:8px}.community-actions button{background:none;border:0;padding:0;color:#b4d8c1;font:12px var(--font);cursor:pointer;text-decoration:underline;text-underline-offset:4px}.community-actions button[data-remove]{color:#bcb0cd}.community-showcase{display:flex;align-items:center;gap:20px}.community-showcase img{height:95px;width:95px;object-fit:contain;image-rendering:pixelated;background:#0e1018;border:1px solid #3d3449;border-radius:6px}.community-spoiler{margin-top:15px;border-top:1px solid #48364e;padding-top:12px}.community-spoiler summary{cursor:pointer;color:#d8bbef;font-size:13px}.community-empty{padding:50px 25px;text-align:center;border:1px dashed #51415f;border-radius:10px;background:#a082cf06}.community-empty h3{font-size:27px}.community-empty p{color:#b7afc2;font-size:14px}.community-notes{margin-top:20px}.community-notes li{font-size:12px;line-height:1.9;color:#a9a2b5;margin-bottom:9px}.community-lore-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}.community-lore-card{padding:27px;border:1px solid #49404f;border-radius:9px;background:linear-gradient(130deg,#70539913,#386a5310)}.community-lore-card h3{font-size:28px;margin:12px 0}.community-lore-card p{font-size:14px;color:#bbb5c6;line-height:1.8}.community-wide{grid-column:1/-1}.community-item-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.community-item{border:1px solid #453b50;border-radius:8px;padding:20px;text-align:center;background:#16151e}.community-item img{width:100%;height:110px;object-fit:contain;image-rendering:pixelated}.community-item h3{font:600 18px var(--display);margin:15px 0}.community-item button{font-size:12px;padding:8px 12px}.community-dialog{background:#13121b;color:#eeeaf3;border:1px solid #847092;border-radius:12px;width:calc(100% - 36px);max-width:800px;max-height:88vh;padding:26px;overflow:auto}.community-dialog::backdrop{background:#000b}.community-dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.community-dialog-head button{background:#2a2234;border:1px solid #655174;border-radius:6px;color:white;padding:8px 12px;cursor:pointer}.community-reply{border-top:1px solid #46364c;padding-top:18px;margin-top:18px}.community-reply p{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere;color:#cbc4d7;font-size:14px}.grimmcoin-section{border-top:1px solid #604b6e55;border-bottom:1px solid #604b6e55;background:linear-gradient(120deg,#ab7ee00b,#67c79606);padding:55px 0}.grimmcoin-heading{display:flex;gap:22px;align-items:center;max-width:1000px}.grimmcoin-heading>img{width:56px;height:56px;image-rendering:pixelated;flex:none}.grimmcoin-heading h2{font-size:42px;margin:12px 0}.grimmcoin-heading p{font-size:15px;max-width:720px;color:#beb7ca;line-height:1.7}.grimmcoin-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin:32px 0 22px}.grimmcoin-pack{position:relative;border:1px solid #775b3f;background:linear-gradient(150deg,#282019,#191520);border-radius:8px;padding:20px 15px;text-align:center;display:flex;flex-direction:column;align-items:center;min-width:0}.grimmcoin-bonus{min-height:24px;color:#ffe1a0;font-size:10px;letter-spacing:.5px;margin:0 0 20px}.grimmcoin-cluster{height:57px;display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap;max-width:130px}.grimmcoin-cluster img{width:24px;height:24px;image-rendering:pixelated;filter:drop-shadow(0 2px 3px #0008)}.grimmcoin-pack strong{font:600 32px var(--display);color:#ffe4a8;margin-top:23px}.grimmcoin-pack .unit{font-size:12px;color:#c7bcac;margin:6px 0 14px}.grimmcoin-price{font-size:20px;color:#eee8dc;margin-bottom:21px}.grimmcoin-price small{font-size:10px;color:#b7ada8}.grimmcoin-pack button{width:100%;margin-top:auto;padding:10px 6px;font-size:12px;border:1px solid #746149;border-radius:4px;color:#c7bca9;background:#352b234d;cursor:not-allowed}.grimmcoin-note{font-size:13px;line-height:1.8;color:#bdb4c5;max-width:920px}.grimmcoin-details{padding-top:15px;font-size:14px}.grimmcoin-details summary{cursor:pointer;color:#d1c0e6}.grimmcoin-details p{font-size:13px;line-height:1.8;color:#bdb6c9}.lore-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:45px;align-items:start}.lore-index{position:sticky;top:25px;display:grid;gap:5px;padding:20px;border:1px solid #42374b;border-radius:9px}.lore-index a{font-size:12px;padding:8px 0;color:#bfb4cd}.lore-intro{font-size:18px;line-height:1.8;max-width:800px}.lore-chapter{border:1px solid #41364c;border-radius:9px;margin-bottom:18px;padding:25px;background:#17131f44;scroll-margin-top:24px}.lore-chapter>summary{font:600 26px var(--display);cursor:pointer;line-height:1.4}.lore-chapter>summary small{font:11px var(--font);color:#c9aadf;display:block;margin:8px 0}.lore-chapter p{font-size:16px;line-height:1.95;color:#cbc4d3;max-width:780px;margin:22px auto}.lore-chapter strong{color:#e8e0ee}.community-button-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:20px}.community-button-row .text-link{font-size:13px}.community-wrap .button.primary{background:linear-gradient(115deg,#b37de7,#74cfa6);border:0;color:#13111c}.community-wrap button:focus-visible,.community-wrap a:focus-visible,.community-form input:focus-visible,.community-form textarea:focus-visible,.community-form select:focus-visible{outline:2px solid #ae91db;outline-offset:4px}.community-wrap .button:disabled{opacity:.65;cursor:wait}.grimmcoin-pack button:disabled{opacity:1;cursor:not-allowed}.community-subtle{font-size:12px!important;color:#aaa0b6!important}.community-item span{font-size:11px;color:#b5a4c6}.community-divider{height:1px;background:#4c3c5c66;margin:35px 0}.community-root-label{display:block;font-size:11px;color:#b7d2c0;margin-bottom:12px}
@media(max-width:950px){.community-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.grimmcoin-grid{grid-template-columns:repeat(3,1fr)}.community-hero{gap:25px}.lore-layout{grid-template-columns:190px minmax(0,1fr);gap:25px}.community-art{height:180px}.community-panel{padding:20px}}
@media(max-width:680px){.community-wrap{padding:35px 20px 60px}.community-hero{grid-template-columns:1fr;gap:0}.community-hero h1{font-size:42px}.community-art{height:160px;order:-1;max-width:310px;margin:auto}.community-layout,.community-lore-grid,.lore-layout{grid-template-columns:1fr}.community-sidebar{order:-1}.community-sidebar details:not([open])>summary{font-size:18px}.community-switcher{gap:6px}.community-switcher button{padding:11px 13px;font-size:12px}.community-item-grid{grid-template-columns:repeat(2,1fr)}.grimmcoin-grid{grid-template-columns:repeat(2,1fr);gap:12px}.grimmcoin-heading{align-items:flex-start;gap:17px}.grimmcoin-heading h2{font-size:34px}.grimmcoin-heading>img{width:35px;height:35px;margin-top:15px}.grimmcoin-pack{padding:18px 12px}.grimmcoin-pack strong{font-size:29px}.grimmcoin-section{padding:35px 0}.community-lore-card{padding:22px}.community-dialog{padding:18px}.lore-index{position:static;grid-template-columns:1fr 1fr;gap:4px 20px}.lore-index h2{grid-column:1/-1}.lore-chapter{padding:20px}.lore-chapter>summary{font-size:24px}.community-post{padding:20px}.community-wide{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.community-wrap button.text-link{background:transparent;border:0;border-bottom:1px solid #a4dcb544;color:#b4d8c1;padding:4px 0;cursor:pointer;font:13px var(--font)}

.community-lore-card>img{object-fit:contain;image-rendering:pixelated}.community-lore-card .button:disabled{cursor:not-allowed}

.community-market-guide{margin:22px 0}.community-market-guide summary{cursor:pointer}.community-market-guide p{max-width:850px}

.community-market-options{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 22px}.community-market-options button{padding:12px 20px;border:1px solid #51435e;border-radius:6px;background:#17161f;color:#d8d0e2;font:600 14px var(--font);cursor:pointer}.community-market-options button[aria-pressed=true]{background:linear-gradient(115deg,#8156b950,#4fa58245);border-color:#9cabaa;color:#fff}.community-market-options button:focus-visible{outline:2px solid #b79ddd;outline-offset:4px}#market-panel-items[hidden],#market-panel-cases[hidden]{display:none}
