:root {
    --bg: #f5f7fb;
    --panel: #ffffff;
    --text: #172033;
    --muted: #667085;
    --line: #e5e7eb;
    --soft: #eef2ff;
    --dark: #101828;
    --accent: #2458d3;
    --accent-soft: #f7faff;
    --green: #16a34a;
    --green-soft: #f0fdf4;
    --orange: #f59e0b;
    --orange-soft: #fff7ed;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.72;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.site-header {
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    gap: 20px;
}

.logo {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -.03em;
}

.nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.nav a:hover {
    color: var(--accent);
}

/* Hero */

.hero {
    padding: 54px 0 34px;
}

.hero-card {
    background: linear-gradient(135deg, #111827, #1d4ed8);
    color: #fff;
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 18px 60px rgba(17, 24, 39, .18);
}

.eyebrow {
    display: inline-flex;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    color: rgba(255,255,255,.82);
    margin-bottom: 18px;
}

h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.18;
    letter-spacing: -.05em;
}

.hero-card p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 17px;
}

/* Breadcrumb */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 28px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--accent);
}

/* Common sections */

.section-block {
    margin: 36px 0;
}

.section-head {
    display: block;
    margin-bottom: 16px;
}

.section-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.04em;
}

.section-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

/* Cards */

.hub-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.small-grid {
    grid-template-columns: repeat(3, 1fr);
}

.hub-grid.compact {
    grid-template-columns: repeat(3, 1fr);
}

.hub-card,
.info-card {
    background: linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 10px 28px rgba(16,24,40,.045);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hub-card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-card em {
    font-style: normal;
    color: var(--accent);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.hub-card strong {
    font-size: 22px;
    letter-spacing: -.04em;
}

.hub-card span,
.info-card span {
    color: var(--muted);
    font-size: 14px;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 118px;
}

.info-card strong {
    font-size: 18px;
    letter-spacing: -.03em;
}

.hub-card:hover,
.info-card:hover {
    border-color: #bfdbfe;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37,88,211,.09);
}

/* Partner banners */

.partner-zone {
    margin: 0 0 30px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.partner-banner {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
}

.partner-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   Main content readability - magazine style
   ========================================================= */

.content-box {
    max-width: 980px;
    margin: 42px auto;
    padding: 46px 52px;
    background: linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
    border: 1px solid #e8edf5;
    border-radius: 26px;
    box-shadow: 0 18px 52px rgba(16,24,40,.065);
    font-size: 18px;
    line-height: 1.9;
}

.content-box p {
    max-width: 820px;
    margin: 20px 0;
    color: #344054;
    word-break: keep-all;
}

.content-box strong {
    color: #111827;
}

.content-box > h2:first-child,
.content-box h2:first-of-type {
    margin-top: 0;
}

.content-box h2 {
    margin: 72px -18px 28px;
    padding: 24px 26px;
    border: 1px solid #dbeafe;
    border-left: 7px solid var(--accent);
    border-radius: 20px;
    background: linear-gradient(135deg,#f8fbff 0%,#f7faff 100%);
    color: #101828;
    box-shadow: 0 10px 28px rgba(37,88,211,.07);
    font-size: 31px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -.055em;
}

.content-box h2::before {
    content: "SECTION";
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .12em;
}

.content-box h3 {
    max-width: 860px;
    margin: 42px 0 16px;
    padding: 14px 18px;
    border: 1px solid #e7eef8;
    border-radius: 14px;
    background: #ffffff;
    color: #172033;
    box-shadow: 0 8px 20px rgba(16,24,40,.035);
    font-size: 22px;
    line-height: 1.42;
    font-weight: 850;
    letter-spacing: -.04em;
}

.content-box h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 999px;
    background: var(--accent);
    vertical-align: 3px;
}

.content-box ul,
.content-box ol {
    max-width: 820px;
    margin: 18px 0;
    padding: 18px 24px 18px 42px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.content-box li {
    margin: 8px 0;
}

/* Visual break boxes */

.quick-summary,
.check-box,
.compare-box {
    max-width: 860px;
    margin: 30px 0;
    padding: 22px 24px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(16,24,40,.045);
}

.quick-summary {
    background: #f7faff;
    border-left: 7px solid var(--accent);
}

.check-box {
    background: #f0fdf4;
    border-left: 7px solid var(--green);
}

.compare-box {
    background: #fff7ed;
    border-left: 7px solid var(--orange);
}

.quick-summary strong,
.check-box strong,
.compare-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.quick-summary p,
.compare-box p {
    margin: 0;
    max-width: none;
}

.check-box ul {
    margin: 10px 0 0;
    padding: 0 0 0 20px;
    background: transparent;
    border: 0;
}

/* Hub images */

.content-box .hub-image {
    margin: 44px -10px;
    width: auto;
    max-width: none;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 34px rgba(16,24,40,.08);
}

.content-box .hub-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 22px;
}

/* Tables */

.content-box table {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 38px 0;
    font-size: 15px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(16,24,40,.045);
}

.content-box th,
.content-box td {
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    padding: 15px 16px;
    text-align: left;
    vertical-align: top;
}

.content-box th:last-child,
.content-box td:last-child {
    border-right: 0;
}

.content-box tr:last-child td {
    border-bottom: 0;
}

.content-box th {
    background: #f7faff;
    color: #1d4ed8;
    font-weight: 900;
}

.content-box table tr:nth-child(even) td {
    background: #fafafa;
}

/* FAQ */

.generated-faq {
    margin-top: 58px;
    padding: 28px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.generated-faq h2 {
    margin: 0 0 20px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.content-box details,
.faq-list details {
    margin: 12px 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(16,24,40,.035);
}

.content-box summary,
.faq-list summary {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 17px 52px 17px 20px;
    font-weight: 900;
    color: #111827;
    list-style: none;
}

.content-box summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
    display: none;
}

.content-box summary::after,
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: 900;
    font-size: 22px;
}

.content-box details[open] summary,
.faq-list details[open] summary {
    background: #f7faff;
    border-bottom: 1px solid #e5e7eb;
}

.content-box details[open] summary::after,
.faq-list details[open] summary::after {
    content: "−";
}

.content-box details p,
.faq-list details p {
    margin: 0;
    padding: 16px 20px 0;
    color: #475467;
    max-width: none;
}

.content-box details p:last-child,
.faq-list details p:last-child {
    padding-bottom: 18px;
}

/* Etc */

.more-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #eef2ff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 700;
}

.site-footer {
    margin-top: 60px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

/* Responsive */

@media (max-width: 860px) {
    .wrap {
        padding: 0 16px;
    }

    .hub-grid,
    .card-grid,
    .small-grid,
    .hub-grid.compact,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 34px 0 24px;
    }

    .hero-card {
        padding: 30px 24px;
    }

    .section-head {
        display: block;
    }

    .nav {
        display: none;
    }

    .content-box {
        margin: 28px auto;
        padding: 26px 18px;
        border-radius: 20px;
        font-size: 16.5px;
        line-height: 1.84;
    }

    .content-box p {
        max-width: none;
        margin: 17px 0;
    }

    .content-box h2 {
        margin: 48px 0 22px;
        padding: 18px;
        font-size: 23px;
        border-radius: 16px;
    }

    .content-box h3 {
        margin-top: 32px;
        padding: 13px 15px;
        font-size: 19px;
    }

    .quick-summary,
    .check-box,
    .compare-box {
        margin: 24px 0;
        padding: 18px;
        border-radius: 16px;
    }

    .content-box .hub-image {
        margin: 32px 0;
        border-radius: 18px;
    }

    .content-box .hub-image img {
        border-radius: 18px;
    }

    .content-box table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .generated-faq {
        padding: 16px;
        border-radius: 18px;
    }
}

.hub-links{
    margin:42px 0;
    padding:28px;
    border:1px solid #dbe4ff;
    border-radius:22px;
    background:#f8fbff;
}

.hub-links > strong{
    display:block;
    font-size:24px;
    font-weight:900;
    margin-bottom:18px;
    letter-spacing:-0.04em;
}

.hub-link-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.hub-link-card{
    display:block;
    padding:18px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.hub-link-card span{
    display:block;
    font-size:17px;
    font-weight:900;
    color:#111827;
    margin-bottom:6px;
}

.hub-link-card em{
    display:block;
    font-size:13px;
    font-style:normal;
    color:#2563eb;
    font-weight:800;
}

@media (max-width: 800px){
    .hub-link-grid{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   Inline auto internal links - visible badge style
   ========================================================= */

.content-box p > a:not(.hub-link-card),
.content-box p a[href]:not(.hub-link-card),
.content-box li a[href]:not(.hub-link-card) {
    display: inline-block !important;
    color: #1d4ed8 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    line-height: 1.45 !important;
    padding: 2px 9px !important;
    margin: 0 2px !important;
    border: 1px solid #93c5fd !important;
    border-radius: 999px !important;
    background: #f7faff !important;
    box-shadow: 0 3px 10px rgba(37, 88, 211, .10) !important;
    vertical-align: baseline !important;
    white-space: normal !important;
}

.content-box p > a:not(.hub-link-card)::before,
.content-box p a[href]:not(.hub-link-card)::before,
.content-box li a[href]:not(.hub-link-card)::before {
    content: "↗";
    display: inline-block;
    margin-right: 4px;
    font-size: .78em;
    font-weight: 900;
    color: #2458d3;
}

.content-box p > a:not(.hub-link-card):hover,
.content-box p a[href]:not(.hub-link-card):hover,
.content-box li a[href]:not(.hub-link-card):hover {
    color: #0f3fa8 !important;
    background: #dbeafe !important;
    border-color: #60a5fa !important;
    box-shadow: 0 6px 16px rgba(37, 88, 211, .18) !important;
    transform: translateY(-1px);
}

.content-box p > a:not(.hub-link-card):focus-visible,
.content-box p a[href]:not(.hub-link-card):focus-visible,
.content-box li a[href]:not(.hub-link-card):focus-visible {
    outline: 3px solid rgba(37, 88, 211, .25) !important;
    outline-offset: 2px !important;
}

/* Keep TOC / card links from becoming inline badges */
.content-box .hub-toc a,
.content-box .hub-links a,
.content-box .hub-link-card,
.content-box .related-topics a,
.content-box .generated-faq a,
.content-box .quick-summary a,
.content-box .check-box a,
.content-box .compare-box a,
.content-box .info-note a {
    display: initial !important;
    padding: initial !important;
    margin: initial !important;
    border: initial !important;
    border-radius: initial !important;
    background: initial !important;
    box-shadow: initial !important;
    transform: none !important;
}

.content-box .hub-toc a::before,
.content-box .hub-links a::before,
.content-box .hub-link-card::before,
.content-box .related-topics a::before,
.content-box .generated-faq a::before,
.content-box .quick-summary a::before,
.content-box .check-box a::before,
.content-box .compare-box a::before,
.content-box .info-note a::before {
    content: none !important;
}

.content-box .hub-toc a {
    color: var(--accent) !important;
    font-weight: 800 !important;
}

@media (max-width: 860px) {
    .content-box p > a:not(.hub-link-card),
    .content-box p a[href]:not(.hub-link-card),
    .content-box li a[href]:not(.hub-link-card) {
        padding: 1px 7px !important;
        margin: 0 1px !important;
    }
}


/* =========================================================
   PlayWiki homepage portal redesign v7
   - dashboard hero / icon cards / news cards
   ========================================================= */

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 99, 235, .08), transparent 30%),
        linear-gradient(180deg, #f7faff 0%, #f5f7fb 38%, #ffffff 100%);
}

.site-header {
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .035);
}

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

.nav {
    gap: 22px;
    font-weight: 750;
}

.nav a:hover {
    color: #1d4ed8;
}

/* Hero with visual dashboard */
.hero {
    padding: 44px 0 28px;
}

.hero-card.portal-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: 34px;
    align-items: center;
    min-height: 370px;
    padding: 42px 46px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .14);
    background:
        radial-gradient(circle at 78% 18%, rgba(96, 165, 250, .32), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 45%, #edf5ff 100%);
    color: #0f172a;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.hero-card.portal-hero-card::before {
    content: "";
    position: absolute;
    inset: auto -120px -170px auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(29, 78, 216, .08);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-card.portal-hero-card .eyebrow {
    margin-bottom: 18px;
    border: 0;
    background: #f7faff;
    color: #2458d3;
    font-weight: 900;
}

.hero-card.portal-hero-card h1 {
    max-width: 620px;
    color: #101828;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.08;
}

.hero-card.portal-hero-card h1::first-letter {
    color: inherit;
}

.hero-card.portal-hero-card p {
    max-width: 560px;
    margin-top: 18px;
    color: #344054;
    font-size: 17px;
    font-weight: 650;
}

.hero-topic-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    max-width: 560px;
}

.hero-topic-cards a {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e5eaf4;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
    color: #111827;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hero-topic-cards a:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .13);
}

.hero-topic-cards span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #f7faff;
    font-size: 24px;
}

.hero-topic-cards strong {
    font-size: 16px;
    letter-spacing: -.04em;
}

.hero-dashboard {
    position: relative;
    z-index: 2;
    transform: rotate(-3deg) translateY(6px);
    transform-origin: center;
}

.dash-window {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #dbeafe;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .16);
}

.dash-top {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.dash-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
}

.dash-top span:first-child { background: #fb7185; }
.dash-top span:nth-child(2) { background: #fbbf24; }
.dash-top span:nth-child(3) { background: #22c55e; }

.dash-top em {
    margin-left: 8px;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.dash-body {
    display: grid;
    grid-template-columns: 90px 1fr;
    min-height: 266px;
}

.dash-side {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 22px 18px;
    background: #0f172a;
}

.dash-side b {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
}

.dash-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 46px;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.dash-card {
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
}

.dash-card small {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.dash-card.safe strong {
    display: block;
    color: #16a34a;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.dash-card.safe strong::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
}

.dash-card.safe p {
    margin: 12px 0 0;
    color: #475467;
    font-size: 13px;
}

.check-list span {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    color: #344054;
    font-size: 13px;
    font-weight: 750;
}

.check-list span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.dash-meter {
    grid-column: 1 / -1;
    align-self: center;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e 0%, #22c55e 72%, #f59e0b 72%, #f59e0b 88%, #ef4444 88%);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05);
}

.dash-meter i {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, .2);
}

/* Homepage common */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f7faff;
    color: #2458d3;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: -.02em;
}

.section-block {
    margin: 34px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 25px;
    line-height: 1.3;
}

/* Quick search */
.quick-search-panel {
    margin-top: 22px;
    padding: 24px 28px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e5eaf4;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.quick-pill-wrap {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.quick-pill-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5eaf4;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
    color: #111827;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-pill-wrap a:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .10);
}

.quick-pill-wrap a:nth-child(-n+8) {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #111827;
    border-color: #dbeafe;
}

.quick-pill-wrap a span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 9px;
    background: #f7faff;
    font-size: 16px;
}

/* User flow */
.portal-flow-section,
.flow-section {
    padding: 28px;
    border-radius: 26px;
    background: linear-gradient(135deg, #eef6ff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 18px 44px rgba(37, 99, 235, .065);
}

.intent-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
}

.flow-card {
    position: relative;
    display: block;
    min-height: 118px;
    padding: 22px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #e5eaf4;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
    color: #111827;
    text-decoration: none;
}

.flow-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: #2458d3;
    font-weight: 950;
    font-size: 24px;
}

.flow-card em {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #fff;
    font-style: normal;
    font-weight: 950;
}

.flow-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
    letter-spacing: -.04em;
}

.flow-card span {
    display: block;
    color: #475467;
    font-size: 14px;
    line-height: 1.55;
}

/* Guide section */
.portal-guide-section,
.home-intro.compact-intro {
    padding: 0;
    background: transparent;
}

.home-intro.compact-intro .intro-copy {
    display: grid;
    gap: 10px;
    max-width: 980px;
    color: #344054;
    line-height: 1.85;
}

.home-intro.compact-intro .intro-copy p {
    margin: 0;
}

/* Latest cards - news style */
.latest-news-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.latest-news-grid .info-card {
    min-height: 126px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
}

.latest-news-grid .info-card::before {
    content: "NEW";
    display: inline-flex;
    width: max-content;
    margin-bottom: 9px;
    padding: 3px 7px;
    border-radius: 7px;
    background: #1d4ed8;
    color: #fff;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: .03em;
}

.latest-news-grid .info-card strong {
    font-size: 14px;
    line-height: 1.45;
}

.latest-news-grid .info-card span {
    margin-top: auto;
    color: #64748b;
    font-size: 12px;
}

/* Popular pages: compact horizontal portal cards */
.popular-page-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #e5eaf4;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}

.popular-page-grid .info-card {
    min-height: 126px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 0;
    border-right: 1px solid #e5eaf4;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.popular-page-grid .info-card:nth-child(6n) {
    border-right: 0;
}

.popular-page-grid .info-card::before {
    content: "🔗";
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
    border-radius: 14px;
    background: #f7faff;
    color: #2458d3;
    font-size: 18px;
}

.popular-page-grid .info-card strong {
    font-size: 15px;
}

.popular-page-grid .info-card span {
    font-size: 12px;
}

/* Hub icons */
.hub-icon-grid,
.hub-grid.all-hubs {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #e5eaf4;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}

.hub-icon-grid .hub-card,
.hub-grid.all-hubs .hub-card {
    min-height: 118px;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
    padding: 16px 10px;
    border: 0;
    border-right: 1px solid #e5eaf4;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.hub-icon-grid .hub-card:last-child,
.hub-grid.all-hubs .hub-card:last-child {
    border-right: 0;
}

.hub-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 6px;
    border-radius: 14px;
    background: #f7faff;
    font-style: normal;
    font-size: 18px;
}

.hub-icon-grid .hub-card em,
.hub-grid.all-hubs .hub-card em {
    display: none;
}

.hub-icon-grid .hub-card strong,
.hub-grid.all-hubs .hub-card strong {
    font-size: 14px;
    letter-spacing: -.04em;
}

.hub-icon-grid .hub-card span,
.hub-grid.all-hubs .hub-card span {
    display: block;
    max-width: 98px;
    color: #667085;
    font-size: 11px;
    line-height: 1.35;
}

/* FAQ softer */
.home-faq {
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #eef6ff, #f8fbff);
    border: 1px solid #dbeafe;
}

.home-faq .faq-list {
    grid-template-columns: 1fr;
}

/* Page card base polish */
.info-card,
.hub-card {
    border-color: #e5eaf4;
}

.info-card:hover,
.hub-card:hover,
.quick-pill-wrap a:hover,
.flow-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, .10);
}

@media (max-width: 1100px) {
    .hero-card.portal-hero-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-dashboard {
        transform: none;
    }

    .quick-pill-wrap,
    .latest-news-grid,
    .popular-page-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hub-icon-grid,
    .hub-grid.all-hubs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hub-icon-grid .hub-card,
    .hub-grid.all-hubs .hub-card,
    .popular-page-grid .info-card {
        border-right: 1px solid #e5eaf4;
        border-bottom: 1px solid #e5eaf4;
    }

    .intent-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .flow-card:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 760px) {
    .hero {
        padding: 28px 0 18px;
    }

    .hero-card.portal-hero-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .hero-card.portal-hero-card h1 {
        font-size: clamp(34px, 11vw, 44px);
    }

    .hero-topic-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-dashboard {
        display: none;
    }

    .quick-pill-wrap,
    .latest-news-grid,
    .popular-page-grid,
    .hub-icon-grid,
    .hub-grid.all-hubs,
    .intent-flow {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: block;
    }

    .quick-search-panel,
    .portal-flow-section,
    .flow-section,
    .home-faq {
        padding: 20px;
        border-radius: 20px;
    }

    .popular-page-grid,
    .hub-icon-grid,
    .hub-grid.all-hubs {
        border-radius: 18px;
    }

    .popular-page-grid .info-card,
    .hub-icon-grid .hub-card,
    .hub-grid.all-hubs .hub-card {
        min-height: 96px;
        border-right: 0;
    }
}


/* =========================================================
   PlayWiki homepage portal detail polish v8
   - stronger depth / tighter spacing / premium card details
   ========================================================= */

:root {
    --accent-deep: #1746b8;
    --blue-line: #d8e7ff;
    --shadow-soft: 0 18px 44px rgba(15, 23, 42, .065);
    --shadow-blue: 0 22px 54px rgba(37, 99, 235, .115);
}

/* Page background feels less flat */
body {
    background:
        radial-gradient(circle at 16% 5%, rgba(37, 99, 235, .105), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(147, 197, 253, .18), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #f5f7fb 34%, #ffffff 100%);
}

/* Header: more portal-like and less empty */
.site-header {
    border-bottom-color: rgba(216, 231, 255, .9);
}

.logo {
    position: relative;
    padding-left: 0;
    color: #0f172a;
}

.logo::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin-top: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2458d3, #60a5fa);
    opacity: .75;
}

.nav a {
    position: relative;
    padding: 8px 2px;
    transition: color .18s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: #2458d3;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

/* Hero: a bit bigger, richer, but not heavy */
.hero {
    padding: 46px 0 30px;
}

.hero-card.portal-hero-card {
    min-height: 392px;
    padding: 46px 48px;
    border-color: rgba(191, 219, 254, .95);
    background:
        radial-gradient(circle at 77% 22%, rgba(96, 165, 250, .38), transparent 34%),
        radial-gradient(circle at 95% 100%, rgba(29, 78, 216, .12), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 42%, #edf6ff 100%);
    box-shadow:
        0 30px 80px rgba(15, 23, 42, .10),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.hero-card.portal-hero-card .eyebrow {
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, .7);
}

.hero-card.portal-hero-card h1 {
    letter-spacing: -.065em;
}

.hero-card.portal-hero-card h1::after {
    content: "";
    display: block;
    width: 76px;
    height: 6px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2458d3, #93c5fd);
}

.hero-card.portal-hero-card p {
    margin-top: 20px;
    line-height: 1.72;
}

.hero-topic-cards {
    margin-top: 30px;
}

.hero-topic-cards a {
    position: relative;
    overflow: hidden;
    min-height: 118px;
}

.hero-topic-cards a::after {
    content: "";
    position: absolute;
    inset: auto -18px -26px auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .06);
}

.hero-topic-cards span {
    position: relative;
    z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(191, 219, 254, .85);
}

.hero-topic-cards strong {
    position: relative;
    z-index: 1;
}

/* Dashboard more like a real widget */
.hero-dashboard {
    transform: rotate(-2.5deg) translateY(8px);
}

.dash-window {
    border-color: #cfe2ff;
    box-shadow:
        0 34px 90px rgba(15, 23, 42, .18),
        0 0 0 10px rgba(255,255,255,.34);
}

.dash-top {
    height: 42px;
}

.dash-body {
    min-height: 282px;
}

.dash-main {
    padding: 22px;
}

.dash-card {
    position: relative;
    overflow: hidden;
}

.dash-card::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .045);
}

.dash-card.safe strong {
    font-size: 25px;
}

.check-list span {
    position: relative;
    z-index: 1;
}

.dash-meter {
    height: 13px;
}

/* Section cards: clearer separation */
.quick-search-panel,
.portal-flow-section,
.flow-section,
.home-faq {
    box-shadow: var(--shadow-soft);
}

/* Quick Search: more premium portal buttons */
.quick-search-panel {
    margin-top: 26px;
    padding: 26px 30px 30px;
}

.quick-pill-wrap {
    gap: 13px;
}

.quick-pill-wrap a {
    min-height: 58px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.quick-pill-wrap a:nth-child(-n+8) {
    font-size: 15px;
}

.quick-pill-wrap a span {
    background: linear-gradient(180deg, #f7faff, #ffffff);
    border: 1px solid #dbeafe;
}

.quick-pill-wrap a:hover span {
    transform: scale(1.06);
}

/* User flow: stronger step rhythm */
.portal-flow-section,
.flow-section {
    padding: 30px;
}

.intent-flow {
    gap: 38px;
}

.flow-card {
    min-height: 126px;
    padding: 24px 22px;
}

.flow-card em {
    box-shadow: 0 8px 16px rgba(29, 78, 216, .18);
}

.flow-card:not(:last-child)::after {
    right: -28px;
}

.flow-card:hover em {
    background: #1746b8;
}

/* Latest news: looks more alive */
.latest-news-grid .info-card {
    position: relative;
    overflow: hidden;
    border-color: #dbeafe;
}

.latest-news-grid .info-card::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #2458d3, #93c5fd);
    opacity: .68;
}

.latest-news-grid .info-card:nth-child(2n)::before {
    background: #16a34a;
}

.latest-news-grid .info-card:nth-child(3n)::before {
    background: #f59e0b;
}

.latest-news-grid .info-card:hover::after {
    opacity: 1;
}

/* Popular cards: not too plain */
.popular-page-grid {
    border-color: #dbeafe;
}

.popular-page-grid .info-card::before {
    box-shadow: inset 0 0 0 1px #dbeafe;
}

.popular-page-grid .info-card:hover {
    background: #f8fbff;
}

/* Hub row: icon cards more recognizable */
.hub-icon-grid,
.hub-grid.all-hubs {
    border-color: #dbeafe;
}

.hub-icon {
    background: linear-gradient(180deg, #f7faff, #ffffff);
    border: 1px solid #dbeafe;
}

.hub-icon-grid .hub-card:hover,
.hub-grid.all-hubs .hub-card:hover {
    background: #f8fbff;
}

/* FAQ: slightly more polished */
.home-faq details {
    border-color: #dbeafe;
}

.home-faq summary {
    min-height: 58px;
}

/* General card polish */
.info-card,
.hub-card,
.quick-pill-wrap a,
.flow-card {
    backface-visibility: hidden;
}

.info-card:hover,
.hub-card:hover,
.quick-pill-wrap a:hover,
.flow-card:hover {
    border-color: #bfdbfe;
}

/* Better spacing around homepage blocks */
main.wrap > .section-block:last-of-type {
    margin-bottom: 46px;
}

/* Mobile refinements */
@media (max-width: 1100px) {
    .hero-card.portal-hero-card {
        padding: 40px 34px;
    }

    .hero-dashboard {
        max-width: 680px;
        margin: 0 auto;
    }

    .quick-pill-wrap a {
        justify-content: flex-start;
    }

    .latest-news-grid .info-card,
    .popular-page-grid .info-card,
    .hub-grid.all-hubs .hub-card {
        min-height: 112px;
    }
}

@media (max-width: 760px) {
    .site-header {
        position: static;
    }

    .header-inner {
        min-height: 62px;
    }

    .logo::after {
        width: 22px;
    }

    .hero-card.portal-hero-card {
        padding: 28px 22px 24px;
    }

    .hero-card.portal-hero-card h1::after {
        width: 58px;
        height: 5px;
        margin-top: 14px;
    }

    .hero-topic-cards a {
        min-height: 96px;
        border-radius: 16px;
    }

    .hero-topic-cards span {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }

    .quick-search-panel {
        padding: 20px;
    }

    .quick-pill-wrap a {
        min-height: 52px;
        border-radius: 14px;
    }

    .portal-flow-section,
    .flow-section {
        padding: 22px;
    }

    .flow-card {
        min-height: 108px;
        padding: 20px;
    }
}

/* =========================================================
   PlayWiki search / hero guide polish v9
   ========================================================= */

.dash-card.guide-main strong {
    color: #2458d3;
}

.dash-card.guide-main strong::before {
    background: #f7faff;
    color: #2458d3;
}

.dash-card.guide-list span {
    margin-top: 8px;
}

.portal-search-section {
    margin-top: 4px;
    margin-bottom: 28px;
}

.portal-search-form {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
    gap: 22px;
    align-items: center;
    padding: 24px 28px;
    border: 1px solid #dbeafe;
    border-radius: 26px;
    background:
        radial-gradient(circle at 4% 15%, rgba(37,99,235,.08), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,251,255,.96));
    box-shadow: 0 18px 44px rgba(15,23,42,.065);
}

.portal-search-copy strong {
    display: block;
    margin-top: 2px;
    color: #101828;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 950;
    letter-spacing: -.045em;
}

.portal-search-copy em {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
    font-style: normal;
    font-weight: 650;
}

.portal-search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
    padding: 8px;
    border: 1px solid #cfe2ff;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 12px 30px rgba(37,99,235,.08);
}

.portal-search-box input {
    width: 100%;
    min-height: 48px;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: #111827;
    background: transparent;
    font-size: 15px;
    font-weight: 750;
}

.portal-search-box input::placeholder {
    color: #94a3b8;
    font-weight: 650;
}

.portal-search-box button {
    min-height: 48px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #2458d3, #1d4ed8);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(37,99,235,.18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.portal-search-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37,99,235,.24);
}

.search-page-hero {
    margin: 38px 0 24px;
    padding: 34px 36px;
    border: 1px solid #dbeafe;
    border-radius: 28px;
    background: linear-gradient(135deg,#ffffff 0%,#f8fbff 50%,#edf6ff 100%);
    box-shadow: 0 22px 58px rgba(15,23,42,.075);
}

.search-page-hero h1 {
    color: #101828;
    font-size: clamp(32px,4vw,48px);
}

.search-page-hero p {
    max-width: 760px;
    margin: 12px 0 0;
    color: #475467;
    font-size: 16px;
    font-weight: 650;
}

.search-results-panel {
    margin: 26px 0 44px;
    padding: 28px;
    border: 1px solid #e5eaf4;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.055);
}

.search-results-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.search-results-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.04em;
}

.search-results-head p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 14px;
}

.search-result-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}

.search-result-card {
    display: block;
    min-height: 128px;
    padding: 20px;
    border: 1px solid #e5eaf4;
    border-radius: 18px;
    background: linear-gradient(180deg,#fff,#fbfdff);
    box-shadow: 0 10px 26px rgba(15,23,42,.045);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.search-result-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px rgba(37,99,235,.10);
}

.search-result-card em {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f7faff;
    color: #2458d3;
    font-style: normal;
    font-size: 11px;
    font-weight: 950;
}

.search-result-card strong {
    display: block;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.04em;
}

.search-result-card span {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.search-empty-box {
    padding: 26px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px dashed #bfdbfe;
    color: #475467;
}

@media (max-width: 900px) {
    .portal-search-form {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .search-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .portal-search-box {
        grid-template-columns: 1fr;
    }
    .portal-search-box button {
        width: 100%;
    }
    .search-results-head {
        display: block;
    }
}


/* =========================================================
   PlayWiki homepage refinement v10
   - hero right panel: 후기/주소/검증/먹튀
   - featured guide cards instead of raw recent list
   ========================================================= */

.hero-feature-main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 44px;
    gap: 14px;
}

.hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-feature {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 108px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5eaf4;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    color: #0f172a;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.hero-feature::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -26px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .06);
}

.hero-feature span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7faff, #ffffff);
    border: 1px solid #dbeafe;
    font-size: 20px;
}

.hero-feature strong {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -.045em;
}

.hero-feature small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
}

.hero-feature:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    background: #f8fbff;
    box-shadow: 0 18px 38px rgba(37, 99, 235, .12);
}

.featured-topic-section {
    padding: 0;
}

.featured-topic-grid .info-card::before {
    content: "PICK";
    background: #1746b8;
}

.featured-topic-grid .info-card:nth-child(2n)::before {
    background: #16a34a;
}

.featured-topic-grid .info-card:nth-child(3n)::before {
    background: #f59e0b;
}

.featured-topic-grid .info-card:nth-child(4n)::before {
    background: #7c3aed;
}

@media (max-width: 1100px) {
    .hero-feature-main {
        grid-template-rows: auto 40px;
    }
}

@media (max-width: 760px) {
    .hero-feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        min-height: 96px;
        padding: 16px;
    }
}


/* =========================================================
   PlayWiki homepage hero search refinement v11
   - search moved into hero / remove duplicated standalone search feel
   ========================================================= */

.hero-search-form {
    margin: 24px 0 0;
    max-width: 600px;
}

.hero-search-box {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 7px 8px 7px 18px;
    border: 2px solid rgba(37, 88, 211, .70);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 42px rgba(37, 99, 235, .12), inset 0 1px 0 rgba(255,255,255,.85);
}

.hero-search-box > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #2458d3;
    font-size: 18px;
}

.hero-search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font-size: 16px;
    font-weight: 750;
}

.hero-search-box input::placeholder {
    color: #8a97ad;
    font-weight: 700;
}

.hero-search-box button {
    border: 0;
    cursor: pointer;
    min-width: 88px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(180deg, #2458d3, #1746b8);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(37, 88, 211, .25);
    transition: transform .18s ease, box-shadow .18s ease;
}

.hero-search-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 88, 211, .30);
}

.hero-search-box:focus-within {
    border-color: #1d4ed8;
    box-shadow: 0 20px 48px rgba(37, 99, 235, .16), 0 0 0 4px rgba(37, 99, 235, .10);
}

.hero-topic-cards {
    margin-top: 22px;
}

.hero-feature-main {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr 40px !important;
}

.hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-feature {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 122px;
    padding: 20px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #e5eaf4;
    color: #111827;
    box-shadow: 0 12px 28px rgba(15,23,42,.055);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hero-feature::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -26px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .055);
}

.hero-feature span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 15px;
    background: #f7faff;
    border: 1px solid #dbeafe;
    font-size: 21px;
}

.hero-feature strong {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -.05em;
}

.hero-feature small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
}

.hero-feature:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px rgba(37, 99, 235, .12);
}

@media (max-width: 760px) {
    .hero-search-form {
        margin-top: 20px;
    }

    .hero-search-box {
        grid-template-columns: 28px 1fr;
        padding: 10px 12px;
        gap: 8px;
    }

    .hero-search-box button {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 46px;
    }

    .hero-search-box input {
        font-size: 14px;
    }

    .hero-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PlayWiki final homepage cleanup v12
   - remove duplicate section feel / guide accordion / enhanced footer
   ========================================================= */

/* Guide accordion keeps SEO copy but reduces visual weight */
.site-guide-accordion {
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .055);
    overflow: hidden;
}

.site-guide-accordion > summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 62px 22px 26px;
    cursor: pointer;
    list-style: none;
}

.site-guide-accordion > summary::-webkit-details-marker {
    display: none;
}

.site-guide-accordion > summary strong {
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -.04em;
    color: #0f172a;
}

.site-guide-accordion > summary::after {
    content: "+";
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #f7faff;
    color: #2458d3;
    font-size: 22px;
    font-weight: 950;
}

.site-guide-accordion[open] > summary {
    border-bottom: 1px solid #dbeafe;
}

.site-guide-accordion[open] > summary::after {
    content: "−";
}

.site-guide-accordion .intro-copy {
    padding: 22px 28px 28px;
    display: grid;
    gap: 10px;
    color: #344054;
    line-height: 1.85;
}

.site-guide-accordion .intro-copy p {
    margin: 0;
}

/* Footer rebuilt as a real portal footer */
.site-footer.enhanced-footer {
    margin-top: 70px;
    padding: 46px 0;
    border-top: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(37, 99, 235, .18), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #172033 100%);
    color: rgba(255,255,255,.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .9fr 1.2fr;
    gap: 34px;
    align-items: start;
}

.footer-brand strong {
    display: block;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -.04em;
    margin-bottom: 10px;
}

.footer-brand p,
.footer-note p {
    margin: 0 0 14px;
    max-width: 360px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.75;
}

.footer-brand span {
    display: inline-flex;
    margin-top: 6px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

.footer-links,
.footer-note {
    display: grid;
    gap: 9px;
}

.footer-links strong,
.footer-note strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
}

.footer-links a {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-note {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* Main hub cards: reduce text clutter while keeping category meaning */
.hub-grid.all-hubs .hub-card span,
.hub-icon-grid .hub-card span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .site-guide-accordion > summary {
        display: block;
        padding: 20px 56px 20px 20px;
    }

    .site-guide-accordion > summary .section-kicker {
        margin-bottom: 10px;
    }

    .site-guide-accordion > summary strong {
        display: block;
        font-size: 19px;
    }

    .site-guide-accordion .intro-copy {
        padding: 18px 20px 22px;
    }

    .site-footer.enhanced-footer {
        margin-top: 46px;
        padding: 34px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


/* =========================================================
   PlayWiki final detail pass v13
   - slimmer user flow / stronger hub copy spacing / tighter footer gap
   ========================================================= */

.portal-flow-section,
.flow-section {
    padding: 24px 28px;
}

.intent-flow {
    gap: 30px;
}

.flow-card {
    min-height: 96px;
    padding: 18px 18px;
    border-radius: 16px;
}

.flow-card em {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    font-size: 13px;
}

.flow-card strong {
    margin-bottom: 5px;
    font-size: 16px;
}

.flow-card span {
    font-size: 13px;
    line-height: 1.45;
}

.flow-card:not(:last-child)::after {
    right: -22px;
    font-size: 20px;
}

.hub-icon-grid .hub-card span,
.hub-grid.all-hubs .hub-card span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-faq {
    margin-bottom: 30px;
}

.site-footer.enhanced-footer {
    margin-top: 36px;
}

@media (max-width: 900px) {
    .portal-flow-section,
    .flow-section {
        padding: 22px;
    }

    .intent-flow {
        gap: 14px;
    }

    .flow-card {
        min-height: auto;
    }

    .flow-card:not(:last-child)::after {
        display: none;
    }

    .site-footer.enhanced-footer {
        margin-top: 30px;
    }
}

/* =========================================================
   PlayWiki final hub/footer pass v14
   - main hubs become 3x3 featured cards
   - hub copy reduced to compact keyword groups
   - footer simplified to 3 columns
   ========================================================= */

.hub-icon-grid,
.hub-grid.all-hubs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hub-icon-grid .hub-card,
.hub-grid.all-hubs .hub-card {
    min-height: 168px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
    padding: 24px;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 18%, rgba(37, 99, 235, .08), transparent 34%),
        #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.hub-icon-grid .hub-card:hover,
.hub-grid.all-hubs .hub-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 22px 48px rgba(37, 99, 235, .13);
}

.hub-icon-grid .hub-card:last-child,
.hub-grid.all-hubs .hub-card:last-child {
    border-right: 1px solid #dbeafe;
}

.hub-icon-grid .hub-card .hub-icon,
.hub-grid.all-hubs .hub-card .hub-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 4px;
    border-radius: 16px;
    font-size: 22px;
}

.hub-icon-grid .hub-card strong,
.hub-grid.all-hubs .hub-card strong {
    font-size: 20px;
    letter-spacing: -.045em;
}

.hub-icon-grid .hub-card span,
.hub-grid.all-hubs .hub-card span {
    max-width: none;
    display: block;
    color: #475467;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.footer-grid {
    grid-template-columns: 1.45fr .9fr .95fr;
    gap: 44px;
}

@media (max-width: 900px) {
    .hub-icon-grid,
    .hub-grid.all-hubs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .hub-icon-grid .hub-card,
    .hub-grid.all-hubs .hub-card {
        min-height: 150px;
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .hub-icon-grid,
    .hub-grid.all-hubs {
        grid-template-columns: 1fr;
    }

    .hub-icon-grid .hub-card,
    .hub-grid.all-hubs .hub-card {
        min-height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Subpage refinement - PlayWiki */
.subpage-hero{
    margin-bottom:34px;
}

.subpage-hero .portal-hero-card{
    min-height:310px;
    align-items:center;
    overflow:hidden;
}

.subpage-hero .portal-hero-card:after{
    content:"";
    position:absolute;
    right:-80px;
    bottom:-110px;
    width:330px;
    height:330px;
    border-radius:999px;
    background:linear-gradient(135deg, rgba(37,99,235,.13), rgba(147,197,253,.18));
    pointer-events:none;
}

.subpage-hero .hero-copy{
    max-width:720px;
    position:relative;
    z-index:2;
}

.subpage-hero .hero-copy h1{
    max-width:640px;
}

.sub-hero-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
}

.sub-hero-links a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 16px;
    border:1px solid rgba(37,99,235,.18);
    border-radius:999px;
    background:rgba(255,255,255,.82);
    color:#1d4ed8;
    font-weight:800;
    font-size:14px;
    text-decoration:none;
    box-shadow:0 8px 18px rgba(15,23,42,.05);
}

.sub-hero-links a:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(37,99,235,.12);
}

.subpage-quick-section{
    margin-top:0;
    background:linear-gradient(180deg, #ffffff, #f8fbff);
}

.subpage-quick-section .section-head{
    margin-bottom:18px;
}

.subpage-quick-pills{
    gap:12px;
}

.subpage-quick-pills a{
    min-height:44px;
    padding:0 18px;
    background:#fff;
}

.subpage-quick-pills a span{
    width:24px;
    height:24px;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:8px;
    font-size:13px;
}

.subpage-related-section{
    background:rgba(255,255,255,.88);
}

.subpage-hub-children-section{
    background:#fff;
}

.subpage-hub-children-section .card-grid,
.subpage-related-section .card-grid{
    gap:16px;
}

.subpage-hub-children-section .info-card,
.subpage-related-section .info-card{
    min-height:132px;
}

@media (max-width: 860px){
    .subpage-hero .portal-hero-card{
        min-height:auto;
    }

    .sub-hero-links{
        gap:8px;
    }

    .sub-hero-links a{
        min-height:36px;
        padding:0 12px;
        font-size:13px;
    }

    .subpage-quick-pills a{
        width:100%;
        justify-content:flex-start;
    }
}


/* =========================================================
   PlayWiki subpage final polish v16
   - remove heavy blue page feel
   - keep sub hero links only, no duplicated quick guide block
   ========================================================= */

body {
    background:
        radial-gradient(circle at 10% 4%, rgba(37, 99, 235, .035), transparent 30%),
        linear-gradient(180deg, #fbfdff 0%, #f7f9fc 42%, #ffffff 100%) !important;
}

.hero-card.portal-hero-card {
    background:
        radial-gradient(circle at 82% 26%, rgba(96, 165, 250, .18), transparent 34%),
        radial-gradient(circle at 98% 100%, rgba(29, 78, 216, .055), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #fbfdff 46%, #f3f8ff 100%) !important;
    box-shadow:
        0 24px 62px rgba(15, 23, 42, .075),
        inset 0 1px 0 rgba(255,255,255,.92) !important;
}

.subpage-hero .portal-hero-card:after {
    background: linear-gradient(135deg, rgba(37,99,235,.065), rgba(147,197,253,.10)) !important;
}

.subpage-hero {
    margin-bottom: 30px;
}

/* Hide old duplicated quick guide block if older cached HTML/CSS remains */
.subpage-quick-section {
    display: none !important;
}

.sub-hero-links a {
    background: rgba(255,255,255,.92);
    border-color: rgba(37,99,235,.16);
    box-shadow: 0 8px 18px rgba(15,23,42,.04);
}

.content-box,
.section-block {
    box-shadow: 0 16px 42px rgba(15,23,42,.045);
}

/* =========================================================
   PlayWiki subpage sidebar layout v17
   - applies to hub pages and detail pages
   - moves related navigation into a limited right sidebar
   ========================================================= */

.subpage-hero {
    margin-bottom: 22px !important;
}

.subpage-hero .portal-hero-card {
    min-height: 240px !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
    background:
        radial-gradient(circle at 82% 24%, rgba(96,165,250,.13), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #fcfdff 48%, #f6faff 100%) !important;
}

.subpage-hero .hero-card.portal-hero-card h1,
.subpage-hero .portal-hero-card h1 {
    font-size: clamp(34px, 4vw, 50px) !important;
}

.subpage-hero .portal-hero-card p {
    margin-top: 14px !important;
    font-size: 16px !important;
    color: #475467 !important;
}

.subpage-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
    margin-top: 22px;
}

.subpage-main {
    min-width: 0;
}

.subpage-main .content-box {
    max-width: none;
    margin: 0 0 34px;
    padding: 42px 46px;
}

.subpage-main .section-block {
    margin: 30px 0;
}

.subpage-main .subpage-hub-children-section {
    padding: 28px;
    border: 1px solid #e5eaf4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15,23,42,.045);
}

.subpage-main .subpage-hub-children-section .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subpage-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
}

.sidebar-card {
    padding: 20px;
    border: 1px solid #e5eaf4;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 34px rgba(15,23,42,.055);
}

.sidebar-card > strong {
    display: block;
    margin-bottom: 14px;
    color: #111827;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.sidebar-card-primary {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.sidebar-links {
    display: grid;
    gap: 9px;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #edf2f7;
    border-radius: 13px;
    background: #fff;
    color: #172033;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.sidebar-links a:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 10px 22px rgba(37,99,235,.09);
}

.sidebar-links a span {
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 850;
    word-break: keep-all;
}

.sidebar-links a em {
    flex: 0 0 auto;
    font-style: normal;
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
}

.sidebar-links.compact a em {
    color: #64748b;
}

.sidebar-note {
    background: #f8fafc;
}

.sidebar-note ol {
    margin: 0;
    padding-left: 20px;
    color: #475467;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 700;
}

.sidebar-note li {
    margin: 4px 0;
}

/* Old top related blocks are now replaced by the sidebar. */
.subpage-quick-section,
.subpage-related-section {
    display: none !important;
}

@media (max-width: 1080px) {
    .subpage-layout {
        grid-template-columns: 1fr;
    }

    .subpage-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar-note {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .subpage-main .content-box {
        padding: 26px 18px;
        margin-bottom: 24px;
    }

    .subpage-main .subpage-hub-children-section {
        padding: 20px;
    }

    .subpage-main .subpage-hub-children-section .card-grid,
    .subpage-sidebar {
        grid-template-columns: 1fr;
    }

    .subpage-hero .portal-hero-card {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
}

/* =========================================================
   PlayWiki subpage sidebar refinement v18
   - sidebar search added
   - duplicated hub-links block suppressed as safety fallback
   ========================================================= */

.subpage-main .hub-links {
    display: none !important;
}

.sidebar-search-card {
    padding: 18px;
    border-color: #dbeafe;
    background:
        radial-gradient(circle at 100% 0%, rgba(96,165,250,.13), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.sidebar-search-card > strong {
    margin-bottom: 10px;
}

.sidebar-search-form {
    margin: 0;
}

.sidebar-search-box {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 9px;
    border: 1px solid #bfdbfe;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(37,99,235,.07);
}

.sidebar-search-box span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #f7faff;
    font-size: 15px;
}

.sidebar-search-box input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font-size: 13px;
    font-weight: 750;
}

.sidebar-search-box input::placeholder {
    color: #94a3b8;
}

.sidebar-search-box button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    background: #2458d3;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(37,88,211,.18);
}

.sidebar-search-box button:hover {
    background: #1d4ed8;
}

.sidebar-card-primary .sidebar-links a:nth-child(n+5) {
    display: none;
}

@media (max-width: 1080px) {
    .sidebar-search-card {
        grid-column: 1 / -1;
    }
}
