

/* =========================================================
   TVWIKI MAIN PAGE APPLY - 2026-07-10
   Header / main landing / article / FAQ design
========================================================= */
:root {
    --tw-bg: #070707;
    --tw-bg-soft: #0e0f12;
    --tw-card: #15161a;
    --tw-card-2: #1b1d22;
    --tw-line: rgba(255,255,255,.10);
    --tw-text: #f7f7f7;
    --tw-muted: #b8bdc7;
    --tw-blue: #1557ff;
    --tw-blue-2: #3977ff;
    --tw-radius: 20px;
}
html { scroll-behavior: smooth; }
body.tw-body,
body {
    background: var(--tw-bg) !important;
    color: var(--tw-text);
    font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
}
.tw-site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(5,5,6,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.tw-header-inner {
    max-width: 1320px;
    min-height: 74px;
    margin: 0 auto;
    padding: 0 26px;
    display: flex;
    align-items: center;
    gap: 34px;
}
.tw-brand {
    display: inline-flex;
    align-items: center;
    min-width: 170px;
}
.tw-logo-img {
    display: block;
    width: 142px;
    max-height: 40px;
    object-fit: contain;
}
.tw-main-nav {
    display: flex;
    align-items: center;
    gap: 42px;
    flex: 1;
}
.tw-main-nav a,
.tw-header-actions a,
.tw-footer-links a {
    color: #fff !important;
    text-decoration: none !important;
}
.tw-main-nav a {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
    opacity: .95;
}
.tw-main-nav a:hover { color: #78a1ff !important; }
.tw-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 26px;
    line-height: 1;
}
.tw-header-actions a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    opacity: .96;
}
.tw-main { background: radial-gradient(circle at 50% 10%, rgba(26,57,120,.18), transparent 36%), var(--tw-bg); }
.tw-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 24px 78px;
}
.tw-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #070707;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.tw-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 18%;
    opacity: .54;
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.06);
}
.tw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.64) 52%, rgba(0,0,0,.94) 100%), radial-gradient(circle at 50% 48%, rgba(21,87,255,.28), transparent 36%);
}
.tw-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 112px 22px 34px;
    text-align: center;
}
.tw-hero-kicker {
    margin: 0 0 12px;
    font-size: 25px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
    letter-spacing: -.04em;
}
.tw-hero h1 {
    margin: 0;
    font-size: clamp(48px, 7vw, 86px);
    line-height: 1.05;
    color: #fff;
    letter-spacing: -.08em;
    font-weight: 950;
    text-shadow: 0 8px 30px rgba(0,0,0,.55);
}
.tw-hero-copy {
    max-width: 650px;
    margin: 22px auto 28px;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 1.75;
    word-break: keep-all;
}
.tw-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 260px;
    min-height: 58px;
    padding: 0 30px;
    border-radius: 999px;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--tw-blue), var(--tw-blue-2));
    box-shadow: 0 16px 40px rgba(21,87,255,.36);
    font-size: 18px;
    font-weight: 900;
}
.tw-hero-button span { font-size: 30px; margin-top: -2px; }
.tw-feature-row {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 0;
    padding: 0 22px 48px;
}
.tw-feature-row div {
    background: rgba(18,19,23,.76);
    border: 1px solid rgba(255,255,255,.12);
    padding: 24px 24px;
    min-height: 104px;
}
.tw-feature-row div:first-child { border-radius: 18px 0 0 18px; }
.tw-feature-row div:last-child { border-radius: 0 18px 18px 0; }
.tw-feature-row strong { display:block; font-size:17px; color:#fff; margin-bottom:8px; }
.tw-feature-row span { display:block; font-size:14px; color:var(--tw-muted); line-height:1.55; }
.tw-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 42px;
    align-items: center;
    margin: 0 0 70px;
}
.tw-grid-top { align-items: stretch; }
.tw-copy-card {
    color: var(--tw-text);
}
.tw-eyebrow {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(21,87,255,.12);
    color: #78a1ff;
    border: 1px solid rgba(78,126,255,.25);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
}
.tw-copy-card h2,
.tw-table-section h2,
.tw-faq-section h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.18;
    letter-spacing: -.06em;
    color: #fff;
    font-weight: 950;
}
.tw-copy-card p,
.tw-table-section p,
.tw-faq-section p {
    margin: 0 0 18px;
    color: #d5d8df;
    font-size: 17px;
    line-height: 1.9;
    word-break: keep-all;
}
.tw-image-card {
    margin: 0;
    overflow: hidden;
    border-radius: var(--tw-radius);
    border: 1px solid rgba(255,255,255,.12);
    background: #111;
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.tw-image-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.tw-check-list,
.tw-dot-list {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 13px;
}
.tw-check-list li,
.tw-dot-list li {
    position: relative;
    padding-left: 28px;
    color: #e5e8ef;
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
}
.tw-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #5f90ff;
    font-weight: 950;
}
.tw-dot-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5f90ff;
}
.tw-table-section {
    margin: 22px 0 70px;
    padding: 34px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(22,24,30,.92), rgba(12,13,16,.96));
    border: 1px solid rgba(255,255,255,.10);
}
.tw-table-wrap { overflow-x: auto; margin-top: 22px; }
.tw-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    overflow: hidden;
    border-radius: 14px;
    border-style: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}
.tw-table-wrap th,
.tw-table-wrap td {
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.12);
    color: #e9ebef;
    font-size: 15px;
    line-height: 1.6;
}
.tw-table-wrap th {
    color: #fff;
    background: linear-gradient(135deg, rgba(21,87,255,.55), rgba(25,32,54,.8));
    font-weight: 900;
}
.tw-table-wrap td:first-child {
    width: 210px;
    color: #fff;
    font-weight: 850;
    text-align: center;
    background: rgba(255,255,255,.03);
}
.tw-icon-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    margin-top: 28px;
}
.tw-icon-list div {
    min-height: 144px;
    padding: 20px 14px;
    text-align: center;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
}
.tw-icon-list span { display:block; font-size:44px; color:#fff; margin-bottom:12px; }
.tw-icon-list strong { display:block; color:#fff; font-size:16px; margin-bottom:7px; }
.tw-icon-list em { display:block; color:var(--tw-muted); font-style:normal; font-size:13px; line-height:1.5; }
.tw-faq-section {
    margin-top: 18px;
}
.tw-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
    margin-top: 26px;
}
.tw-faq-grid details {
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.10);
    overflow: hidden;
}
.tw-faq-grid summary {
    cursor: pointer;
    padding: 18px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    list-style: none;
}
.tw-faq-grid summary::-webkit-details-marker { display: none; }
.tw-faq-grid summary::after { content: '⌄'; float: right; color: #9cb8ff; }
.tw-faq-grid details[open] summary::after { content: '⌃'; }
.tw-faq-grid details p {
    padding: 0 20px 20px;
    margin: 0;
    color: #c8ccd5;
    font-size: 14px;
    line-height: 1.75;
}
.tw-site-footer {
    background: #050505;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #fff;
    padding: 34px 24px 26px;
}
.tw-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1.8fr auto;
    gap: 28px;
    align-items: center;
}
.tw-footer-logo { width: 138px; height: auto; display:block; margin-bottom: 10px; }
.tw-footer-brand p { margin: 0; color: var(--tw-muted); font-size: 14px; }
.tw-footer-links { display:flex; justify-content:center; gap:20px; flex-wrap:wrap; }
.tw-footer-links a { font-size: 14px; color: #dfe3ea !important; }
.tw-social { display:flex; gap:14px; font-size:22px; }
.tw-copyright { max-width:1180px; margin:20px auto 0; color:#888f9b; font-size:13px; }
@media (max-width: 900px) {
    .tw-header-inner { min-height: 66px; padding: 0 16px; gap: 16px; }
    .tw-logo-img { width: 118px; }
    .tw-main-nav { gap: 18px; overflow-x: auto; white-space: nowrap; }
    .tw-main-nav a { font-size: 14px; }
    .tw-header-actions { display:none; }
    .tw-hero { min-height: 520px; }
    .tw-hero-content { padding-top: 86px; }
    .tw-hero-kicker { font-size: 18px; }
    .tw-hero-copy { font-size: 15px; }
    .tw-feature-row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding-bottom: 36px; }
    .tw-feature-row div { border-radius: 16px !important; min-height: 96px; }
    .tw-grid, .tw-grid-reverse { grid-template-columns: 1fr; gap: 28px; margin-bottom: 54px; }
    .tw-grid-reverse figure { order: 2; }
    .tw-grid-reverse article { order: 1; }
    .tw-container { padding: 42px 16px 60px; }
    .tw-copy-card h2, .tw-table-section h2, .tw-faq-section h2 { font-size: 28px; }
    .tw-copy-card p, .tw-table-section p { font-size: 15px; line-height: 1.82; }
    .tw-table-section { padding: 24px 16px; }
    .tw-icon-list { grid-template-columns: 1fr; }
    .tw-faq-grid { grid-template-columns: 1fr; }
    .tw-footer-inner { grid-template-columns: 1fr; text-align:left; }
    .tw-footer-links { justify-content:flex-start; }
}
@media (max-width: 520px) {
    .tw-brand { min-width: auto; }
    .tw-main-nav { gap: 14px; }
    .tw-feature-row { grid-template-columns: 1fr; }
    .tw-hero-button { min-width: 210px; min-height: 52px; font-size: 16px; }
}


/* =========================================================
   TVWIKI EXTRA ACCESS / HOW-TO CONTENT - fixed full package
========================================================= */
.tw-deep-guide {
    margin-top: 46px;
}
.tw-section-head {
    max-width: 920px;
    margin: 0 auto 28px;
    text-align: center;
}
.tw-section-head h2 {
    margin: 10px 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.18;
    letter-spacing: -.045em;
}
.tw-section-head p {
    margin: 0;
    color: var(--tw-muted);
    font-size: 17px;
    line-height: 1.85;
}
.tw-guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 26px;
    align-items: stretch;
    margin-bottom: 28px;
}
.tw-guide-layout-reverse {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}
.tw-wide-image img,
.tw-extra-gallery .tw-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tw-wide-image img {
    min-height: 360px;
}
.tw-extra-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}
.tw-extra-gallery .tw-image-card img {
    aspect-ratio: 4 / 3;
}
.tw-long-copy {
    margin-bottom: 28px;
}
.tw-info-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--tw-line);
    border-radius: 22px;
    background: rgba(255,255,255,.035);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.tw-info-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}
.tw-info-table caption {
    padding: 18px 20px 0;
    text-align: left;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}
.tw-info-table th,
.tw-info-table td {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
}
.tw-info-table thead th {
    color: #fff;
    background: rgba(21, 87, 255, .22);
}
.tw-info-table tbody th {
    color: #fff;
    background: rgba(255,255,255,.04);
    white-space: nowrap;
}
.tw-info-table td {
    color: var(--tw-muted);
}
@media (max-width: 1024px) {
    .tw-guide-layout,
    .tw-guide-layout-reverse,
    .tw-extra-gallery {
        grid-template-columns: 1fr;
    }
    .tw-wide-image img {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }
}
@media (max-width: 640px) {
    .tw-deep-guide {
        margin-top: 34px;
    }
    .tw-section-head {
        text-align: left;
    }
    .tw-section-head h2 {
        font-size: 28px;
    }
    .tw-section-head p {
        font-size: 15px;
    }
    .tw-guide-layout,
    .tw-guide-layout-reverse,
    .tw-extra-gallery {
        gap: 18px;
        margin-bottom: 20px;
    }
    .tw-info-table caption {
        font-size: 16px;
    }
}


/* =========================================================
   TVWIKI menu/footer link fix - 2026-07-10
   - 상단 오른쪽 아이콘 삭제 후 메뉴 정렬
   - 하단 메뉴 제휴문의만 표시
   - 유튜브 / 트위터 / 페이스북 SVG 아이콘 적용
========================================================= */
.tw-header-actions {
    display: none !important;
}

.tw-main-nav {
    justify-content: flex-start !important;
    gap: 34px !important;
}

.tw-main-nav a {
    white-space: nowrap !important;
}

.tw-footer-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
}

.tw-footer-links a {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

.tw-footer-links a:hover {
    color: var(--tw-blue-2) !important;
}

.tw-social {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.tw-social a {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.04) !important;
    transition: transform .18s ease, background .18s ease, color .18s ease !important;
}

.tw-social a:hover {
    transform: translateY(-2px) !important;
    color: var(--tw-blue-2) !important;
    background: rgba(255,255,255,.10) !important;
}

.tw-social svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    display: block !important;
}

@media (max-width: 900px) {
    .tw-header-inner {
        gap: 18px !important;
    }

    .tw-main-nav {
        gap: 18px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 2px !important;
    }

    .tw-main-nav a {
        font-size: 14px !important;
        flex: 0 0 auto !important;
    }
}

@media (max-width: 640px) {
    .tw-footer-inner {
        gap: 18px !important;
    }

    .tw-footer-links,
    .tw-social {
        justify-content: center !important;
    }
}


/* =========================================================
   TVWIKI SEO / speed polish - 2026-07-10
========================================================= */
.tw-image-card img,
.tw-extra-gallery img,
.tw-wide-image img {
    background: #111;
}

.tw-hero-button,
.tw-footer-links a,
.tw-social a {
    cursor: pointer;
}

@media (min-width: 901px) {
    .tw-main-nav {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 640px) {
    .tw-logo-img {
        width: 116px !important;
        height: auto !important;
    }

    .tw-header-inner {
        min-height: 68px !important;
    }

    .tw-main-nav {
        gap: 16px !important;
    }
}
