:root{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:#303132;background:#f4f4f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit}header{max-width:1520px;margin:auto;padding:32px 5%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dededb;gap:28px}.brand{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:600;white-space:nowrap}.brand small{display:block;font-size:10px;letter-spacing:2.3px;margin-top:6px;font-weight:400}.mark{background:#343536;color:#f7f7f4;width:44px;height:48px;display:grid;place-items:center;font-size:25px;font-weight:400}nav{display:flex;gap:34px;align-items:center}nav a{font-size:14px;color:#737474;padding:16px 0;position:relative}nav a[aria-current]{color:#292a2b}nav a[aria-current]:after{position:absolute;content:"";height:2px;background:#303132;bottom:2px;left:0;right:0}a:focus-visible,button:focus-visible{outline:2px solid #606567;outline-offset:5px}main{max-width:1520px;margin:auto;padding:0 5%;min-height:70vh}.intro{padding:62px 0 56px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.eyebrow{font-size:12px;letter-spacing:2px;color:#747575;margin:0 0 22px}h1{font-weight:400;letter-spacing:-1.5px;font-size:clamp(32px,3.6vw,54px);line-height:1.45;margin:0}p{line-height:1.9}.lead{font-size:16px;color:#777;margin:20px 0 0}.intro-note{font-size:14px;line-height:2.2;color:#515253;padding-bottom:6px}.intro-note span{color:#838484;font-size:12px}.section-title{border-top:1px solid #d8d8d5;padding:26px 0 24px;display:flex;justify-content:space-between;gap:16px;align-items:center}.section-title h2{margin:0;font-size:19px;font-weight:500}.section-title span{font-size:12px;color:#787979}.gallery{columns:3;column-gap:23px}.card{break-inside:avoid;margin:0 0 29px;display:block;width:100%;padding:0;border:0;background:none;text-align:left;cursor:pointer;color:inherit}.drawing{background:#e2e2df;overflow:hidden;position:relative;border-radius:3px}.drawing svg{width:100%;height:auto;display:block;transition:transform .4s}.card:hover svg{transform:scale(1.035)}.card:nth-child(2n) .drawing{background:#d4d5d3}.card:nth-child(3n) .drawing{background:#e9e9e6}.drawing:after{content:"几何示意";position:absolute;bottom:14px;left:17px;font-size:11px;letter-spacing:1px;color:#747575}.card-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:16px 0 7px}.card-title h3{margin:0;font-size:16px;font-weight:500}.card-title span{font-size:12px;color:#818282}.tags{font-size:12px;color:#838484}.gallery-note{font-size:12px;color:#838484;margin:0 0 48px}footer{border-top:1px solid #d8d8d5;padding:24px 5%;display:flex;justify-content:space-between;gap:20px;color:#828383;font-size:12px;max-width:1520px;margin:auto}.view:not(#cases){padding-top:65px;padding-bottom:60px}.empty{min-height:450px;display:grid;align-content:center;justify-content:center;text-align:center;color:#939493}.empty span{font-size:96px;font-weight:200;letter-spacing:12px;color:#d0d1ce}.empty p{font-size:14px;letter-spacing:4px}.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:10%;padding:20px 0 50px}.about-copy h2{font-size:24px;font-weight:400;margin-top:0}.about-copy p{font-size:16px;color:#6b6c6c}.contact{border-top:1px solid #d8d8d5;margin-top:42px;padding-top:30px}.contact h3{font-weight:400;font-size:21px}.contact .eyebrow{font-size:12px}dialog{border:0;border-radius:5px;width:min(640px,calc(100% - 32px));max-height:90vh;padding:32px;background:#f4f4f2;color:#303132}dialog::backdrop{background:#16171899;backdrop-filter:blur(4px)}dialog h2{font-weight:400}.close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:30px;cursor:pointer;color:#666}.muted{color:#828383;font-size:13px}.contact-link{display:inline-block;padding:12px 18px;background:#343536;color:white;font-size:14px}#detail-image svg{width:100%;max-height:330px;background:#e1e2df}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}@media(min-width:1600px){.gallery{columns:4}}@media(max-width:850px){header{align-items:flex-start;flex-direction:column;padding-top:24px;padding-bottom:15px;gap:18px}nav{width:100%;justify-content:space-between;gap:16px}.intro{padding:40px 0}.intro-note{display:none}.gallery{columns:2;column-gap:16px}.about-layout{gap:7%}}@media(max-width:540px){.brand{font-size:18px}nav a{font-size:12px}.section-title{align-items:flex-start;flex-direction:column;gap:10px}.section-title h2{font-size:18px}.gallery{column-gap:12px}.card-title h3{font-size:14px}.card-title span{display:none}.tags{font-size:12px}.drawing:after{font-size:10px;bottom:8px;left:10px}.about-layout{grid-template-columns:1fr;gap:35px}footer{flex-direction:column;gap:8px}dialog{padding:25px}.eyebrow{font-size:11px;letter-spacing:1.5px}}@media(prefers-reduced-motion:reduce){.drawing svg{transition:none}}

/* Two-sided case images; the back intentionally stays empty. */
.card{cursor:default}.card:hover svg{transform:none}
.flip-card{display:block;width:100%;padding:0;border:0;background:none;color:inherit;cursor:pointer;perspective:1100px;border-radius:3px;-webkit-tap-highlight-color:transparent}
.flip-inner{display:grid;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.2,.7,.2,1)}
.flip-front,.flip-back{display:block;grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:3px}
.flip-back{background:#dededb;transform:rotateY(180deg);border:1px solid #d2d3d0}
.flip-card[aria-pressed="true"] .flip-inner{transform:rotateY(180deg)}
.flip-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#25262766;color:#fff;font-size:18px;letter-spacing:4px;opacity:0;transition:opacity .2s}
.flip-card:focus-visible:not([aria-pressed="true"]) .flip-hint{opacity:1}
.detail-link{border:0;background:none;color:inherit;padding:0;font:inherit;cursor:pointer;text-align:left}.detail-link:hover{text-decoration:underline;text-underline-offset:4px}
@media(hover:hover){.flip-card:hover:not([aria-pressed="true"]) .flip-hint{opacity:1}}
@media(hover:none){.flip-hint{opacity:1;background:transparent;color:#333;text-shadow:0 1px 6px #fff;align-items:flex-end;padding:16px;font-size:14px}.flip-front:after{display:none}}
@media(prefers-reduced-motion:reduce){.flip-inner,.flip-hint{transition:none}}

/* Landscape covers retain the original image files and crop only their display. */
.gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14.5px 11.5px;columns:auto;margin-bottom:40px}.card{margin:0;min-width:0}
.flip-inner{aspect-ratio:16/9}.flip-front{min-width:0;min-height:0;position:relative}.flip-front .case-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.drawing:after{display:none}#detail-image .case-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center}
@media(min-width:1600px){.gallery{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:850px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}}
@media(max-width:540px){.gallery{grid-template-columns:1fr}}

.brand-logo{display:block;width:52px;height:52px;object-fit:contain;flex-shrink:0;border-radius:3px}
#home.view{padding-top:0;padding-bottom:0}#home .intro{min-height:440px;align-items:center}
#cases.view{padding-top:24px}#cases>.section-title{border-top:0}
@media(max-width:540px){nav{flex-wrap:wrap;justify-content:flex-start;gap:6px 19px}nav a{font-size:12px}.brand-logo{width:46px;height:46px}#home .intro{min-height:360px}}

.flip-back{position:relative;overflow:hidden}.flip-back img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#detail-description{white-space:pre-wrap}

.difficulty{font-size:14px;line-height:1.8;color:#737373;margin-top:7px;letter-spacing:1px}

.card-title h3{font-size:20px;font-weight:700;line-height:1.6}.difficulty{display:flex;align-items:center;gap:4px;letter-spacing:0}.difficulty-stars{font-size:15.33px;line-height:1.5;letter-spacing:2px;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif}@media(max-width:540px){.card-title h3{font-size:19px}}

#case-tabs{display:flex;flex-wrap:wrap;gap:12px 26px}#case-tabs button{font:inherit;font-size:18px;font-weight:600;padding:10px 0;border:0;border-bottom:2px solid transparent;background:none;color:#7a7a7a;cursor:pointer}#case-tabs button[aria-selected="true"]{color:#292a2b;border-bottom-color:#292a2b}#case-tabs button:focus-visible{outline:2px solid #537780;outline-offset:4px}

/* Header proportions follow the supplied reference. */
header{justify-content:flex-start;gap:clamp(32px,6.3vw,116px);padding-top:20px;padding-bottom:20px}
nav{flex:1;min-width:0;flex-wrap:wrap;gap:10px clamp(24px,3.2vw,56px);transform:translateY(8px)}
nav a{font-size:clamp(18px,1.35vw,24px);font-weight:700;line-height:1.5;white-space:nowrap;padding:12px 0}
@media(max-width:850px){header{gap:18px}nav{flex:auto;justify-content:flex-start;gap:8px 28px;transform:none}nav a{font-size:18px}}
@media(max-width:540px){nav{gap:6px 22px}nav a{font-size:16px;padding:10px 0}}

/* Selected section: a joined tab and a gently fading content boundary. */
header{border-bottom-color:transparent}
nav a{z-index:1;transition:color .18s ease}
nav a:hover{color:#356d78}
nav a[aria-current]{color:#245d69}
nav a[aria-current]:after{display:none}
nav a[aria-current]:before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  left:-14px;right:-14px;top:-4px;bottom:calc(-1 * var(--tab-drop,0px));
  border:1px solid #b9cdd0;border-bottom:0;border-radius:14px 14px 0 0;
  background:#edf2f2;
}
main{position:relative;isolation:isolate}
main.section-outline{background:linear-gradient(#edf2f2 0,rgba(237,242,242,.45) 180px,transparent 480px);border-radius:18px 18px 0 0}
main.section-outline:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  border:1px solid #b9cdd0;border-radius:18px 18px 0 0;
  -webkit-mask-image:linear-gradient(#000,rgba(0,0,0,.5) 240px,transparent 540px);
  mask-image:linear-gradient(#000,rgba(0,0,0,.5) 240px,transparent 540px);
}
main.joined-tab:after{
  content:"";position:absolute;left:var(--tab-left);width:var(--tab-width);
  top:0;height:2px;background:#edf2f2;pointer-events:none;
}
body:has(main:not(.joined-tab)) nav a[aria-current]:before{border-bottom:1px solid #b9cdd0;border-radius:12px}
.view:not([hidden]){animation:section-appear .18s ease-out}
@keyframes section-appear{from{opacity:.65}to{opacity:1}}
@media(prefers-reduced-motion:reduce){nav a{transition:none}.view:not([hidden]){animation:none}}

/* Home: text and social links on the left; the third region remains empty. */
.home-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:5%;padding:26px 0 34px;align-items:stretch}
.home-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:30px 0 65px}
#home-title{white-space:pre-wrap;overflow-wrap:anywhere;font-size:clamp(36px,4.4vw,72px);font-weight:800;line-height:1.35;letter-spacing:-1px;color:#111}
#home-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:clamp(16px,1.65vw,24px);line-height:1.55;color:#181818;margin:26px 0 0}
.home-social{display:flex;flex-wrap:wrap;gap:24px;margin-top:56px;padding-top:0}
.social-button{display:inline-flex;align-items:center;justify-content:center;min-width:136px;padding:10px 28px;color:#fff;font-size:22px;font-weight:700;line-height:1.3;transition:filter .15s}
.social-button:hover{filter:brightness(.94)}
.bilibili{background:#ed5586}.xiaohongshu{background:#ff2442}
.home-placeholder{width:100%;aspect-ratio:0.70;background:#fff;border-radius:clamp(28px,4vw,64px);box-shadow:0 0 9px 3px #0002;min-width:0}
@media(max-width:850px){.home-hero{gap:28px}.home-copy{padding:20px 0 30px}.home-social{gap:16px;margin-top:40px;padding-top:0}.social-button{min-width:115px;font-size:18px;padding:10px 20px}}
@media(max-width:640px){.home-hero{grid-template-columns:1fr}.home-copy{padding:12px 0 0}#home-title{font-size:clamp(32px,7vw,44px)}#home-description{font-size:17px}.home-social{margin-top:32px;padding-top:0}.home-placeholder{max-width:420px;justify-self:center}}
@media(prefers-reduced-motion:reduce){.social-button{transition:none}}

#home-model{position:relative;overflow:hidden;background:linear-gradient(#fafbfc,#eceff1)}#home-model canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab}#home-model canvas:active{cursor:grabbing}.model-status{position:absolute;top:45%;left:8%;right:8%;text-align:center;font-size:14px}.model-tools{position:absolute;bottom:22px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#667078;font-size:12px;pointer-events:none}.model-tools button{pointer-events:auto;border:1px solid #ccd2d6;background:#ffffffe0;padding:7px 10px;border-radius:6px;cursor:pointer;color:inherit}

/* GH component browser; intentionally separate from folder galleries. */
#components.view{padding-top:12px}
.gh-browser{border:1px solid #bcbfbd;background:#f0f0ee;border-radius:5px;overflow:hidden}
.gh-tabs{display:flex;overflow-x:auto;background:#e5e6e4;border-bottom:0;padding:6px 8px 0;gap:2px}
.gh-tabs button{flex:0 0 auto;border:1px solid transparent;border-bottom:0;border-radius:6px 6px 0 0;background:transparent;padding:10px 14px;color:#626b6e;cursor:pointer;font-size:15px}
.gh-tabs button[aria-selected="true"]{background:#fafbf9;border-color:#aeb2af;color:#242a2c;font-weight:700}
#gh-panel{padding:14px;min-height:126px;border:1px solid #bcbfbd;border-top:0;border-radius:0 0 4px 4px;background:#fafbf9}
#gh-freeform,#gh-analysis{max-width:620px;border:1px solid #bcbfbd;background:#fafbf9}
#gh-freeform summary,#gh-analysis summary{background:#333735;color:#fff;padding:7px 12px;font-size:14px;cursor:pointer}
.gh-component-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);padding:8px;gap:6px}
.gh-component-grid button{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px;border:1px solid transparent;border-radius:3px;background:transparent;text-align:left;color:#252928;cursor:pointer;font-size:15px}
.gh-component-grid button:hover{background:#edf2f3}
.gh-component-grid button[aria-pressed="true"]{background:#dcebf0;border-color:#6394a1}
.gh-pending{margin:15px;color:#777;font-size:14px}
#gh-selection{min-height:28px;margin:0;padding:10px 22px 16px;font-size:15px;color:#245d69}
@media(max-width:540px){.gh-component-grid{grid-template-columns:1fr}.gh-tabs button{padding:9px 11px}}

#gh-freeform,#gh-analysis{background:#eee}.gh-icon-toolbar{display:grid;grid-template-columns:48px;grid-template-rows:44px 44px;padding:4px 8px;background:linear-gradient(#eee,#ddd)}.gh-icon-toolbar button{display:grid;place-items:center;padding:3px;border:1px solid transparent;border-radius:3px;background:transparent;cursor:pointer}.gh-icon-toolbar button:hover{background:#f8f8f8}.gh-icon-toolbar button[aria-pressed="true"]{background:#dcebf0;border-color:#6394a1}.gh-icon-toolbar img,.gh-component-grid img{object-fit:contain;flex-shrink:0;mix-blend-mode:multiply}#gh-freeform summary,#gh-analysis summary{text-align:center;background:linear-gradient(#414141,#1c1c1c)}

/* Group caption stays below the toolbar; its menu opens underneath. */
#gh-freeform details,#gh-analysis details{position:relative}#gh-freeform .gh-component-grid,#gh-analysis .gh-component-grid{position:absolute;top:100%;left:-1px;right:-1px;z-index:5;background:#eee;border:1px solid #bcbfbd;box-shadow:0 5px 10px #0002}#gh-freeform img,#gh-analysis img{mix-blend-mode:normal}

/* Surface group structure; all captions sit below equal-height toolbars. */
.gh-browser{overflow:visible}
#gh-surface-groups{display:block;width:100%;min-width:0}
.gh-tab-groups{display:flex;flex-wrap:nowrap;width:100%;max-width:100%;min-width:0;box-sizing:border-box;gap:8px;align-items:start}
.gh-surface-group{flex:1 1 0;min-width:0;border:1px solid #bcbfbd;background:#eee;box-sizing:border-box}
.gh-surface-group summary{background:linear-gradient(#414141,#1c1c1c);color:#fff;text-align:center;padding:3px 8px;min-height:22px;box-sizing:border-box;font-size:12px;line-height:14px;cursor:pointer}
.gh-group-placeholder{margin:0;padding:16px 10px;font-size:13px;color:#777;text-align:center}
#gh-freeform .gh-component-grid,#gh-analysis .gh-component-grid{right:auto;width:min(520px,calc(100vw - 140px));box-sizing:border-box}
@media(max-width:850px){#gh-freeform .gh-component-grid,#gh-analysis .gh-component-grid{position:static;width:auto;grid-template-columns:1fr}.gh-surface-group{max-width:calc(100vw - 58px);box-sizing:border-box}}
.gh-tab-groups .gh-icon-toolbar{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:29px;grid-template-rows:34px 34px;justify-content:start;min-width:0;overflow:hidden;padding:3px 5px}
.gh-tab-groups .gh-icon-toolbar button{padding:2px}
.gh-tab-groups .gh-icon-toolbar img{width:22px;height:22px}
.gh-tab-groups .gh-surface-group details{position:relative}
.gh-tab-groups .gh-surface-group details[open]{z-index:10}
.gh-tab-groups .gh-component-grid{position:absolute;top:100%;left:0;z-index:10;display:grid;grid-template-columns:max-content max-content;gap:0 12px;width:max-content;max-width:calc(100vw - 32px);max-height:none;overflow:visible;padding:4px 8px 4px 4px;background:#eee;border:1px solid #bcbfbd;box-shadow:0 5px 10px #0002;box-sizing:border-box}
.gh-tab-groups .gh-component-grid button{justify-content:flex-start;gap:5px;min-height:34px;padding:5px 5px;font-size:11px;white-space:nowrap}
.gh-tab-groups .gh-component-grid button img{width:20px;height:20px}
.gh-tab-groups .gh-component-grid button span{white-space:nowrap}
/* Every separator group shares the menu's columns, so the right column never shifts. */
.gh-tab-groups .gh-menu-block{display:grid;grid-column:1 / -1;width:auto;grid-template-columns:subgrid;grid-auto-flow:row;justify-items:start;padding:5px;gap:2px 12px}
.gh-tab-groups .gh-menu-block button{width:max-content;justify-self:start;text-align:left}
@media(max-width:600px){.gh-tab-groups .gh-component-grid{max-width:calc(100vw - 24px)}}

/* Whole columns, two fixed rows; resize events only, no animation loop. */
#gh-freeform .gh-icon-toolbar,#gh-analysis .gh-icon-toolbar{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:44px;grid-template-rows:44px 44px;justify-content:start;overflow:hidden}
#gh-freeform .gh-component-grid,#gh-analysis .gh-component-grid{display:block;max-height:min(60vh,540px);overflow-y:auto;padding:0}
.gh-menu-block{display:grid;grid-template-columns:max-content max-content;padding:7px;gap:3px 6px}
.gh-tab-groups[data-gh-tab="Param"]>.gh-surface-group:nth-child(4) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Math"]>.gh-surface-group:is(:nth-child(1),:nth-child(2),:nth-child(4),:nth-child(5),:nth-child(6)) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Mesh"]>.gh-surface-group:nth-child(2) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Intersect"]>.gh-surface-group:is(:nth-child(2),:nth-child(3)) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Transform"]>.gh-surface-group:is(:nth-child(1),:nth-child(2),:nth-child(3),:nth-child(5)) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Display"]>.gh-surface-group:is(:nth-child(1),:nth-child(3),:nth-child(4),:nth-child(5)) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Set"]>.gh-surface-group:nth-child(2) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Set"]>.gh-surface-group:nth-child(3) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Set"]>.gh-surface-group:nth-child(4) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Vector"]>.gh-surface-group:nth-child(1) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Vector"]>.gh-surface-group:nth-child(2) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Vector"]>.gh-surface-group:nth-child(5) .gh-component-grid,
.gh-tab-groups[data-gh-tab="Curve"]>.gh-surface-group:nth-child(2) .gh-component-grid{grid-template-columns:max-content}
.gh-menu-block+.gh-menu-block{border-top:1px solid #d5d5d5}
@media(max-width:850px){.gh-menu-block{grid-template-columns:max-content}.gh-tab-groups .gh-component-grid{grid-template-columns:max-content;max-width:calc(100vw - 32px)}.gh-menu-gap{display:none}}

#gh-example[hidden]{display:none}
#gh-example{margin:0;padding:20px;border-top:1px solid #d5d5d5;background:#fafbf9}
.gh-example-images{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px}
.gh-battery-pane,.gh-effect-pane{box-sizing:border-box;min-width:0;height:clamp(300px,55vh,560px);overflow:hidden;border:1px solid #cfd3d5;border-radius:4px;background:#fff}
.gh-effect-pane{position:relative;width:auto;aspect-ratio:3 / 4}
.gh-image-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;padding:24px;text-align:center;color:#758087;font-size:15px;line-height:1.9;pointer-events:none}
#gh-battery-stage{position:relative;width:100%;height:100%;overflow:hidden;background:#f7f8f9;cursor:grab;touch-action:none}
#gh-battery-stage.dragging{cursor:grabbing}
#gh-example-battery{position:absolute;top:50%;left:50%;max-width:none;max-height:none;user-select:none;transform-origin:center center;will-change:transform}
#gh-example .gh-zoom-controls{position:absolute;right:8px;bottom:8px;left:8px;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:4px;background:#ffffffd9;font-size:12px}
.gh-zoom-controls button{min-width:32px;height:28px;border:1px solid #c6cccf;border-radius:3px;background:#fff;color:#26343a;cursor:pointer}
.gh-zoom-controls button:hover{background:#e6f4fb}
#gh-battery-zoom-level{min-width:42px;text-align:center;color:#43545b}
.gh-zoom-hint{margin-left:auto;color:#647178}
#gh-effect-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
#gh-example-effect{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
#gh-example img[hidden]{display:none}
#gh-example a,#gh-example-error{display:block;margin:12px 0 0;color:#245d69}
#gh-example a{text-decoration:underline}
#gh-example-gh[aria-disabled="true"]{color:#a0a5a8;text-decoration:none;cursor:not-allowed}
#gh-example-error{font-size:14px;color:#a62c24}
#gh-example.single-image .gh-example-images{grid-template-columns:minmax(0,1fr)}
#gh-effect-dialog{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100vh;max-width:none;max-height:none;padding:56px 24px 24px;border:0;background:#101214eF}
#gh-effect-dialog[open]{display:grid;place-items:center}
#gh-effect-large{max-width:100%;max-height:100%;object-fit:contain}
#gh-effect-close{position:absolute;top:12px;right:16px;width:40px;height:40px;border:1px solid #777;border-radius:50%;background:#24272a;color:#fff;font-size:26px;cursor:pointer}
#gh-effect-dialog::backdrop{background:#101214eF}
@media(max-width:700px){#gh-example{padding:12px}.gh-example-images{grid-template-columns:minmax(0,1fr);gap:12px}.gh-battery-pane{height:300px}.gh-effect-pane{width:225px;height:300px;justify-self:center}}

/* Effect image modal: right-side viewing area with wheel zoom and drag panning. */
#gh-effect-dialog{inset:8vh 2vw auto auto;width:clamp(320px,34vw,660px);height:78vh;max-width:96vw;max-height:88vh;margin:0;padding:54px 12px 12px;border:0;border-radius:5px;background:#9da3a8}
#gh-effect-dialog[open]{display:block}
#gh-effect-stage{position:absolute;inset:54px 12px 12px;overflow:hidden;touch-action:none;cursor:grab}
#gh-effect-stage.dragging{cursor:grabbing}
#gh-effect-large{position:absolute;top:50%;left:50%;max-width:none;max-height:none;object-fit:contain;user-select:none;will-change:transform}
#gh-effect-close{z-index:1}
#gh-effect-dialog::backdrop{background:transparent;backdrop-filter:none}
@media(max-width:700px){#gh-effect-dialog{inset:10vh 12px auto auto;width:calc(100vw - 24px);height:78vh;max-width:none;max-height:82vh;padding:54px 12px 12px}}
body:has(#gh-effect-dialog[open]){overflow:auto}

/* Case images open in a larger viewer; single-click zoom and double-click flips. */
dialog#detail{width:min(1100px,calc(100% - 32px));max-width:none}
#detail-image{display:grid;place-items:center;width:100%;max-height:66vh;min-height:220px;overflow:hidden;background:#e1e2df;cursor:zoom-in}
#detail-image .case-image{display:block;width:auto;height:auto;max-width:100%;max-height:66vh;aspect-ratio:auto;object-fit:contain;transform:scale(var(--detail-zoom,1));transform-origin:center;transition:transform .08s linear}
.flip-hint{font-size:0}
.flip-hint:after{content:"单击放大 · 双击看牌背";font-size:16px}
@media(prefers-reduced-motion:reduce){#detail-image .case-image{transition:none}}
#case-image-dialog{position:fixed;inset:0;width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:radial-gradient(ellipse at center,transparent 48%,rgba(0,0,0,.38) 100%)}
#case-image-dialog[open]{display:grid;place-items:center}
#case-image-dialog::backdrop{background:transparent;backdrop-filter:none}
#case-image-stage{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:grab}
#case-image-stage.dragging{cursor:grabbing}
#case-image-large{box-shadow:0 0 0 1px rgba(0,0,0,.65),0 0 12px 3px rgba(0,0,0,.38),0 10px 34px 8px rgba(0,0,0,.24);position:absolute;top:50%;left:50%;width:auto;height:auto;max-width:90vw;max-height:90vh;object-fit:contain;user-select:none;pointer-events:none;transform:translate(calc(-50% + var(--pan-x,0px)),calc(-50% + var(--pan-y,0px))) scale(var(--zoom,1));transform-origin:center;will-change:transform}

/* Compact case titles above difficulty metadata. */
.card-title{margin-bottom:3.5px}
.card-title h3{font-size:10px}
.difficulty{margin-top:3.5px}
@media(max-width:540px){.card-title h3{font-size:14.25px}}
.home-industries{width:100%;max-width:1360px;margin:0 auto;padding:8px 0 28px;display:grid;grid-template-columns:minmax(420px,.44fr) minmax(0,.56fr);column-gap:clamp(28px,3vw,48px);align-items:center}
.home-industries>.home-divider{grid-column:1/-1}
.home-industries>.community-intro{width:100%;max-width:none;margin:0;align-self:center;text-align:left;padding:0 0 30px}
#industry-title{margin:0;color:#111;font-size:42px;font-weight:800;line-height:1.25;letter-spacing:-.035em;white-space:nowrap}
#industry-description{max-width:none;margin:30px 0 0;color:#414548;font-size:17px;font-weight:400;line-height:1.5;white-space:pre-line;text-align:justify}
#industry-diagram{width:100%;max-width:920px;min-width:0;margin:0 auto;justify-self:center;isolation:isolate}
#industry-diagram svg{display:block;width:100%;height:auto;overflow:visible}
.industry-label{font-size:17px;font-weight:750;fill:white;stroke:rgba(0,0,0,.62);stroke-width:3;paint-order:stroke fill;stroke-linejoin:round}
.industry-center-main{fill:white;font-size:43px;font-weight:800}
.industry-center-sub{fill:white;font-size:17px;font-weight:700}
.industry-line-reveal{stroke-dasharray:1;stroke-dashoffset:0}
.industry-bubble-reveal,.industry-bubble{transform-box:fill-box;transform-origin:center}
.industry-pending .industry-line-reveal{stroke-dashoffset:1}
.industry-pending .industry-connection-dot{opacity:0}
.industry-pending .industry-bubble-reveal{opacity:0;transform:translateY(10px) scale(.78)}
.industry-revealed .industry-line-reveal{stroke-dashoffset:0;transition:stroke-dashoffset .7s cubic-bezier(.22,1,.36,1) var(--line-delay)}
.industry-revealed .industry-connection-dot{opacity:1;transition:opacity .3s ease var(--line-delay)}
.industry-revealed .industry-bubble-reveal{opacity:1;transform:translateY(0) scale(1);transition:opacity .45s ease var(--bubble-delay),transform .65s cubic-bezier(.22,1,.36,1) var(--bubble-delay)}
@media(hover:hover) and (pointer:fine){.industry-bubble{transition:transform .25s ease}.industry-bubble:hover{transform:scale(1.045)}}
@media(prefers-reduced-motion:reduce){
  .industry-pending .industry-line-reveal{stroke-dashoffset:0}
  .industry-pending .industry-connection-dot,.industry-pending .industry-bubble-reveal{opacity:1;transform:none}
  .industry-revealed .industry-line-reveal,.industry-revealed .industry-connection-dot,.industry-revealed .industry-bubble-reveal,.industry-bubble{transition:none}
  .industry-bubble:hover{transform:none}
}
@media(max-width:850px){.home-industries{width:100%;grid-template-columns:1fr;gap:0}.home-industries>.community-intro{padding:0;margin:0 0 24px}#industry-description{margin-top:16px}#industry-diagram{max-width:760px}}
.header-actions a{position:relative;padding:10px 0 16px;color:#303132;font-weight:650}
.header-actions a[aria-current="page"]{color:#080808;font-weight:800}
.header-actions a[aria-current="page"]:after{content:"";position:absolute;left:0;bottom:3px;width:100%;height:3px;background:#111}

/* Home page: a quiet branded divider and a continuously moving lecture gallery. */
.home-community{position:relative;margin:4px 0 14px;padding:18px 0 44px;overflow:hidden}
.home-divider{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;margin:0 auto 28px}
.home-divider span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#c9d0d2 28%,#c9d0d2 72%,transparent)}
.home-divider i{position:relative;width:12px;height:12px;border:1px solid #2587a9;transform:rotate(45deg);flex:none}
.home-divider i:after{position:absolute;content:"";width:3px;height:3px;inset:3.5px;border-radius:50%;background:#2587a9}
.community-intro{max-width:1040px;margin:0 auto 28px;text-align:center}
#community-title{margin:0;color:#111;font-size:42px;font-weight:800;line-height:1.25;letter-spacing:-.035em}
#community-description{max-width:1060px;margin:30px auto 0;color:#414548;font-size:17px;font-weight:400;line-height:1.5;letter-spacing:normal;text-align:left}
.lecture-carousel{position:relative}
#lecture-toggle{display:block;margin:0 2px 10px auto;padding:4px 9px;border:1px solid #e1e5e6;border-radius:2px;background:#fff;color:#6b7478;font-size:11px;line-height:1.3;cursor:pointer;transition:color .18s,border-color .18s}
#lecture-toggle:hover:not(:disabled){border-color:#2587a9;color:#176783}
#lecture-toggle:disabled{cursor:default;opacity:.65}
.lecture-viewport{width:calc(100% + 2px);margin-inline:-1px;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 2.5%,#000 97.5%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 2.5%,#000 97.5%,transparent)}
.lecture-track{display:flex;width:max-content;animation:lecture-marquee 52s linear infinite;will-change:transform}
.lecture-track.is-paused,.lecture-viewport:hover .lecture-track{animation-play-state:paused}
.lecture-set{display:flex;flex:none;gap:12px;padding-right:12px}
.lecture-card{flex:0 0 clamp(220px,16vw,300px);margin:0;background:#fff}
.lecture-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#f0f1f1}
.lecture-card figcaption{padding:10px 3px 0;color:#17191a;font-size:15px;font-weight:650;line-height:1.35;letter-spacing:.01em}
@keyframes lecture-marquee{to{transform:translateX(-50%)}}
@media(max-width:850px){.home-community{padding-bottom:34px}.home-divider{margin-bottom:22px}.community-intro{margin-bottom:23px}.lecture-card{flex-basis:clamp(230px,35vw,300px)}}
@media(max-width:540px){.home-community{padding-top:8px;padding-bottom:26px}.home-divider{gap:10px;margin-bottom:20px}.home-divider i{width:10px;height:10px}.home-divider i:after{inset:2.5px}.community-intro{margin-bottom:19px}#community-title{font-size:24px}#community-description{margin-top:11px;font-size:14px;line-height:1.75}.lecture-card{flex-basis:78vw}.lecture-set{gap:10px;padding-right:10px}#lecture-toggle{font-size:10px}}
@media(prefers-reduced-motion:reduce){.lecture-track{animation:none!important;transform:none!important}.lecture-viewport{overflow-x:auto;mask-image:none;-webkit-mask-image:none}}

/* Homepage frame and hero, composed from the numbered source folders. */
body{background:#fff;color:#101010}
.site-frame{width:min(100% - 48px,1720px);min-height:100vh;margin:0 auto;border:1px solid #d7d7d7;border-top:0;display:flex;flex-direction:column;background:#fff}
.site-frame>header{width:100%;max-width:none;min-height:82px;margin:0;padding:12px clamp(18px,3.4vw,58px) 0;gap:clamp(18px,3vw,52px);border-bottom:0;align-items:center}
.brand{font-size:20px;gap:12px}
.brand small{font-size:9px;letter-spacing:2px}
.brand-logo{width:62px;height:62px}
.site-frame nav{flex:1;min-width:0;justify-content:center;gap:clamp(8px,1.3vw,23px);transform:none;flex-wrap:nowrap}
.site-frame nav a{font-size:clamp(14px,1.3vw,22px);font-weight:700;color:#121212;padding:14px 0;line-height:1.35}
.site-frame nav a:hover{color:#444}
.site-frame nav a[aria-current]{color:#111}
.site-frame nav a[aria-current]:before{content:none}
.site-frame nav a[aria-current]{color:#080808;font-weight:800}
.site-frame nav a[aria-current]:after{display:block;position:absolute;content:"";width:100%;height:3px;left:0;right:auto;bottom:3px;border-radius:0;background:#111;transform:none}
.header-actions{display:flex;align-items:center;gap:clamp(16px,2.5vw,42px);white-space:nowrap;font-size:clamp(14px,1.2vw,20px);font-weight:700}
.header-actions a:hover{text-decoration:underline;text-underline-offset:5px}
.member-banner{display:flex;align-items:center;justify-content:center;position:relative;min-height:24px;padding:0 54px;background:#111;color:#fff;font-size:16px;line-height:1;letter-spacing:.03em}
.member-banner>span:first-child{padding:0 24px;background:#050505}
.banner-arrow{position:absolute;right:clamp(20px,4vw,64px);opacity:0;transform:translate(-4px,4px);transition:opacity .18s ease,transform .18s ease}
.member-banner:hover .banner-arrow{opacity:1;transform:none}
.site-frame>main{flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:0 clamp(24px,4vw,68px);position:relative;isolation:auto;background:none}
.site-frame>main.section-outline{background:none;border-radius:0}
.site-frame>main.section-outline:before,.site-frame>main.joined-tab:after{display:none}
.site-frame>.view{padding-top:0;padding-bottom:0}
#home.view{padding-top:0;padding-bottom:0}
.home-hero{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);align-items:center;gap:clamp(24px,1.6vw,30px);padding:34px 0;min-height:min(610px,calc(100vh - 230px));transform:translateX(clamp(0px,1.6vw,26px))}
.home-copy{padding:20px 0 14px;align-self:center}
#home-title{position:relative;top:-6px;font-size:clamp(46px,4.2vw,64px);font-weight:800;letter-spacing:-.045em;line-height:1.1;color:#080808}
#home-description{max-width:620px;margin:23px 0 0;font-size:17px;font-weight:400;line-height:1.5;letter-spacing:normal;color:#414548;white-space:normal;text-align:left}
.home-stats{display:flex;flex-wrap:wrap;gap:clamp(18px,3vw,44px);margin-top:34px;font-size:clamp(15px,1.25vw,19px);line-height:1.4;color:#111}
.home-stat-number{display:inline-grid;font-weight:700;font-variant-numeric:tabular-nums}
.home-stat-number>span{grid-area:1/1}
.home-stat-size{visibility:hidden}
.home-social{display:flex;align-items:center;gap:clamp(14px,1.6vw,26px);margin-top:34px;position:relative;z-index:1}
.social-button{display:grid;place-items:center;min-width:0;width:57px;height:57px;padding:0;border:0;border-radius:13.5px;background:transparent;cursor:pointer;transition:transform .18s ease,filter .18s ease}
.social-button img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.social-button:hover{transform:translateY(-3px);filter:brightness(.96)}
.home-visual{position:relative;min-width:0;width:100%;max-width:560px;align-self:center;margin:0 0 12px}
.home-placeholder{position:relative;width:min(100%,560px);height:clamp(340px,33vw,460px);aspect-ratio:auto;overflow:hidden;border:1px solid #dedede;border-radius:2px;background:#fff;box-shadow:0 3px 16px #0003}
#home-model{background:#fff}
#home-model canvas{touch-action:none}
.model-status{z-index:1;color:#777}
.model-tools{z-index:2;bottom:12px;left:14px;right:14px;opacity:0;transition:opacity .2s ease}
.home-placeholder:hover .model-tools,.home-placeholder:focus-within .model-tools{opacity:1}
.model-tools button{border-radius:2px;background:#fff}
.model-controls{position:absolute;right:-3%;bottom:-12%;z-index:2;display:block;width:min(52%,290px);height:auto;filter:drop-shadow(0 2px 7px #0004);pointer-events:none}
.site-frame>footer{display:grid;grid-template-columns:minmax(100px,1fr) auto minmax(100px,1fr);align-items:center;gap:20px;width:100%;max-width:none;margin:auto 0 0;padding:0 clamp(24px,4vw,68px) 18px;border:0;color:#a4a4a4}
.trust-logos{position:relative;display:block;width:48px;height:44px;min-height:0}
.trust-logos{transform:translateY(-36px)}
.trust-logos img{position:absolute;display:block;width:27px;height:27px;object-fit:contain}
.trust-logos img:first-child{top:0;left:0;z-index:1}
.trust-logos img:last-child{right:0;bottom:0;z-index:2}
.trust-caption{width:clamp(240px,40vw,760px);max-width:100%;height:1px;background:#d5d5d5;min-width:0}
.trust-caption span{width:clamp(24px,7vw,110px);height:1px;background:#d5d5d5}
.trust-caption p{margin:0;font-size:9px;line-height:1.4;letter-spacing:.28em;white-space:nowrap}
.footer-mark{justify-self:end;font-size:11px;letter-spacing:.16em;white-space:nowrap}
.wechat-popover{position:fixed;z-index:20;left:0;top:0;right:auto;bottom:auto;width:min(228px,calc(100vw - 24px));padding:20px 18px 14px;transform:none;border:1px solid #e2e2e2;border-radius:4px;background:#fff;box-shadow:0 8px 30px #0002;text-align:center;animation:qr-appear .18s ease-out}
.wechat-popover img{display:block;width:100%;height:auto}
.wechat-popover p{margin:10px 0 0;font-size:13px;color:#555}
#wechat-close{position:absolute;top:4px;right:7px;width:28px;height:28px;border:0;background:transparent;font-size:24px;line-height:1;color:#777;cursor:pointer}
@keyframes qr-appear{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:none}}
@media(max-width:1120px){
  .site-frame{width:min(100% - 28px,1720px)}
  .site-frame>header{gap:18px;padding-inline:22px}
  .brand-logo{width:54px;height:54px}
  .brand{font-size:17px}
  .site-frame nav{gap:clamp(6px,.85vw,11px)}
  .header-actions{gap:16px}
  .home-hero{gap:34px}
  .home-hero{transform:translateX(clamp(0px,1.2vw,14px))}
  .home-stats{margin-top:38px}
  .home-social{margin-top:38px}
  .social-button{width:72px;height:72px}
}
@media(max-width:850px){
  .site-frame{width:calc(100% - 20px)}
  .site-frame>header{align-items:center;flex-direction:row;padding:14px 18px;gap:14px}
  .site-frame nav{flex:1;flex-wrap:wrap;justify-content:flex-start;gap:4px 9px}
  .site-frame nav a{font-size:15px;padding:9px 0}
  .site-frame nav a[aria-current]:after{width:100%;height:2px;bottom:3px}
  .header-actions{gap:12px;font-size:14px}
  .home-hero{min-height:0;padding:28px 0 76px;transform:none}
  .home-copy{padding:8px 0}
  #home-title{top:0;font-size:clamp(42px,6vw,64px)}
  #home-description{margin-top:22px;font-size:15px}
  .home-stats{margin-top:30px;gap:18px 28px;font-size:16px}
  .home-social{margin-top:30px;gap:14px}
  .social-button{width:58px;height:58px;border-radius:14px}
  .home-placeholder{height:clamp(300px,48vw,430px)}
  .model-controls{right:-5%;bottom:-12%;width:min(70%,350px)}
  .site-frame>footer{grid-template-columns:auto 1fr;gap:10px;padding:0 24px 14px}
  .trust-logos{transform:none}
  .trust-caption{justify-self:end}
  .trust-caption span{width:clamp(16px,3vw,36px)}
  .footer-mark{display:none}
}
@media(max-width:640px){
  .site-frame{width:calc(100% - 12px)}
  .site-frame>header{flex-wrap:wrap;gap:12px;padding:12px 14px}
  .brand{font-size:16px}
  .brand-logo{width:46px;height:46px}
  .site-frame nav{order:3;flex:0 0 100%;gap:4px 8.5px}
  .site-frame nav a{font-size:14px}
  .header-actions{margin-left:auto;font-size:13px}
  .member-banner{min-height:21px;font-size:14px}
  .site-frame>main{padding:0 20px}
  .home-hero{grid-template-columns:1fr;gap:24px;padding:24px 0 36px}
  .home-copy{padding:0}
  #home-title{font-size:clamp(40px,11vw,58px);line-height:1.16}
  #home-description{font-size:15px;line-height:1.5;margin-top:18px}
  .home-stats{margin-top:24px;gap:8px 24px;font-size:15px}
  .home-social{margin-top:24px;gap:14px}
  .social-button{width:54px;height:54px}
  .home-visual{margin:0 0 40px}
  .home-placeholder{height:clamp(300px,95vw,440px)}
  .model-controls{right:-3%;bottom:-14%;width:72%}
  .model-tools{opacity:1;bottom:8px;font-size:10px}
  .model-tools button{padding:5px 7px;font-size:11px}
  .site-frame>footer{grid-template-columns:1fr;justify-items:center;padding:0 14px 13px;gap:7px}
  .trust-logos{min-height:28px;gap:8px}
  .trust-logos img{width:25px;height:25px}
  .trust-caption{justify-self:center;gap:8px}
  .trust-caption span{width:clamp(14px,8vw,42px)}
  .trust-caption p{font-size:7px;letter-spacing:.17em}
  .wechat-popover{width:min(220px,calc(100vw - 24px))}
}
@media(max-width:380px){.header-actions{font-size:12px;gap:8px}.site-frame nav{gap:4px 12px}.site-frame nav a{font-size:13px}.trust-caption p{letter-spacing:.12em}}
@media(prefers-reduced-motion:reduce){.banner-arrow,.social-button,.model-tools,.wechat-popover{transition:none;animation:none}}
#cases .gallery{margin-left:-1.5%;margin-right:-1.5%}
.card-title h3{font-size:15px}
@media(max-width:540px){.card-title h3{font-size:14.25px}}
/* Global community: map artwork and independent circular photo slots. */
.home-global{padding:24px 0 68px;margin:0 auto}
.global-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:clamp(24px,3vw,48px);align-items:center;padding:24px 0 12px}
.global-map{min-width:0;width:100%}
.global-map svg{display:block;width:100%;height:auto;overflow:visible}
.global-copy{padding:0 0 32px;min-width:0}
#global-title{margin:0;color:#111;font-size:42px;font-weight:800;letter-spacing:-.045em;line-height:1.25}
#global-description{margin:30px 0 0;color:#222;font-size:17px;line-height:1.5;font-weight:400;text-align:justify;white-space:pre-line}
.global-place-label{font-family:inherit;font-size:20px;font-weight:750;fill:#151515;stroke:#fff;stroke-width:3px;stroke-linejoin:round;paint-order:stroke fill}
.global-photo-ring{fill:#fff;stroke:#d9489b;stroke-width:3}
.global-photo-reveal,.global-photo{transform-box:fill-box;transform-origin:center}
.global-map-pending .global-photo-reveal{opacity:0;transform:translateY(18px) scale(.84)}
.global-map-revealed .global-photo-reveal{opacity:1;transform:translateY(0) scale(1);transition:opacity .55s ease-out var(--photo-delay),transform .75s cubic-bezier(.22,1,.36,1) var(--photo-delay)}
@media(hover:hover) and (pointer:fine){
  .global-photo{transition:transform .25s ease-out}
  .global-photo:hover{transform:translateY(-4px) scale(1.06)}
  .global-photo:hover .global-photo-ring{stroke:#bc287e;stroke-width:4}
}
@media(prefers-reduced-motion:reduce){
  .global-map-pending .global-photo-reveal{opacity:1;transform:none}
  .global-map-revealed .global-photo-reveal,.global-photo{transition:none}
  .global-photo:hover{transform:none}
}
@media(max-width:850px){.global-layout{grid-template-columns:1fr;gap:22px;padding-top:8px}.global-copy{grid-row:1;padding:0}.global-map{max-width:800px;margin:auto}#global-title{font-size:30px}#global-description{font-size:15px;margin-top:18px}.home-global{padding-bottom:44px}}
@media(max-width:540px){.home-global{padding-top:14px;padding-bottom:30px}.global-layout{gap:20px}#global-title{font-size:26px}#global-description{font-size:13px}.global-map{width:calc(100% + 20px);margin-left:-10px}}
/* Keep the three home section text pairs consistent on smaller screens too. */
#industry-title,#global-title{padding-left:34px}
@media(max-width:850px){#industry-title,#global-title{padding-left:30px}}
@media(max-width:540px){#industry-title,#global-title{padding-left:26px}}
#community-description,#industry-description,#global-description{letter-spacing:normal}
#community-description,#industry-description,#global-description{white-space:normal}
.home-paragraph{display:block;text-indent:2em;line-height:inherit}
#home-description .home-paragraph{text-indent:0}
.card-title h3{min-width:0}
.case-download{flex:none;display:inline-flex;align-items:center;padding:4px 7px;border:1px solid #d7dde0;border-radius:3px;background:#fff;color:#4b616b;font-size:12px;font-weight:400;line-height:1.4;white-space:nowrap;cursor:pointer}
.case-download:hover{color:#176783;border-color:#2587a9}
.case-download:disabled{color:#a0a5a8;border-color:#e6e8e9;cursor:default}
.case-download.member-download{color:#8b7856;border-color:#dfd3bd;font-weight:700;cursor:pointer}
.case-download.member-download:hover,.case-download.member-download[aria-expanded="true"]{color:#705222;border-color:#bca06a;background:#faf6ed}
@media(max-width:540px){.card-title{gap:5px;flex-wrap:wrap}.case-download{font-size:11px;padding:3px 6px}}
@media(max-width:850px){#community-title,#industry-title{font-size:30px}#community-description,#industry-description{font-size:15px;line-height:1.5;margin-top:18px}}
@media(max-width:540px){#community-title,#industry-title{font-size:26px}#home-description,#community-description,#industry-description{font-size:13px;line-height:1.5;margin-top:18px}}

/* Highlight the source model while its enlarged image is open. */
.flip-card.is-viewing{position:relative;outline:2px solid #2089a8;outline-offset:3px;box-shadow:0 0 0 6px rgba(32,137,168,.10)}
.flip-card.is-viewing::after{content:attr(data-viewing-label);position:absolute;top:8px;left:8px;z-index:2;padding:5px 9px;border-radius:4px;background:#176c84;color:#fff;font-size:11px;line-height:1.4;letter-spacing:.3px;box-shadow:0 2px 8px rgba(0,0,0,.16);pointer-events:none}
.flip-card.is-viewing .flip-hint{display:none}

/* Keep the enlarged image and its model name in a shared rounded frame. */
#case-image-frame{position:absolute;top:50%;left:50%;width:max-content;max-width:90vw;border-radius:8px;outline:2px solid #2089a8;outline-offset:3px;box-shadow:0 0 0 6px rgba(32,137,168,.10),0 0 12px 3px rgba(0,0,0,.38),0 10px 34px 8px rgba(0,0,0,.24);transform:translate(calc(-50% + var(--pan-x,0px)),calc(-50% + var(--pan-y,0px))) scale(var(--zoom,1));transform-origin:center;will-change:transform;pointer-events:none}
#case-image-frame #case-image-large{position:static;display:block;max-width:90vw;max-height:90vh;border-radius:8px;transform:none;box-shadow:none;will-change:auto}
#case-image-caption{position:absolute;top:10px;left:10px;max-width:calc(100% - 20px);padding:6px 11px;border-radius:4px;background:#176c84;color:#fff;font-size:13px;line-height:1.4;box-shadow:0 2px 8px rgba(0,0,0,.16);overflow-wrap:anywhere;pointer-events:none}
.flip-card.is-viewing{border-radius:8px}

/* Opaque GH-style canvas under transparent battery images. */
.flip-back,#case-image-frame.is-battery{background:#ededed}

/* Show battery diagrams at native resolution; pan and wheel handle large canvases. */
#case-image-frame.is-battery{max-width:none}
#case-image-frame.is-battery #case-image-large{max-width:none;max-height:none}

/* Keep the model label readable at every diagram zoom level. */
#case-image-caption{top:var(--caption-offset,10px);left:var(--caption-offset,10px);font-size:14px;transform:scale(var(--caption-scale,1));transform-origin:top left;max-width:none;white-space:nowrap}

/* Effect images open as a compact centered preview. */
#case-image-frame:not(.is-battery) #case-image-large{max-width:44vw;max-height:54vh}
@media(max-width:850px){#case-image-frame:not(.is-battery) #case-image-large{max-width:86vw;max-height:54vh}}
.member-badge{position:absolute;right:9px;top:9px;z-index:3;padding:2px 4px;border:1px solid #dec38b80;border-radius:5px;background:linear-gradient(135deg,#29333bf2,#151c24f2);color:#f2d69c;font-size:11px;font-weight:650;line-height:1.4;letter-spacing:.04em;box-shadow:0 2px 8px #0002;pointer-events:none}
.member-locked{background:#d9dfe0;cursor:default}
.member-locked img{opacity:.58;pointer-events:none}
.member-lock{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:linear-gradient(135deg,#18202b36,#18202b75);color:#fff;text-shadow:0 1px 5px #0004;pointer-events:none}
.member-lock:before{content:'◇';display:grid;place-items:center;width:32px;height:32px;border:1px solid #f2d69cb3;border-radius:50%;color:#f2d69c;background:#202832d9;font-size:25px;line-height:1;box-shadow:0 3px 10px #0002}
.member-lock strong{font-size:17px;font-weight:650;letter-spacing:.12em;color:#fff0ce}
.member-lock small{font-size:10px;font-weight:400;letter-spacing:.025em;color:#fff}
@media(max-width:540px){.member-badge{right:6px;top:6px;padding:2px 4px;font-size:10px}.member-lock{gap:4px}.member-lock:before{width:25px;height:25px;font-size:20px}.member-lock strong{font-size:14px}.member-lock small{font-size:9px}}
