:root {
  --orange-yellow-crayola: #7fe3d3;
  --vegas-gold: #a5e8d7;
  --text-gradient-yellow: linear-gradient(90deg, #b4ff75, #52d7ce 70%, #78aefa);
  --bg-gradient-yellow-1: linear-gradient(135deg, #b4ff75, #52d7ce);
  --bg-gradient-yellow-2: linear-gradient(135deg, #7fe3d31e, #a9ff7410), hsl(240, 2%, 13%);
  --ff-poppins: 'Poppins', 'Noto Sans SC', sans-serif;
}

body { position: relative; background: #080b0e; }
body::before { content:""; position:fixed; inset:0; z-index:0; pointer-events:none; background:linear-gradient(90deg,#080b0ef2 0%,#080b0ecf 46%,#080b0e99 100%),linear-gradient(0deg,#080b0eb8,#080b0e70),url("../images/background/Background.png") center/cover no-repeat; }
main { position:relative; z-index:1; }
::selection { background: #7fe3d3; color: #07100f; }
.sidebar, article { background: linear-gradient(145deg, #101519, #0b0f12); border-color: #273238; }
.sidebar { backdrop-filter: blur(18px); }
.navbar { background: #151b20e8; border-color: #29353b; }
.navbar-link { font-size: 14px; }
.language-toggle { padding: 10px 12px; color: #b5ff7c; font-size: 13px; font-weight: 600; }
.language-toggle:hover { color: #7fe3d3; }
.article-title { font-size: 31px; letter-spacing: -.04em; }
.article-title::after { width: 56px; background: var(--text-gradient-yellow); }
.eyebrow { color: #94a5a8; font-size: 11px; letter-spacing: .13em; margin-bottom: 14px; }
.eyebrow span { display: inline; color: #73daca; }
.avatar-box { flex:0 0 110px;min-width:110px;width:110px;height:110px;aspect-ratio:1/1;display:grid;place-items:center;border:1px solid #42625f;background:radial-gradient(circle at 30% 20%,#233d3a,#101619 72%);overflow:hidden; }
.avatar-box img.profile-photo { grid-area:1/1;width:100%;height:100%;object-fit:cover;object-position:50% 36%;z-index:2; }
.profile-photo.image-missing { display:none; }
.avatar-monogram { grid-area:1/1; }
.avatar-monogram { color: #b9ff80; font-size: 25px; font-weight: 600; letter-spacing: -.08em; }
.info-content .name { font-size: 21px; letter-spacing: -.04em; }
.info-content .name span { display: block; color: #9aabaa; font-size: 14px; font-weight: 400; margin-top: 3px; }
.lang-en .info-content .name .sidebar-name-zh { display:none; }
.info-content .title { background: #182125; color: #bdebe1; font-size: 12px; padding: 5px 10px; }
.contact-title { font-size: 11px; }
.contact-info :is(.contact-link, time, address) { font-size: 14px; overflow-wrap: anywhere; }
.info_more-btn { color: #aaff7a; }
.resume-heading { padding: 4px 4px 12px; }
.resume-heading .article-title { margin-bottom: 0; font-size: clamp(29px, 3vw, 38px); }
.resume-heading .article-title span { color: #8da2a3; font-weight: 300; }
.resume-heading .identity-title { display:flex;align-items:baseline;flex-wrap:wrap;gap:0 8px;line-height:1.2; }
.resume-heading .identity-title .name-zh,.resume-heading .identity-title .name-en { display:inline;white-space:nowrap; }
.resume-heading .identity-title .name-en { color:#cbd8d6;font-size:.78em; }
.lang-en .resume-heading .identity-title .name-zh,.lang-en .resume-heading .identity-title .name-divider { display:none; }
.portfolio-heading .article-title { display:flex;align-items:baseline;gap:9px;white-space:nowrap;font-size:clamp(22px,3.1vw,31px); }
.portfolio-heading .article-title span { color:#8da2a3;font-weight:300; }
.section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.section-heading .icon-box { flex: 0 0 43px; width: 43px; height: 43px; }
.section-heading .h3 { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.section-index { margin-left: auto; color: #aaff7a; font: 11px 'Poppins', sans-serif; letter-spacing: .12em; }
.skill-matrix { margin: 0 0 24px; }
.skill-groups { display: grid; grid-template-columns: 1fr; gap: 9px; }
.skill-group { padding: 12px 14px; border: 1px solid #27373d; border-radius: 12px; background: linear-gradient(145deg, #11191d, #0b1013); }
.skill-group-title { display: flex; align-items: baseline; gap: 10px; padding-bottom: 8px; margin-bottom: 9px; border-bottom: 1px solid #26343a; }
.skill-group-title span { color: #baff7a; font: 11px 'Poppins', sans-serif; }
.skill-group-title strong { color: #e5efed; font-size: 16px; font-weight: 500; }
.skill-group:last-child { display:flex;align-items:center;gap:15px; }
.skill-group:last-child .skill-group-title { flex:0 0 auto;margin:0;padding:0 15px 0 0;border:0;border-right:1px solid #45605d; }
.skill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 6px; }
.skill-group:last-child .skill-grid { display:grid;flex:1;min-width:0;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px; }
.skill-group:last-child .skill-grid li { min-width:0;width:auto;justify-content:center;text-align:center;white-space:normal;overflow-wrap:anywhere;padding-inline:5px; }
.skill-grid li { min-height: 34px; display: flex; align-items: center; padding: 6px 9px; border: 1px solid #30434a; border-radius: 7px; background: #0a1216; color: #d0ddda; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; transition: border-color .2s, background .2s; }
.skill-grid li:hover { border-color: #62cbbd; background: #112126; }
.experience-section { margin: 0; }
.education-section { margin-top: 24px; }
.experience-section .timeline-list { margin: 0; padding: 0; display: grid; gap: 12px; }
.experience-section .timeline-item { position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;align-items:center;overflow:hidden;padding:20px 22px;border:1px solid #29363b;border-radius:13px;background:#0d1317; }
.experience-section:not(.education-section) .timeline-item { grid-template-columns:125px minmax(0,1fr);gap:16px; }
.experience-section .timeline-item:not(:last-child) { margin-bottom: 0; }
.experience-section .timeline-item::before { content:"";position:absolute;z-index:2;top:22px;left:158px;width:2px;height:calc(100% - 44px);background:linear-gradient(180deg,#71dfce,#438e84 65%,#315b58); }
.experience-section .timeline-item::after { top:25px;left:155px;width:8px;height:8px;background:#8cf1df;box-shadow:0 0 0 4px #14201f,0 0 10px #71dfce88; }
.timeline-date { position:relative;z-index:2;display:flex;flex-direction:column;gap:7px;align-self:start;padding:3px 0 0;color:#94a7a8;font-size:12px;line-height:1.4;letter-spacing:.045em; }
.experience-section:not(.education-section) .timeline-date { align-self:center; }
.timeline-date span { display:block; }
.timeline-date span:first-child::after { content:"";display:block;width:1px;height:9px;margin:6px 0 0 2px;background:linear-gradient(180deg,#71dfce,#438e84); }
.timeline-body { position:relative;z-index:2;min-width:0;padding-right:clamp(150px,20vw,225px); }
.experience-section .timeline-item-title { margin: 0 0 5px; font-size: 20px; font-weight: 500; color: #f1f5f3; }
.company-line { margin-bottom: 10px; color: #78d7c9; font-size: 11px; letter-spacing: .07em; }
.company-line span { display: inline; color: #647b7d; padding: 0 3px; }
.experience-points { display: grid; gap: 4px; }
.experience-points li { list-style: disc; margin-left: 18px; color: #c1cecb; font-size: 14px; font-weight: 300; line-height: 1.65; }
.experience-section .timeline-item.current-role { padding: 25px 24px; border-color: #498c80; background: linear-gradient(120deg, #142321, #0d1418 70%); box-shadow: inset 3px 0 #baff7a, 0 10px 34px #26bfa20c; }
.current-role .timeline-date { color: #baff7a; }
.experience-section .current-role .timeline-item-title { font-size: 23px; }
.current-role::marker { color: #baff7a; }
.experience-art { position:absolute;z-index:1;inset:0 0 0 auto;width:43%;height:100%;margin:0;overflow:hidden;background:#0d1317;isolation:isolate;pointer-events:none; }
.experience-art::after { content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#0d1317 0%,#0d1317f0 10%,#0d1317d6 30%,#0d131778 60%,#0d131722 82%,transparent 100%),linear-gradient(0deg,#0d131766,transparent 38%); }
.experience-art img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;transition:transform .35s; }
.timeline-item:hover .experience-art img { transform:scale(1.04); }
.experience-art img.image-missing { display:none; }
.experience-art.no-artwork { display:none; }
.timeline-item.no-experience-art .timeline-body { padding-right:0; }
.experience-art figcaption { position:absolute;z-index:2;right:16px;bottom:13px;color:#e1efeb;font:9px 'Poppins',sans-serif;letter-spacing:.12em; }

.portfolio-intro { display: flex; align-items: end; justify-content: space-between; margin: 8px 0 17px; }
.portfolio-intro h3 { font-size: 21px; font-weight: 500; }
.portfolio-intro p { color: #9caaaa; font-size: 13px; }
.filter-list { gap: 20px; margin: 0 0 20px; }
.filter-item button { color: #acb9b9; font-size: 14px; }
.filter-item button.active { color: #aaff7a; }
.project-list { gap: 25px 16px; margin-bottom: 38px; }
.project-img { height: 220px; margin-bottom: 12px; border: 1px solid #2b3b40; background: #11191e; }
.project-open { display:block;width:100%;text-align:left;color:inherit;background:transparent;cursor:pointer; }
.project-open:focus-visible { outline:2px solid #9eff79;outline-offset:4px;border-radius:8px; }
.project-open .project-img { transition:transform .25s,border-color .25s; }
.project-open:hover .project-img { transform:translateY(-2px);border-color:#6de0cc; }
.project-open-icon { position:absolute;z-index:3;right:12px;top:11px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#071012bc;color:#aaff7a;opacity:0;transform:scale(.88);transition:opacity .2s,transform .2s; }
.project-open:hover .project-open-icon,.project-open:focus-visible .project-open-icon { opacity:1;transform:scale(1); }
.project-breakdown-badge { position:absolute;z-index:3;left:11px;bottom:11px;padding:6px 9px;border:1px solid #79dacc88;border-radius:5px;background:#071012d9;color:#a7f2e6;font:9px 'Poppins',sans-serif;letter-spacing:.1em; }
.art-thumb { isolation: isolate; }
.art-thumb::after { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .85; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, #58d7ca48, transparent 48%), repeating-linear-gradient(132deg, transparent 0 31px, #a4fff02a 32px 33px); }
.art-thumb img { position: relative; z-index: 2; }
.art-thumb img.image-missing { display: none; }
.image-placeholder { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 9px 12px; border: 1px dashed #80b5aa; border-radius: 5px; color: #c5e4dc; background: #071012c9; font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
.art-thumb.has-artwork .image-placeholder { display: none; }
.project-code { position: absolute; z-index: 2; left: 12px; top: 11px; color: #eff8f5; font-size: 11px; letter-spacing: .12em; }
.art-2 { background: radial-gradient(circle at 50% 48%, #253952, #10161e 68%); }
.art-2::after { background: repeating-linear-gradient(145deg, transparent 0 17px, #89c4e33a 18px 19px); }
.art-3 { background: radial-gradient(circle at 50% 48%, #503c65, #17131f 68%); }
.art-3::after { background: repeating-radial-gradient(ellipse at 50% 48%, transparent 0 17px, #d5afff4a 18px 19px, transparent 20px 28px); }
.art-4 { background: radial-gradient(circle at 50% 48%, #624733, #1c1714 68%); }
.art-4::after { background: linear-gradient(32deg, transparent 49%, #f4d49d53 50%, transparent 51%), linear-gradient(145deg, transparent 49%, #ffb87835 50%, transparent 51%); }
.art-5 { background: radial-gradient(circle at 50% 48%, #254d45, #101a19 68%); }
.art-5::after { background: repeating-linear-gradient(0deg, transparent 0 18px, #8fffd333 19px 20px), repeating-linear-gradient(90deg, transparent 0 26px, #8fffd322 27px 28px); }
.art-6 { background: radial-gradient(circle at 50% 48%, #4a3c32, #1b1817 68%); }
.art-6::after { background: repeating-radial-gradient(ellipse at 52% 45%, transparent 0 22px, #ffc88947 23px 24px, transparent 25px 35px); }
.art-7 { background: radial-gradient(circle at 50% 48%, #284e68, #121c26 68%); }
.art-7::after { background: repeating-linear-gradient(155deg, transparent 0 12px, #7bceff36 13px 14px); }
.art-8 { background: radial-gradient(circle at 50% 48%, #4e355c, #1a1521 68%); }
.art-8::after { background: conic-gradient(from 10deg at 50% 48%, transparent, #dd9fff4a, transparent, #61e6d644, transparent); }
.art-9 { background: radial-gradient(circle at 50% 48%, #264b50, #111b20 68%); }
.art-9::after { background: linear-gradient(90deg, transparent 49%, #a0fff155 50%, transparent 51%), linear-gradient(0deg, transparent 49%, #a0fff155 50%, transparent 51%); background-size: 31px 31px; }
.art-10 { background: radial-gradient(circle at 50% 48%, #425142, #161d18 68%); }
.art-10::after { background: repeating-radial-gradient(ellipse at 50% 50%, transparent 0 18px, #bded9e3d 19px 20px, transparent 21px 32px); }
.project-title { margin: 0 0 4px 3px; font-size: 15px; }
.project-category { margin-left: 3px; color: #8ecfc5; font-size: 11px; letter-spacing: .08em; }
.nda-section { padding-top: 28px; border-top: 1px solid #27363a; }
.nda-intro { margin-bottom: 14px; }
.nda-kicker { display: block; margin-bottom: 5px; color: #aaff7a; font-size: 10px; letter-spacing: .14em; }
.nda-intro p { font-size: 12px; }
.nda-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.nda-card { padding: 9px; border: 1px solid #344044; border-radius: 13px; background: #0b1013; }
.nda-thumb { position: relative; height: 155px; overflow: hidden; border-radius: 8px; background: radial-gradient(circle at 52% 45%, #1e3d43, #10171b 70%); }
.nda-thumb::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 21px, #7fe3d326 22px 23px); }
.nda-2 { background: radial-gradient(circle at 52% 45%, #263c51, #11171e 70%); }
.nda-3 { background: radial-gradient(circle at 52% 45%, #4a3450, #17121b 70%); }
.nda-lock { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #daebe6; background: #080c0d35; }
.nda-lock ion-icon { font-size: 22px; color: #aaff7a; }
.nda-lock b { font-size: 11px; letter-spacing: .14em; }
.nda-card h4 { padding: 10px 4px 4px; font-size: 14px; font-weight: 500; }
.nda-card p { padding: 0 4px 4px; color: #a9b7b5; font-size: 12px; line-height: 1.6; }
.nda-tags { display: block; padding: 4px; color: #85dace; font-size: 10px; letter-spacing: .08em; }
.nda-card.unlocked img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nda-card.unlocked img.image-missing { display: none; }
.nda-card.unlocked .nda-thumb .nda-lock { opacity: .86; }
.nda-open { display:block;width:100%;text-align:left;background:none;color:inherit;cursor:pointer; }
.nda-form { padding: 17px; border: 1px solid #304043; border-radius: 12px; background: #0c1316; }
.nda-form label { display: block; margin-bottom: 9px; color: #dce8e5; font-size: 14px; }
.nda-form-row { display: flex; gap: 9px; }
.nda-form input { min-width: 0; padding: 12px 14px; border: 1px solid #34464a; border-radius: 9px; color: #f1f6f4; font-size: 14px; }
.nda-form input::placeholder { color: #8a9a9d; }
.nda-form .form-btn { width: auto; min-width: 132px; padding: 12px 17px; border-radius: 9px; color: #08110f; background: var(--bg-gradient-yellow-1); }
.nda-form .form-btn::before { display: none; }
.nda-form .form-btn:disabled { opacity: .6; }
.gate-message { padding-top: 8px; color: #ffae8f; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contact-card { position: relative; min-height: 145px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; padding: 20px 22px; border: 1px solid #2c3a3f; border-radius: 14px; background: linear-gradient(145deg, #121a1e, #0b1013); color: #ecf3f1; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: #61cdbc; transform: translateY(-2px); }
.contact-icon { position: absolute; right: 18px; top: 18px; color: #aaff7a; font-size: 20px; }
.contact-label { color: #8da3a4; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { max-width: calc(100% - 20px); color: #f1f6f4; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.email-copy-row { display:flex;align-items:center;gap:7px;width:100%;max-width:calc(100% - 20px); }
.email-copy-row>a { flex:1 1 auto;min-width:0;color:inherit;text-decoration:none; }
.email-copy-row strong { max-width:100%;font-size:clamp(13px,1.25vw,16px);letter-spacing:-.025em; }
.copy-email { flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #3b514f;border-radius:8px;background:#0a1215;color:#baff7a;cursor:pointer; }
.copy-email ion-icon { font-size:17px; }
.copy-email:hover,.copy-email.copied { border-color:#70dcca;background:#142321; }
.contact-arrow { position: absolute; right: 19px; bottom: 17px; color: #aaff7a; font-size: 18px; }
.social-destinations { display: flex; gap: 9px; width: 100%; }
.profile-link { display: flex; align-items: center; justify-content: space-between; flex: 1; padding: 9px 11px; border: 1px solid #37494e; border-radius: 8px; color: #eaf2ef; font-size: 15px; font-weight: 500; }
.profile-link span { display: inline; color: #aaff7a; }
.profile-link.pending-profile { color: #a9b6b4; }
.social-card small { color: #829496; font-size: 11px; }
.contact-card.wechat-card { min-height:190px; }
.wechat-qr { display:grid;place-items:center;width:100px;height:100px;margin-top:4px;border:1px dashed #58716e;border-radius:8px;background:#081012;color:#a8c6bf;overflow:hidden; }
.wechat-qr img { grid-area:1/1;width:100%;height:100%;object-fit:cover;z-index:1; }
.wechat-qr img.image-missing { display:none; }
.wechat-qr span { grid-area:1/1;padding:6px;text-align:center;font-size:10px;line-height:1.4; }
.sidebar-actions { display: grid; gap: 13px; }
.resume-download { display: flex; align-items: center; gap: 9px; width: max-content; padding: 10px 12px; border: 1px solid #425a57; border-radius: 8px; color: #baff7a; font-size: 13px; }
.resume-download ion-icon { font-size: 17px; }
.sidebar-social { display: flex; gap: 14px; }
.sidebar-social a { color: #c1d2ce; font-size: 12px; }

@media (min-width: 768px) {
  .skill-grid li { min-height: 35px; font-size: 13px; }
  .experience-section .timeline-item { padding: 22px 25px; }
  .project-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-width: 1249px) {
  main { max-width: 1160px; display: flex; align-items: flex-start; gap: 18px; }
  .sidebar { flex: 0 0 230px; width: 230px; margin: 0; }
  .main-content { flex: 1 1 auto; width: calc(100% - 248px); min-width: 0; margin: 0; }
  article { width: 100%; }
}
@media (min-width: 1250px) {
  main { max-width: 1280px; gap: 24px; }
  .sidebar { flex: 0 0 260px; width: 260px; }
  .main-content { width: min(990px, calc(100vw - 330px)); flex: 1 1 auto; min-width: 0; }
  article { width: 100%; }
}
@media (min-width: 768px) and (max-width: 1249px) {
  .experience-section:not(.education-section) .timeline-item { grid-template-columns:125px minmax(0,1fr);gap:16px; }
  .timeline-body { padding-right:150px; }
  .experience-art { width:42%; }
}
@media (max-width: 1023px) {
  .skill-group:last-child { display:block; }
  .skill-group:last-child .skill-group-title { margin:0 0 9px;padding:0 0 8px;border-right:0;border-bottom:1px solid #26343a; }
  .skill-group:last-child .skill-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .skill-grid { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
  .experience-section .timeline-item { grid-template-columns: 1fr; gap: 9px; padding: 17px; }
  .experience-section .timeline-item::before { top:22px;left:14px;width:2px;height:calc(100% - 44px); }
  .experience-section .timeline-item::after { top:25px;left:11px; }
  .timeline-date { padding:3px 0 0 23px; }
  .timeline-body { padding-left:23px;padding-right:0; }
  .experience-art { width:42%;opacity:.72; }
  .experience-section .timeline-item.current-role { padding: 20px 17px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nda-grid { grid-template-columns: 1fr; }
  .nda-thumb { height: 190px; }
  .nda-form-row { flex-direction: column; }
  .nda-form .form-btn { width: 100%; }
  .portfolio-intro { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 449px) {
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-group:last-child .skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .skill-grid li { min-height: 40px; padding: 7px 8px; font-size: 12px; }
  .article-title { font-size: 26px; }
  .project-list { gap: 20px 10px; }
  .project-img { height: 155px; }
  .project-title { font-size: 13px; }
  .project-category { font-size: 10px; }
  .social-destinations { flex-direction: column; }
}

.project-viewer[hidden] { display:none!important; }
.project-viewer { position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:28px; }
.viewer-backdrop { position:absolute;inset:0;background:#030607eF;backdrop-filter:blur(12px); }
.viewer-panel { position:relative;z-index:1;width:min(1040px,100%);max-height:min(92vh,920px);overflow:auto;padding:16px;border:1px solid #34464a;border-radius:18px;background:linear-gradient(145deg,#11191d,#080d10);box-shadow:0 30px 100px #000b; }
.viewer-mode-switch { position:sticky;z-index:4;top:0;display:flex;justify-content:center;gap:5px;width:max-content;margin:0 auto 12px;padding:4px;border:1px solid #34494a;border-radius:9px;background:#081012ee;backdrop-filter:blur(12px); }
.viewer-mode-switch[hidden],.viewer-breakdown[hidden] { display:none!important; }
.viewer-mode-switch button { padding:8px 15px;border-radius:6px;background:transparent;color:#a4b7b5;font-size:12px;cursor:pointer; }
.viewer-mode-switch button.active { background:#18302e;color:#baff7a; }
.viewer-close { position:absolute;z-index:5;right:25px;top:24px;display:grid;place-items:center;width:42px;height:42px;border:1px solid #506463;border-radius:50%;background:#061012d9;color:#f0f5f3;font-size:30px;line-height:1;cursor:pointer; }
.viewer-stage { position:relative;display:grid;place-items:center;min-height:min(66vh,650px);overflow:hidden;border-radius:11px;background:radial-gradient(ellipse at center,#1e3839,#090f12 70%); }
.viewer-stage>img { display:block;max-width:100%;max-height:min(66vh,650px);width:auto;height:auto;object-fit:contain; }
.viewer-stage>video { display:block;max-width:100%;max-height:min(66vh,650px);width:100%;aspect-ratio:16/9;object-fit:contain;background:#050809; }
.viewer-stage>img[hidden],.viewer-stage>video[hidden] { display:none; }
.viewer-stage>img.image-missing { display:none; }
.viewer-image-pending { position:absolute;inset:0;display:grid;place-items:center;color:#b9d2cb;font-size:14px;letter-spacing:.08em; }
.viewer-image-pending[hidden] { display:none; }
.viewer-prev,.viewer-next { position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:46px;height:58px;border:1px solid #526767;border-radius:10px;background:#071012d9;color:#ecf5f1;font-size:38px;cursor:pointer; }
.viewer-prev { left:14px; }.viewer-next { right:14px; }
.viewer-counter { position:absolute;right:16px;bottom:14px;padding:5px 9px;border:1px solid #34484a;border-radius:20px;background:#060b0dc9;color:#d8e7e1;font:11px 'Poppins',sans-serif; }
.viewer-info { display:flex;align-items:center;gap:14px;padding:15px 6px 5px; }
.viewer-category { color:#89d9cd;font-size:11px;letter-spacing:.1em; }
.viewer-info h2 { margin:0;color:#f1f6f4;font-size:17px;font-weight:500; }
.viewer-thumbnails { display:flex;flex:0 1 auto;gap:7px;max-width:min(55vw,680px);margin-left:auto;overflow-x:auto; }
.viewer-thumbnails:empty { display:none; }
.viewer-thumbnails button { position:relative;flex:0 0 45px;width:45px;height:36px;overflow:hidden;border:1px solid #344448;border-radius:5px;background:#0c1417;cursor:pointer; }
.viewer-thumbnails button.active { border-color:#aaff7a; }
.viewer-thumbnails img { width:100%;height:100%;object-fit:cover; }
.video-thumb-mark { position:absolute;inset:0;display:grid;place-items:center;background:#02060775;color:white;font-size:15px; }
.viewer-breakdown { display:block;max-width:880px;margin:0 auto;padding:24px 8px 35px;color:#c6d4d1; }
.breakdown-header { padding:20px 0 35px;border-bottom:1px solid #26383a; }
.breakdown-header .eyebrow { margin-bottom:11px;color:#7ad9cb; }
.breakdown-header h2 { margin:0;color:#f0f5f3;font-size:clamp(28px,5vw,46px);font-weight:500;letter-spacing:-.04em; }
.breakdown-intro { max-width:700px;margin:16px 0 0;color:#b4c4c1;font-size:17px;line-height:1.8; }
.breakdown-section { display:grid;grid-template-columns:minmax(130px, .35fr) minmax(0,1fr);gap:8px 30px;padding:30px 0;border-bottom:1px solid #26383a; }
.breakdown-section h3 { margin:3px 0 0;color:#9af0df;font-size:19px;font-weight:500; }
.breakdown-section>p { grid-column:2;margin:0;color:#c6d4d1;font-size:15px;line-height:1.85;white-space:pre-line; }
.breakdown-media { grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px; }
.breakdown-media figure { min-width:0;margin:0;overflow:hidden;border:1px solid #2a3b3e;border-radius:9px;background:#080d10; }
.breakdown-media img,.breakdown-media video { display:block;width:100%;max-height:560px;object-fit:contain;background:#080d10; }
.breakdown-media figcaption { padding:9px 11px;color:#93aaa7;font-size:12px;line-height:1.5; }
body.viewer-open { overflow:hidden; }
@media(max-width:680px){.project-viewer{padding:10px}.viewer-panel{padding:9px;border-radius:13px}.viewer-stage{min-height:52vh}.viewer-stage>img{max-height:52vh}.viewer-info{align-items:flex-start;flex-direction:column;gap:6px;padding:12px 4px 4px}.viewer-thumbnails{max-width:100%;margin:5px 0 0}.viewer-close{right:15px;top:15px;width:37px;height:37px}.viewer-prev,.viewer-next{width:36px;height:48px;font-size:32px}.viewer-mode-switch{margin-bottom:8px}.viewer-breakdown{padding:16px 5px 25px}.breakdown-header{padding:14px 0 24px}.breakdown-intro{font-size:15px}.breakdown-section{grid-template-columns:1fr;gap:10px;padding:23px 0}.breakdown-section h3,.breakdown-section>p,.breakdown-media{grid-column:1}.breakdown-section>p{font-size:14px}.breakdown-media{grid-template-columns:1fr}.contact-card.wechat-card{min-height:205px}}

.breakdown-hero-media { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:22px 0;border-bottom:1px solid #26383a; }
.breakdown-hero-media figure,.breakdown-media figure { min-width:0; }
.breakdown-hero-media figure { margin:0;overflow:hidden;border:1px solid #2a3b3e;border-radius:10px;background:#080d10; }
.breakdown-hero-media img { display:block;width:100%;max-height:520px;object-fit:contain;background:#080d10; }
.breakdown-hero-media figcaption { padding:10px 12px;color:#93aaa7;font-size:13px; }
.breakdown-media img[role="button"],.breakdown-hero-media img[role="button"] { cursor:zoom-in; }
.breakdown-media img[role="button"]:focus-visible { outline:2px solid #aaff7a;outline-offset:-3px; }
.breakdown-points { grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 0;padding:0;list-style:none; }
.breakdown-points li { padding:13px 15px;border:1px solid #2a3b3e;border-radius:8px;background:#0b1215; }
.breakdown-points strong { color:#a9f2df;font-size:14px;font-weight:600; }
.breakdown-points p { margin:5px 0 0;color:#aebfbb;font-size:13px;line-height:1.6; }
.viewer-image-zoom[hidden] { display:none!important; }
.viewer-image-zoom { position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:48px;background:#020506f2; }
.viewer-image-zoom-backdrop { position:absolute;inset:0;width:100%;height:100%;background:transparent;cursor:zoom-out; }
.viewer-image-zoom figure { position:relative;z-index:1;display:grid;place-items:center;max-width:96vw;max-height:94vh;margin:0;pointer-events:none; }
.viewer-image-zoom figure img { display:block;max-width:96vw;max-height:88vh;object-fit:contain; }
.viewer-image-zoom figcaption { padding-top:10px;color:#b7c9c4;font-size:13px;text-align:center; }
.viewer-image-zoom-close { position:absolute;z-index:2;top:20px;right:24px;width:44px;height:44px;border:1px solid #516565;border-radius:50%;background:#0b1416;color:white;font-size:30px;cursor:pointer; }
@media(max-width:680px){.breakdown-hero-media{grid-template-columns:1fr}.breakdown-points{grid-column:1;grid-template-columns:1fr}.viewer-image-zoom{padding:25px 12px}.viewer-image-zoom figure img{max-width:96vw;max-height:82vh}.viewer-image-zoom-close{top:10px;right:10px}}
