/* Shared decorative category symbols. Fixed dimensions prevent layout movement. */
.category-symbol{display:inline-grid;place-items:center;flex:0 0 auto;width:52px;height:52px;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 14%,transparent);border-radius:50%;color:var(--category-color,#6652b5);background:var(--category-soft,#f0ebfc);box-shadow:inset 0 1px 1px #ffffffb8,0 4px 12px #182d4e08;vertical-align:middle}
.category-symbol svg{display:block;width:26px;height:26px;max-width:100%;pointer-events:none}
.home-category-grid .home-category-card{--category-color:#6652b5;--category-soft:#f1edfc;min-width:0;min-height:226px;padding:23px;border:1px solid #dfe5f0;border-radius:22px;background:linear-gradient(150deg,#fff 55%,var(--category-soft));box-shadow:0 5px 18px #16305805;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.home-category-grid .home-category-card.is-math{--category-color:#5c4fc0;--category-soft:#f0edff}
.home-category-grid .home-category-card.is-reasoning{--category-color:#2769b0;--category-soft:#eaf3ff}
.home-category-grid .home-category-card.is-science{--category-color:#137c68;--category-soft:#e4f5ef}
.home-category-grid .home-category-card.is-gk{--category-color:#7950b3;--category-soft:#f1eafa}
.home-category-grid .home-category-card:after{right:-32px;bottom:-45px;width:132px;height:132px;background:transparent;border:1px solid var(--category-color);opacity:.08;pointer-events:none}
.home-category-grid .home-category-card:before{height:3px;opacity:0}
.home-category-grid .home-category-card:hover,.home-category-grid .home-category-card:focus-visible{border-color:var(--category-color);box-shadow:0 14px 30px #16305812;transform:translateY(-3px)}
.home-category-grid .home-category-card:focus-visible{outline:3px solid #7a9ce0;outline-offset:4px}
.home-category-grid .home-category-top{width:100%;margin-bottom:20px;align-items:center}
.home-category-grid .home-category-top .category-symbol{width:54px;height:54px;padding:0;border-radius:50%;color:var(--category-color);background:var(--category-soft)}
.home-category-grid .home-category-top b{display:grid;place-items:center;width:30px;height:30px;border:1px solid #e4eaf4;border-radius:50%;background:#ffffffc4;font-size:17px;color:#7c91ad;font-weight:500}
.home-category-grid .home-category-card h3{font-size:1.15rem;line-height:1.4;overflow-wrap:anywhere;margin-bottom:7px}
.home-category-grid .home-category-card p{font-size:.86rem;line-height:1.6;margin-bottom:20px;color:#697c95;overflow-wrap:anywhere}
.home-category-grid .home-category-card>strong{display:inline-flex;align-items:center;gap:7px;position:relative;z-index:1;margin-top:auto;font-size:12px;color:var(--category-color)}
.home-category-grid .home-category-card>strong:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.65}
.compact-category-card>.category-symbol{width:44px;height:44px}.compact-category-card>.category-symbol svg{width:23px;height:23px}
.category-symbol.math{--category-color:#5c4fc0;--category-soft:#f0edff}.category-symbol.reasoning{--category-color:#2769b0;--category-soft:#eaf3ff}.category-symbol.science{--category-color:#137c68;--category-soft:#e4f5ef}.category-symbol.gk{--category-color:#7950b3;--category-soft:#f1eafa}
.category-detail-title>.category-symbol{width:58px;height:58px;color:#fff;background:#ffffff1c;border-color:#ffffff38}
.subject-card>.category-symbol{margin-bottom:24px}.answer-practice-category-card>.category-symbol{margin-bottom:18px}
@media(max-width:720px){.home-category-grid .home-category-card{min-height:210px;padding:20px}.home-category-grid .home-category-top{margin-bottom:16px}.home-category-grid .home-category-top .category-symbol{width:50px;height:50px}}
@media(prefers-reduced-motion:reduce){.home-category-grid .home-category-card,.home-category-grid .home-category-top b{transition:none}.home-category-grid .home-category-card:hover,.home-category-grid .home-category-card:focus-visible{transform:none}}
