/* ===== base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #0a0a0f;
    --secondary: #15151f;
    --accent: #ff2d55;
    --gold: #00e5ff;
    --light: #f0f0f0;
    --gray: #888;
    --radius: 10px;
    --shadow: 0 8px 32px rgba(0,0,0,0.18);
    --font: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", Arial, sans-serif;
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: #fafafa; color: #222; line-height: 1.7; font-size: 16px; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
img { display: block; max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 70px 0; }
.alt { background: #f5f7fa; }
.tc { text-align: center; }
.sec-title { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 12px; line-height: 1.3; }
.sec-title span { color: var(--accent); }
.sec-sub { color: #666; max-width: 680px; margin-bottom: 40px; }
.tc .sec-sub { margin-left: auto; margin-right: auto; }

/* ===== breadcrumb ===== */
.bc { background: #f5f5f5; padding: 10px 0; font-size: 13px; color: #666; }
.bc a { color: #666; }
.bc a:hover { color: var(--accent); }
.bc .bc-sep { margin: 0 8px; color: #bbb; }

/* ===== friend links ===== */
.flinks { background: #f7f8fa; padding: 32px 0; border-top: 1px solid #e8ecf2; }
.flinks .fl-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.flinks ul { list-style: none; display: flex; flex-wrap: wrap; gap: 9px 24px; }
.flinks a { color: #666; font-size: 13px; }
.flinks a:hover { color: var(--accent); }
.flinks.g2 ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; }
.flinks.g2 a { position: relative; padding-left: 13px; }
.flinks.g2 a::before { content: ''; position: absolute; left: 0; top: 50%; margin-top: -2px; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.flinks.col ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 11px 22px; }
.flinks.col a { display: block; padding: 7px 12px; background: #fff; border-radius: calc(var(--radius) - 4px); border: 1px solid #e8ecf2; }
.flinks.col a:hover { border-color: var(--accent); }
@media (max-width: 768px) {
    .flinks.g2 ul, .flinks.col ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity var(--transition); padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%; padding: 30px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: #f0f0f0; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; color: #444; }
.modal-box h2 { font-size: 24px; margin-bottom: 8px; color: var(--primary); }
.modal-box .m-year { color: #888; margin-bottom: 16px; }
.modal-box .m-desc { color: #555; line-height: 1.8; margin-bottom: 16px; }
.modal-box .m-meta { color: var(--accent); font-size: 14px; font-weight: 600; }

/* ===== demo -> detail links (works cards / faq questions become real anchors) ===== */
a.wk1-btn { display: inline-block; text-align: center; }
.fq1-link { color: inherit; }
.fq1-link:hover { color: var(--accent); }

.nv2-bar { position: relative; z-index: 900; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.1); }
.nv2-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto repeat(4, minmax(0, 1fr)); align-items: center; gap: 2px; min-height: 78px; }
.nv2-nav { display: contents; }
.nv2-menu { display: contents; list-style: none; }
.nv2-logo { order: 4; display: flex; align-items: center; gap: 8px; justify-self: center; padding: 0 24px; color: var(--primary); text-decoration: none; white-space: nowrap; }
.nv2-ico { font-size: 25px; line-height: 1; }
.nv2-kw { font-size: 22px; font-weight: 800; letter-spacing: 2px; }
.nv2-kw em { font-style: normal; color: var(--accent); }
.nv2-brand { font-size: 12px; color: var(--gray); padding-left: 9px; border-left: 1px solid rgba(0,0,0,0.14); }
.nv2-menu > li { display: flex; align-items: center; }
.nv2-menu > li:nth-child(1) { order: 1; justify-content: flex-end; }
.nv2-menu > li:nth-child(2) { order: 2; justify-content: flex-end; }
.nv2-menu > li:nth-child(3) { order: 3; justify-content: flex-end; }
.nv2-menu > li:nth-child(4) { order: 5; }
.nv2-menu > li:nth-child(5) { order: 6; }
.nv2-menu > li:nth-child(6) { order: 7; }
.nv2-menu > li:nth-child(7) { order: 8; }
.nv2-menu a { display: block; padding: 9px 14px; font-size: 14px; color: #3d3d3d; border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.nv2-menu a:hover { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width:768px) {
    .nv2-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 10px 0; }
    .nv2-nav { display: block; width: 100%; }
    .nv2-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
    .nv2-menu > li:nth-child(n) { order: 0; justify-content: center; }
    .nv2-logo { order: 0; padding: 0; }
    .nv2-kw { font-size: 19px; letter-spacing: 1px; }
    .nv2-ico { font-size: 21px; }
    .nv2-brand { font-size: 11px; }
    .nv2-menu a { padding: 6px 10px; font-size: 13px; }
}
.hr5-hero {
    position: relative;
    padding: 78px 0;
    background: var(--light);
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    overflow: hidden;
}
.hr5-hero::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 250px;
    height: 250px;
    border: 16px solid var(--accent);
    border-radius: 50%;
    opacity: 0.14;
}
.hr5-hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.hr5-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}
.hr5-title {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 3px;
}
.hr5-title span {
    color: var(--accent);
}
.hr5-desc {
    max-width: 660px;
    margin: 0 auto 30px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.9;
}
.hr5-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
}
.hr5-btn {
    padding: 12px 32px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hr5-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.hr5-genre {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}
.hr5-genre span {
    margin-right: 6px;
}
@media (max-width: 768px) {
    .hr5-hero {
        padding: 48px 0;
    }
    .hr5-hero::before {
        top: -46px;
        right: -46px;
        width: 150px;
        height: 150px;
        border-width: 10px;
    }
    .hr5-title {
        margin-bottom: 12px;
        font-size: 24px;
        letter-spacing: 1px;
    }
    .hr5-desc {
        margin-bottom: 22px;
        font-size: 14px;
        line-height: 1.72;
    }
    .hr5-row {
        gap: 14px;
    }
    .hr5-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}
.it2-head { max-width: 720px; margin-bottom: 34px; }
.it2-head .sec-sub { margin-bottom: 0; }
.it2-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-bottom: 46px; }
.it2-cols p { color: #555; line-height: 1.9; font-size: 15px; margin: 0; padding-top: 18px; border-top: 2px solid rgba(0, 0, 0, .06); }
.it2-cols p strong { color: var(--primary); }
.it2-bar { display: flex; background: var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.it2-stat { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 26px 14px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .16); }
.it2-stat:last-child { border-right: 0; }
.it2-num { font-size: 32px; line-height: 1; font-weight: 800; color: #fff; }
.it2-lbl { font-size: 13px; color: rgba(255, 255, 255, .72); }
@media (max-width: 768px) {
    .it2-cols { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
    .it2-bar { flex-direction: column; }
    .it2-stat { flex: none; width: 100%; padding: 18px 14px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
    .it2-stat:last-child { border-bottom: 0; }
    .it2-num { font-size: 26px; }
}
.wk4-masonry { column-count:3; column-gap:22px }
.wk4-masonry .wk1-item { break-inside:avoid; -webkit-column-break-inside:avoid; page-break-inside:avoid; display:block; margin:0 0 22px; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow) }
.wk4-masonry .wk1-item:nth-child(3n+1) .wk1-thumb { aspect-ratio:1/1 }
.wk4-masonry .wk1-item:nth-child(3n+2) .wk1-thumb { aspect-ratio:16/9 }
.wk4-masonry .wk1-item:nth-child(3n) .wk1-thumb { aspect-ratio:4/5 }
.wk4-masonry .wk1-thumb { position:relative; overflow:hidden; background:var(--light) }
.wk4-masonry .wk1-thumb img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s ease }
.wk4-masonry .wk1-item:hover .wk1-thumb img { transform:scale(1.06) }
.wk4-masonry .wk1-badge { position:absolute; top:10px; left:10px; padding:3px 10px; border-radius:var(--radius); background:var(--primary); color:#fff; font-size:12px }
.wk4-masonry .wk1-idx { position:absolute; right:12px; bottom:8px; color:#fff; font-size:26px; font-weight:700; line-height:1; opacity:.6 }
.wk4-masonry .wk1-info { padding:14px 16px 16px }
.wk4-masonry .wk1-head { display:flex; align-items:baseline; justify-content:space-between; gap:8px }
.wk4-masonry .wk1-title { margin:0; font-size:16px; line-height:1.45; color:var(--primary) }
.wk4-masonry .wk1-tag { flex:none; color:var(--accent); font-size:12px }
.wk4-masonry .wk1-meta { margin-top:6px; font-size:12px; color:var(--gray) }
.wk4-masonry .wk1-desc { margin:8px 0 12px; font-size:13px; line-height:1.7; color:var(--gray) }
.wk4-masonry .wk1-btn { width:100%; padding:8px 0; border:1px dashed var(--accent); border-radius:var(--radius); background:transparent; color:var(--accent); font-size:13px; cursor:pointer; transition:background .25s ease, color .25s ease }
.wk4-masonry .wk1-btn:hover { background:var(--accent); color:#fff }
@media (max-width:768px) {
    .wk4-masonry { column-count:2; column-gap:12px }
    .wk4-masonry .wk1-item { margin-bottom:12px }
    .wk4-masonry .wk1-item:nth-child(3n) .wk1-thumb { aspect-ratio:1/1 }
    .wk4-masonry .wk1-item:nth-child(3n+2) .wk1-thumb { aspect-ratio:1/1 }
    .wk4-masonry .wk1-title { font-size:14px }
    .wk4-masonry .wk1-desc { display:none }
    .wk4-masonry .wk1-btn { padding:7px 0; font-size:12px }
}
.ad9-head{padding-bottom:18px;border-bottom:2px solid var(--primary)}
.ad9-table > .ad1-item{position:relative;display:grid;grid-template-columns:38px 46px minmax(170px,240px) 1fr;column-gap:18px;align-items:center;padding:22px 6px;border-bottom:1px solid #e6eaf0;transition:background .25s ease}
.ad9-table > .ad1-item:last-child{border-bottom:0}
.ad9-table > .ad1-item:hover{background:#f7f9fc}
.ad9-table .ad1-toggle{display:none}
.ad9-table .ad1-num{grid-column:1;grid-row:1;font-size:13px;font-weight:800;letter-spacing:1px;color:#b6c1d0;line-height:1;text-align:center}
.ad9-table .ad1-icon{grid-column:2;grid-row:1;width:40px;height:40px;margin:0;border-radius:10px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;line-height:1}
.ad9-table .ad1-label{display:inline}
.ad9-table .ad1-title{grid-column:3;grid-row:1;font-size:17px;font-weight:700;color:var(--primary);margin:0;line-height:1.45}
.ad9-table .ad1-desc{grid-column:4;grid-row:1;font-size:14px;line-height:1.8;color:#666;margin:0}
@media (max-width:768px){
  .ad9-head{padding-bottom:14px}
  .ad9-table > .ad1-item{grid-template-columns:32px 40px 1fr;column-gap:12px;row-gap:6px;padding:16px 2px}
  .ad9-table .ad1-num{grid-column:1;grid-row:1;font-size:11px}
  .ad9-table .ad1-icon{grid-column:2;grid-row:1;width:34px;height:34px;border-radius:9px;font-size:15px}
  .ad9-table .ad1-title{grid-column:3;grid-row:1;font-size:15px}
  .ad9-table .ad1-desc{grid-column:2 / span 2;grid-row:2;font-size:13px;line-height:1.75}
}
.nw5-cols { column-count:2; column-gap:48px; column-rule:1px solid #e8ecf2 }
.nw5-cols .nw1-item { display:flex; align-items:baseline; gap:14px; padding:15px 2px; border-bottom:1px solid #eef1f6; text-decoration:none; break-inside:avoid; -webkit-column-break-inside:avoid; page-break-inside:avoid; transition:padding .25s ease, background .25s ease, border-color .25s ease }
.nw5-cols .nw1-date { flex:none; width:88px; font-size:12px; letter-spacing:.5px; color:var(--gray); transition:color .25s ease }
.nw5-cols .nw1-title { flex:1; min-width:0; font-size:15px; line-height:1.55; font-weight:600; color:var(--primary); transition:color .25s ease }
.nw5-cols .nw1-idx { flex:none; font-size:12px; line-height:1.6; color:#c9d2dd; transition:color .25s ease }
.nw5-cols .nw1-item:hover { padding-left:10px; background:#f7f9fc; border-bottom-color:var(--accent) }
.nw5-cols .nw1-item:hover .nw1-title { color:var(--accent) }
.nw5-cols .nw1-item:hover .nw1-date { color:var(--primary) }
.nw5-cols .nw1-item:hover .nw1-idx { color:var(--accent) }
@media (max-width:768px) {
    .nw5-cols { column-count:1; column-gap:0; column-rule:none }
    .nw5-cols .nw1-item { gap:10px; padding:12px 2px }
    .nw5-cols .nw1-date { width:76px; font-size:11px }
    .nw5-cols .nw1-title { font-size:14px }
    .nw5-cols .nw1-idx { font-size:11px }
    .nw5-cols .nw1-item:hover { padding-left:6px }
}
.fq1-list { display:flex; flex-direction:column; gap:14px; max-width:900px; margin:0 auto }
.fq1-list .fq1-item { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden }
.fq1-list .fq1-q { position:relative; padding:18px 54px 18px 24px; border-left:4px solid #dbe2ec; font-size:16px; line-height:1.6; font-weight:700; color:var(--primary); cursor:pointer; transition:border-color .3s ease, background .3s ease }
.fq1-list .fq1-no { margin-right:10px; color:var(--accent); font-size:14px; font-weight:700; letter-spacing:1px }
.fq1-list .fq1-q::after { content:"+"; position:absolute; top:50%; right:22px; transform:translateY(-50%); color:var(--accent); font-size:22px; line-height:1; transition:transform .3s ease }
.fq1-list .fq1-item.open .fq1-q { border-left-color:var(--accent); background:var(--light) }
.fq1-list .fq1-item.open .fq1-q::after { transform:translateY(-50%) rotate(45deg) }
.fq1-list .fq1-a { max-height:0; overflow:hidden; transition:max-height .4s ease }
.fq1-list .fq1-item.open .fq1-a { max-height:420px }
.fq1-list .fq1-a-in { padding:6px 24px 20px 28px; font-size:14px; line-height:1.85; color:var(--gray) }
@media (max-width:768px) {
    .fq1-list { gap:10px }
    .fq1-list .fq1-q { padding:14px 44px 14px 16px; font-size:15px }
    .fq1-list .fq1-no { margin-right:6px; font-size:13px }
    .fq1-list .fq1-q::after { right:16px; font-size:20px }
    .fq1-list .fq1-item.open .fq1-a { max-height:620px }
    .fq1-list .fq1-a-in { padding:4px 16px 16px 20px; font-size:13px }
}
.cm2-panel { display:flex; flex-direction:column; gap:16px; padding:28px; background:#fff; border:1px solid #e4e9f0; border-radius:20px; box-shadow:var(--shadow) }
.cm2-panel .cm1-item { position:relative; display:flex; align-items:flex-start; gap:14px; max-width:84% }
.cm2-panel .cm1-item:nth-child(even) { flex-direction:row-reverse; margin-left:auto }
.cm2-panel .cm1-head { flex:none; display:flex; flex-direction:column; align-items:center; gap:6px; width:64px }
.cm2-panel .cm1-av { width:52px; height:52px; border-radius:50%; object-fit:cover; border:2px solid var(--light); background:var(--light) }
.cm2-panel .cm1-who { display:flex; flex-direction:column; align-items:center; gap:2px; width:100% }
.cm2-panel .cm1-name { font-size:12px; font-weight:600; line-height:1.35; text-align:center; color:var(--primary); word-break:break-all }
.cm2-panel .cm1-date { font-size:11px; color:var(--gray) }
.cm2-panel .cm1-text { position:relative; flex:1 1 auto; min-width:0; margin:0; padding:15px 18px; background:var(--primary); color:#fff; font-size:14px; line-height:1.8; border-radius:16px; box-shadow:0 10px 22px rgba(15,23,42,.16) }
.cm2-panel .cm1-text::before { content:""; position:absolute; top:16px; left:-5px; width:12px; height:12px; background:var(--primary); transform:rotate(45deg) }
.cm2-panel .cm1-item:nth-child(even) .cm1-text::before { left:auto; right:-5px }
.cm2-panel .cm1-initial { position:absolute; right:14px; bottom:0; font-size:46px; font-weight:700; line-height:1; color:rgba(255,255,255,.12); pointer-events:none }
.cm2-panel .cm1-item:nth-child(even) .cm1-initial { right:auto; left:14px }
.cm2-panel .cm1-idx { display:none }
@media (max-width:768px) {
    .cm2-panel { gap:14px; padding:18px 16px }
    .cm2-panel .cm1-item { gap:10px; max-width:100% }
    .cm2-panel .cm1-head { width:52px }
    .cm2-panel .cm1-av { width:42px; height:42px }
    .cm2-panel .cm1-name { font-size:11px }
    .cm2-panel .cm1-text { padding:12px 14px; font-size:13px; line-height:1.75; border-radius:14px }
    .cm2-panel .cm1-text::before { top:14px }
    .cm2-panel .cm1-initial { font-size:34px }
}
.ft3-foot { background: var(--light); border-top: 1px solid rgba(0,0,0,0.08); padding: 46px 0 30px; text-align: center; }
.ft3-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); text-decoration: none; }
.ft3-ico { font-size: 21px; line-height: 1; }
.ft3-kw { font-size: 19px; font-weight: 800; letter-spacing: 2px; }
.ft3-kw em { font-style: normal; color: var(--accent); }
.ft3-brand { font-size: 11px; font-weight: 500; color: var(--gray); padding-left: 8px; border-left: 1px solid rgba(0,0,0,0.14); }
.ft3-line { max-width: 560px; margin: 15px auto 0; font-size: 13px; line-height: 1.95; color: #6b6b6b; }
.ft3-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; list-style: none; }
.ft3-tags li { padding: 4px 13px; font-size: 12px; color: var(--primary); background: rgba(0,0,0,0.05); border-radius: 999px; }
.ft3-rule { width: 54px; height: 2px; margin: 22px auto 16px; background: var(--accent); }
.ft3-copy { font-size: 12px; color: var(--gray); }
.ft3-copy b { font-weight: 600; color: var(--primary); letter-spacing: 1px; }
@media (max-width:768px) {
    .ft3-foot { padding: 32px 0 22px; }
    .ft3-ico { font-size: 18px; }
    .ft3-kw { font-size: 16px; letter-spacing: 1px; }
    .ft3-brand { font-size: 10px; }
    .ft3-line { margin-top: 11px; font-size: 12px; }
    .ft3-tags { margin-top: 13px; gap: 6px; }
    .ft3-tags li { padding: 3px 10px; font-size: 11px; }
    .ft3-rule { margin: 16px auto 12px; }
    .ft3-copy { font-size: 11px; }
}
[class$="-kw"] { font-size: 18px; }
@media (max-width:768px) { [class$="-kw"] { font-size: 16px; } }


@media (max-width: 768px) {
    .sec { padding: 50px 0; }
    .sec-title { font-size: 26px; }
}
