/* Homepage directory: strong category contrast, compact shortcuts, readable tool names. */
body{font-family:'Pretendard',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0;min-height:100vh;display:block;color:#20243b;background:#f3f4fa}
.main-container{box-sizing:border-box;width:min(calc(100% - 48px),1200px);margin:0 auto;padding:88px 0 40px}
.main-container *, .main-container *::before,.main-container *::after{box-sizing:border-box}
.main-container [hidden]{display:none!important}
.home-hero{position:relative;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:32px;padding:25px 30px;border-radius:20px;background:radial-gradient(ellipse at 16% 120%,#8439ce,transparent 65%),linear-gradient(115deg,#38216c,#5524a2);color:#fff;box-shadow:0 8px 24px #3e216b14}
.home-eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.13em;font-weight:800;color:#e0ccff}
.home-eyebrow span{font-size:11px;letter-spacing:0;padding:4px 8px;border-radius:5px;background:#ffffff18;color:#f6f0ff}
.main-title{font-size:clamp(26px,3vw,36px);font-weight:900;letter-spacing:-.055em;line-height:1.3;margin:11px 0 8px;color:#fff}
.main-title span{color:#e1c5ff}
.home-description{font-size:14px;line-height:1.6;color:#eee4fc;margin:0}
.home-hero-finder label{display:block;font-size:13px;font-weight:700;margin-bottom:9px;color:#f5ecff}
.home-search-wrap{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid transparent;border-radius:10px;padding:0 14px;color:#6940a0;box-shadow:0 3px 12px #190c4520}
.home-search-wrap:focus-within{border-color:#c2a1ff;outline:3px solid #ffffff33;outline-offset:2px}
.home-search-wrap>span{font-size:29px;font-family:Arial,sans-serif;line-height:1}
#home-search{width:100%;min-width:0;height:44px;border:0;background:transparent;color:#26233d;font:inherit;font-size:14px;outline:none}
#home-search::placeholder{color:#737488;opacity:1}
.home-hero-actions{display:flex;align-items:center;gap:16px;margin-top:11px}
.home-hero-actions a{display:inline-flex;align-items:center;gap:6px;color:#f4ebff;font-size:12px;font-weight:750;text-decoration:none;min-height:28px}
.home-hero-actions a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.home-hero-actions a span{font-size:10px;color:#dfd0f7;background:#ffffff15;border-radius:4px;padding:1px 5px}
.home-featured{margin:20px 0 24px}
.home-featured-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:10px}
.home-featured-heading h2{font-size:15px;letter-spacing:-.02em;font-weight:850;margin:0;color:#41405a}
.home-update-label{display:inline-flex;align-items:center;gap:6px;color:#396655;font-size:11px;font-weight:750}
.home-update-label>span{font-size:7px;color:#21865c}
.home-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-featured-card{position:relative;display:flex;align-items:center;gap:13px;min-width:0;min-height:105px;padding:16px;border-radius:14px;text-decoration:none;border:1px solid #ded7f0;overflow:hidden;transition:transform .15s,box-shadow .15s,border-color .15s}
.home-featured-dps{background:#ece2ff;color:#422275}
.home-featured-indy{background:#fff0d4;border-color:#ead8b7;color:#754811}
.home-featured-mission{background:#def2ee;border-color:#bdddd5;color:#1d5c51}
.home-featured-card:hover{transform:translateY(-3px);box-shadow:0 7px 16px #22213c13;border-color:currentColor}
.home-featured-art{flex:0 0 68px;width:68px;height:68px;border-radius:12px;background:#ffffff70;overflow:hidden}
.home-featured-art img{display:block;width:100%;height:100%;object-fit:contain}
.home-featured-mission-art{position:absolute;inset:0;opacity:.1;pointer-events:none}
.home-featured-mission-art img{width:100%;height:100%;object-fit:cover}
.home-featured-mission .home-featured-body{padding-left:7px}
.home-featured-body{position:relative;min-width:0;display:flex;flex-direction:column;gap:5px}
.home-featured-kicker{font-size:10px;font-weight:800;letter-spacing:.01em}
.home-featured-card strong{font-size:19px;font-weight:900;line-height:1.3;letter-spacing:-.04em}
.home-featured-card p{font-size:11px;line-height:1.5;margin:0;opacity:.9}
.home-featured-arrow{margin-left:auto;align-self:flex-start;font-size:20px;font-weight:700;opacity:.7;position:relative}
.home-directory-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #d9dce8}
.home-directory-heading>strong{font-size:21px;font-weight:900;letter-spacing:-.04em}
.home-directory-heading>strong span{font-size:15px;margin-left:5px;color:#784bc2}
#home-search-status{font-size:12px;color:#60667a}
.home-category{--category:#693ac3;--category-light:#eee7fa;--category-border:#e2d9f2;scroll-margin-top:84px;margin-top:20px}
#home-simulators{--category:#2a66ab;--category-light:#e6effb;--category-border:#d5e1f1}
#home-guides{--category:#137763;--category-light:#e2f3ec;--category-border:#cfe6dd}
.home-category-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.home-category-heading>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px}
.home-section-eyebrow{display:none}
.home-category-heading h2{margin:0;color:var(--category);font-size:19px;font-weight:900;letter-spacing:-.035em;line-height:1.3;border-left:4px solid var(--category);padding-left:10px}
.home-category-heading p{font-size:12px;color:#626c80;margin:0;line-height:1.5}
.home-category-count{font-size:11px;font-weight:800;color:var(--category);background:var(--category-light);border-radius:6px;padding:5px 8px;white-space:nowrap}
.home-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.home-tool-link{display:flex;align-items:center;gap:10px;min-height:61px;padding:11px 12px;border:1px solid #dce0eb;border-radius:10px;background:#fff;color:#282d44;text-decoration:none;box-shadow:0 2px 3px #20254503;transition:transform .15s,border-color .15s,box-shadow .15s}
.home-tool-link:hover{border-color:var(--category);transform:translateY(-2px);box-shadow:0 4px 12px #2420420b}
.home-tool-icon{display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px;font-size:19px;line-height:1;background:var(--category-light);border-radius:8px}
.home-tool-label{font-size:14px;font-weight:800;line-height:1.45;letter-spacing:-.025em;min-width:0}
.home-tool-chevron{margin-left:auto;font-size:21px;color:#8991a6;font-weight:500}
.home-empty-state{background:#fff;border:1px solid #dce0eb;border-radius:12px;padding:32px;text-align:center;line-height:1.8}
.home-empty-state p{font-size:14px;color:#60667a;margin:5px 0 15px}
.home-empty-state button{border:0;background:#6533b0;border-radius:8px;padding:11px 18px;color:#fff;font:inherit;font-weight:750;cursor:pointer}
.home-data-note{display:flex;gap:11px;margin-top:24px;padding:16px 0;border-top:1px solid #d9dce8}
.home-data-note-icon{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#e1ebe6;color:#28684f;font-size:13px;font-weight:900}
.home-data-note strong{font-size:12px;font-weight:800;color:#4a5167}
.home-data-note p{font-size:11px;color:#687086;line-height:1.65;margin:5px 0 0}
.home-community{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:5px;padding:17px 20px;border:1px solid #dce0eb;border-radius:12px;background:#fff}
.home-community strong{font-size:13px;color:#3d4862;font-weight:850}
.home-community p{font-size:11px;color:#626e84;line-height:1.6;margin:5px 0 0}
.home-community-actions{display:flex;align-items:center;gap:8px}
.home-community-actions button{cursor:pointer;font:inherit;white-space:nowrap;border:1px solid #ded6ec;background:#f6f2fc;color:#644193;font-size:12px;font-weight:800;padding:11px 13px;border-radius:8px;min-height:44px}
.home-community-actions button:hover{background:#ece2fc}
.home-site-links{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px;margin-top:16px}
.home-site-links a{color:#626e84;font-size:12px;line-height:1.6;text-decoration:none}
.home-site-links a:hover{text-decoration:underline;text-underline-offset:3px}
.main-container a:focus-visible,.main-container button:focus-visible{outline:3px solid #986bdd;outline-offset:3px}
.home-hero-actions a:focus-visible{outline-color:#fff}
body.home-modal-open{overflow:hidden}
@media(max-width:1100px){
 .main-container{width:calc(100% - 36px)}
 .home-hero{padding:23px;gap:24px;grid-template-columns:1.1fr 1fr}
 .main-title{font-size:30px}.home-description{font-size:13px}
 .home-featured-art{flex-basis:52px;width:52px;height:62px}
 .home-featured-card{padding:14px;gap:9px}.home-featured-card strong{font-size:17px}
 .home-featured-card p{font-size:10px}.home-featured-arrow{font-size:17px}
 .home-tool-link{padding:10px;gap:8px}.home-tool-label{font-size:13px}
 .home-tool-icon{flex-basis:29px;width:29px;height:31px;font-size:17px}
}
@media(max-width:880px){
 .main-container{padding-top:86px}.home-hero{grid-template-columns:1fr 1fr;padding:22px;gap:18px}
 .main-title{font-size:29px}.main-title span{display:block}
 .home-description{max-width:240px;font-size:12px}.home-eyebrow{font-size:9px;gap:7px}.home-eyebrow span{font-size:9px}
 .home-hero-actions{gap:10px}.home-hero-actions a{font-size:11px}
 .home-featured-art{display:none}.home-featured-card{min-height:94px;padding:14px}.home-featured-card strong{font-size:16px}
 .home-featured-card p{font-size:10px}.home-featured-arrow{display:none}
 .home-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .home-category-heading p{font-size:11px}.home-tool-link{min-height:63px}
}
@media(max-width:620px){
 .main-container{width:calc(100% - 28px);padding-top:76px;padding-bottom:25px}
 .home-hero{grid-template-columns:1fr;gap:20px;padding:23px 20px 15px;border-radius:16px}
 .home-eyebrow{font-size:9px}.home-eyebrow span{font-size:10px}
 .main-title{font-size:29px;margin:10px 0 6px}.main-title span{display:inline}
 .home-description{max-width:none;font-size:12px}
 .home-hero-finder label{display:none}#home-search{height:42px;font-size:13px}
 .home-hero-actions{margin-top:8px;justify-content:space-between;gap:8px}
 .home-hero-actions a{font-size:11px;min-height:32px}
 .home-featured{margin:18px 0 21px}.home-featured-heading{margin-bottom:9px}
 .home-featured-heading h2{font-size:13px}.home-update-label{font-size:10px}
 .home-featured-grid{gap:7px}.home-featured-card{flex-direction:column;align-items:flex-start;gap:7px;min-height:115px;padding:12px 10px;border-radius:11px}
 .home-featured-art{display:none}.home-featured-kicker{font-size:9px;line-height:1.4}
 .home-featured-card strong{font-size:15px;line-height:1.45;word-break:keep-all}
 .home-featured-card p{display:none}.home-featured-body{gap:7px}
 .home-featured-mission .home-featured-body{padding:0}
 .home-directory-heading{align-items:baseline;gap:8px;margin-bottom:15px;padding-bottom:10px}
 .home-directory-heading>strong{font-size:20px;white-space:nowrap}
 #home-search-status{font-size:10px;text-align:right;line-height:1.5}
 .home-category{margin-top:20px}.home-category-heading{margin-bottom:10px;align-items:center}
 .home-category-heading>div{gap:0}.home-category-heading h2{font-size:18px;padding-left:8px}
 .home-category-heading p{display:none}.home-category-count{font-size:10px}
 .home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .home-tool-link{min-height:68px;padding:10px 9px;gap:8px;border-radius:9px}
 .home-tool-icon{flex-basis:29px;width:29px;height:33px;font-size:17px}
 .home-tool-label{font-size:13px;line-height:1.5;word-break:keep-all}.home-tool-chevron{display:none}
 .home-community{flex-wrap:wrap;padding:16px}.home-community-actions{width:100%}
 .home-data-note{margin-top:23px}.home-data-note p{font-size:11px}
}
@media(max-width:360px){.main-title{font-size:26px}.home-hero{padding:22px 17px 14px}.home-tool-link{gap:6px}.home-tool-label{font-size:12px}.home-featured-card strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.home-featured-card,.home-tool-link{transition:none}}
        /* 모달 스타일 */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            transform: translateY(-20px);
            transition: all 0.3s ease;
            position: relative;
        }

        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
            color: #6d28d9;
        }

        .modal-title {
            color: #6d28d9;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: center;
        }

        .modal-body {
            color: #333;
            line-height: 1.6;
        }

        .modal-body p {
            margin-bottom: 15px;
        }

        .modal-body h3 {
            color: #6d28d9;
            margin-top: 25px;
            margin-bottom: 10px;
            font-size: 18px;
        }

        .btn-primary {
            display: inline-block;
            background-color: #6d28d9;
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            margin: 10px 0;
            text-align: center;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background-color: #5b21b6;
            transform: translateY(-2px);
        }

        .other-page-btn {
            display: block;
            background-color: white;
            color: #6d28d9;
            border: 2px solid #6d28d9;
            border-radius: 10px;
            padding: 15px;
            margin: 15px 0;
            text-align: center;
            font-size: 16px;
            font-weight: bold;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .other-page-btn:hover {
            background-color: #6d28d9;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
/* Longer localized labels must not increase the mobile layout viewport. */
@media (max-width:620px) {
    .home-category, .home-tool-grid, .home-tool-link, .home-tool-label,
    .home-featured-card, .home-featured-body, .home-hero-finder { min-width:0; }
    .home-tool-label, .home-featured-card strong { overflow-wrap:anywhere; word-break:normal; }
    .home-hero-actions { flex-wrap:wrap; }
    .home-category-count { flex-shrink:0; }
    .modal-content { min-width:0; max-width:calc(100vw - 24px); overflow-wrap:anywhere; }
}

.main-title .home-brand { font-weight:inherit; color:#fff; }
