#practice { margin:0; color:#20313a; background:radial-gradient(ellipse at 94% 95%,#dce8ec 0,transparent 46%),linear-gradient(130deg,#eaf0f1,#f5f4f0 55%,#eaf0f1); font:14px/1.55 "Microsoft YaHei","Segoe UI",sans-serif }
#practice .skills-inner { max-width:980px; margin:auto; padding:28px 34px 35px }
#practice .skills-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:16px }
#practice h2 { font-size:26px; letter-spacing:-.05em; margin:0 }
#practice #skill-filters { display:flex; gap:5px; flex-wrap:wrap }
#practice #skill-filters button { font:inherit; font-size:13px; border:1px solid #d6dedf; background:#fafbf9; color:#4b5b62; padding:6px 11px; border-radius:6px; cursor:pointer }
#practice #skill-filters button[aria-pressed=true] { background:#dce9ed; color:#233f4c; border-color:#b5cbd2 }
#practice .grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px }
#practice article { display:flex; flex-direction:column; min-width:0; padding:18px 21px 12px; background:#fffffff2; border-radius:10px; border:1px solid #dce2e2; box-shadow:0 2px 5px #273c4506 }
#practice article[hidden] { display:none }
#practice .top, #practice .skill-work { display:flex; align-items:center; justify-content:space-between; gap:8px }
#practice .code { font:16px/1.1 'Segoe UI',sans-serif; color:#526a75; letter-spacing:.06em }
#practice .tag { color:#51636a; background:#edf1f1; border-radius:5px; padding:3px 8px; font-size:11px }
#practice h3 { margin:7px 0 4px; font-size:23px; line-height:1.35 }
#practice p { color:#455963; margin:0 0 11px }
#practice .toolbox { margin-top:auto }
#practice .hint, #practice .skill-work span { font-size:11px; color:#56676f }
#practice .chips { display:flex; gap:6px; flex-wrap:wrap; margin:4px 0 11px }
#practice .chip { display:inline-flex; align-items:center; gap:6px; border-radius:4px; background:#edf1f2; padding:3px 8px; font-size:12px }
#practice .chip img, #practice .pr { width:20px; height:20px; object-fit:contain }
#practice .pr { background:#00005b; color:#b0aaff; border-radius:4px; display:grid; place-items:center; font:600 13px/1 'Segoe UI',sans-serif }
#practice .skill-work { border-top:1px solid #e0e6e6; padding-top:8px }
#practice .skill-film { color:#315c70; font-weight:600; text-decoration:none; font-size:12px }
#practice .skill-film:hover { text-decoration:underline }
#practice :focus-visible { outline:2px solid #365d70; outline-offset:2px }

@media (max-width: 660px) {
#practice .skills-inner { padding:18px 10px }
#practice .grid { gap:8px }
#practice article { padding:12px 9px 9px }
#practice .skills-heading { gap:9px }
#practice h3 { font-size:18px }
#practice p { font-size:13px }
#practice .chip { padding:2px 5px }
#practice .tag { padding:2px 4px }
#practice .skill-work { flex-wrap:wrap }
#practice #skill-filters button { padding:4px 7px }
}
#practice { scroll-margin-top: 64px; }
#practice .skill-film { background: transparent; border: 0; padding: 0; text-align: end; cursor: pointer; }

#practice .skill-work strong { color: #415e6d; font-size: 12px; font-weight: 600; }
#practice .skills-heading { align-items: baseline; }
#workflow .step-arrives { animation: step-enter .42s ease-out backwards; }
#practice .skill-arrives { animation: skill-enter .36s ease-out backwards; }
#workflow .step-arrives, #practice .skill-arrives { animation-delay: var(--entry-delay, 0ms); }
@keyframes step-enter {
  from { opacity: .55; transform: translateX(-7px); }
  to { opacity: 1; transform: none; }
}
@keyframes skill-enter {
  from { opacity: .6; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
html.paused #workflow .step-arrives, html.paused #practice .skill-arrives { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.manual-play) #workflow .step-arrives, html:not(.manual-play) #practice .skill-arrives { animation: none; }
}


#practice .model-mark { width:20px; height:20px; border-radius:4px; display:inline-grid; place-items:center; font:600 14px/1 "Segoe UI",sans-serif; }
#practice .gem { color:#5449a4; background:#e4e1ff; }
#practice .gpt { color:#fff; background:#38574c; }
#practice .ds { color:#fff; background:#3d64bc; }
#practice .lr { background:#03213c; color:#72cfff; }
@keyframes chapter-open {
  from { opacity:.58; translate:0 8px; clip-path:inset(0 12% 0 0); }
  to { opacity:1; translate:0 0; clip-path:inset(0); }
}
html:not(.paused) .chapter-active :is(.hero-label,.desk-head h2,.section-intro h2,#practice-title),
html:not(.paused) #contact.chapter-active h2 { animation:chapter-open .55s cubic-bezier(.2,.74,.22,1) both; }
@media(prefers-reduced-motion:reduce) {
  html:not(.manual-play) .chapter-active :is(.hero-label,.desk-head h2,.section-intro h2,#practice-title),
  html:not(.manual-play) #contact.chapter-active h2 { animation:none; }
}



#workflow {background:linear-gradient(120deg,#edf3f4,#f7f6f3 48%,#e6eef1);scroll-margin-top:60px}
#workflow .method-block {margin:clamp(32px,5vw,65px) 0 0}
#workflow .method-head {display:flex;align-items:flex-start;gap:15px;margin-bottom:18px}
#workflow .method-head>span {border:1px solid #c1d7e0;background:#e4eff3;color:#386680;border-radius:8px;padding:8px 11px;font:600 16px Consolas,monospace}
#workflow h3,#workflow h4,#workflow h5 {margin:0;line-height:1.3}
#workflow .method-head h3 {font-size:clamp(23px,2.6vw,36px)}
#workflow .method-block p {color:var(--sub);margin:7px 0 12px;line-height:1.65}
#workflow .panel {border:1px solid #d2dfe3;border-radius:11px;background:#ffffffeb;padding:clamp(16px,2vw,28px);min-width:0}
.method-columns {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1fr);gap:18px}
.method-columns .flow-steps {grid-template-columns:repeat(2,minmax(0,1fr))}
#workflow .flow-steps h4 {font-size:18px;margin-top:5px}
.method-demo h4,.board-copy h4,.prompt-case h4 {font-size:22px}
.method-demo dl {display:grid;gap:7px;margin:15px 0}
.method-demo dl div,.prompt-text {background:#eff2f1;border-radius:6px;padding:10px 13px}
.method-demo dt,.method-demo small,.board-copy small,.prompt-case h5 {font-size:12px;color:var(--blue);font-weight:650}
.method-demo dd {margin:2px 0 0}
.method-demo a {display:block;text-align:center;border-radius:6px;background:#365d70;color:white;padding:9px}
.board-case,.prompt-case {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(15px,2vw,30px);align-items:center}
.board-visual {display:grid;grid-template-columns:.8fr 1.2fr;gap:10px;align-items:center}.board-visual figure {margin:0;min-width:0}.board-visual figcaption,.compare-caption {font-size:12px;color:#4e6571;margin:5px 0}
.board-visual img,.image-compare img {display:block;width:100%;height:auto}.board-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.board-copy ul {padding-left:18px;color:var(--sub);font-size:14px}.board-copy li+li {margin-top:4px}
.prompt-case+.prompt-case {margin-top:12px}.image-compare {position:relative;isolation:isolate;overflow:hidden;border-radius:6px}
.image-compare .compare-layer {position:absolute;inset:0;background:url(assets/works/colorful.jpg) center/100% 100% no-repeat;clip-path:inset(0 calc(100% - var(--split)) 0 0)}
#material-light {scroll-margin-top:80px}
.light-case .compare-layer {background-image:url(assets/headphones/node-11.webp)}
.soft-case .compare-layer {filter:blur(2px)}.light-case img {filter:contrast(1.19) brightness(1.06) saturate(.82)}
.image-compare input {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}.image-compare:focus-within {outline:3px solid #53829b;outline-offset:2px}
.split-line {position:absolute;left:var(--split);inset-block:0;border-left:2px solid white;filter:drop-shadow(0 1px 2px #234)}
.split-line:after {content:'↔';position:absolute;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:white;color:#365d70;padding:1px 6px}
.compare-caption {display:flex;justify-content:space-between}.method-notes {margin-top:12px}.method-notes summary {width:fit-content;cursor:pointer;font-weight:600;color:var(--blue);padding:7px 0}.method-notes .flow-steps {margin-top:7px}
@media(max-width:740px){.method-columns,.board-case,.prompt-case {grid-template-columns:1fr}.method-columns {gap:10px}.board-visual {grid-template-columns:.8fr 1.2fr}#workflow .method-head {gap:8px}}

#vlog-skill { scroll-margin-top:70px; margin-top:18px; }
#vlog-skill h4 { font-size:22px; }
vlog-comparison { display:block; }
.vlog-pair { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,2vw,20px);max-width:740px;margin:12px auto; }
.vlog-pair figure { margin:0;min-width:0; }
.vlog-pair figcaption { color:#334f60;font-size:14px;font-weight:650;padding:0 0 7px; }
.vlog-pair video { display:block;width:100%;height:clamp(190px,42vh,390px);object-fit:contain;background:#182830;border-radius:6px; }
.vlog-controls { display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;max-width:740px;margin:8px auto; }
.vlog-controls button,.vlog-controls select {border:1px solid #bdcdd2;border-radius:5px;padding:5px 8px;color:#253b45;background:white;}
.vlog-controls button { background:#365d70;color:white; }
.vlog-controls input { flex:1;min-width:65px;accent-color:#365d70; }
.vlog-controls output,.vlog-controls label { font-size:12px;font-variant-numeric:tabular-nums; }
.vlog-status:empty { display:none; }

.case-layout {
  display:grid;
  grid-template-columns:minmax(0,1.26fr) minmax(0,.9fr);
  gap:clamp(20px,3vw,44px);
  align-items:start;
}
.board-visual {grid-template-columns:1fr;gap:12px}
.case-frame,.board-visual figure {position:relative;overflow:hidden;border-radius:9px;margin:0}
.case-frame img {display:block;width:100%;height:auto}
.case-frame figcaption,.board-visual figcaption {
  position:absolute;top:10px;left:10px;z-index:1;margin:0;padding:5px 9px;
  background:#162c39df;color:white;font-size:12px;font-weight:600;border-radius:4px;
}
.case-copy {min-width:0}
.case-category {display:block;color:#386781;font-weight:700;font-size:13px;letter-spacing:.04em}
#workflow .case-copy h4,.case-copy h4,#vlog-skill .case-copy h4 {
  margin:7px 0 10px;font-size:clamp(22px,2.2vw,32px);line-height:1.25;color:#203641
}
.case-copy p,.case-points {line-height:1.75;color:#455c67}
.case-copy p {margin:8px 0 14px}
.case-copy .case-tags {
  display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:14px 0;
}
.case-copy .case-tags li {margin:0;border-radius:5px;padding:4px 8px;background:#e6eff3;color:#37647b;font-size:12px;font-weight:600}
.case-copy .case-points {padding-inline-start:1.15em;margin:14px 0;font-size:15px}
.case-points li+li {margin-top:6px}
.case-points li::marker {color:#477892}
.case-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.case-action {
  padding:8px 12px;border:1px solid #afc7d1;border-radius:6px;background:#fff;
  color:#294e61;font:inherit;font-size:14px;font-weight:600;cursor:pointer;
}
.case-actions .case-action:first-child {color:white;background:#365d70;border-color:#365d70}
.case-action:hover {box-shadow:0 2px 6px #2342;border-color:#365d70}
.case-action:focus-visible {outline:2px solid #477892;outline-offset:2px}
.case-media {min-width:0}
.case-media .vlog-pair {gap:10px}
.case-media .vlog-pair video {height:auto;aspect-ratio:9/16;max-height:365px}
#case-resource {
  inset:0;margin:auto;width:min(860px,94vw);max-height:86dvh;overflow:auto;
  background:#fafcfd;color:#253e4c;border-radius:12px;padding:0;overscroll-behavior:contain;
}
#case-resource::before {content:none}
#case-resource header {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  position:sticky;top:0;z-index:1;background:#fafcfd;border-bottom:1px solid #d6e0e6;padding:14px 20px;
}
#case-resource header h3 {margin:0;font-size:20px}
.resource-content {padding:18px 20px;line-height:1.75}
.resource-content h4 {margin:12px 0 2px}
.resource-content ul {margin:0;padding-left:1.3em}
.resource-note,.case-asset figcaption {color:#4b6472;font-size:14px}
.case-asset {margin:0}
.case-asset+.case-asset {margin-top:18px}
.case-asset img {display:block;width:100%;height:auto;border-radius:6px}
.case-asset a {text-decoration:underline;text-underline-offset:3px}
#viewer .case-layout {grid-template-columns:1fr}
@media(max-width:740px) {
  .case-layout {grid-template-columns:1fr;gap:16px}
  .case-copy {grid-row:1}
  .case-actions {margin-top:12px}
  .case-media .vlog-pair figcaption {font-size:12px}
}

#restoration {scroll-margin-top:80px}
#codex-headphones,#emotion-skill {scroll-margin-top:80px}
#codex-headphones .case-frame {margin-bottom:12px}
#codex-headphones .case-actions {margin:12px 0}
#emotion-skill {margin-top:18px}
#emotion-skill h4 {font-size:clamp(22px,2.2vw,32px)}
#emotion-skill .vlog-pair,#emotion-skill .vlog-controls {max-width:none}
vlog-comparison[data-template="emotion-compare-template"] video {aspect-ratio:2.3;height:auto}
.act {padding:.65rem 0;border-bottom:1px solid #d2dfe3}
.act summary {font-weight:650;cursor:pointer;color:#294e61}
.act small {white-space:nowrap;color:#566a75}
.asset-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:14px;margin-bottom:18px}
.asset-grid figure {margin:0}.asset-grid img {display:block;width:100%;aspect-ratio:1.8;object-fit:contain;background:#edf2f4;border-radius:5px}
.asset-grid figcaption {font-size:13px;color:#496271}
@media(max-width:640px){#emotion-skill .vlog-pair {grid-template-columns:1fr}}

#practice .skill-samples {border-top:1px solid #e0e6e6;padding-top:10px}
#practice .skill-samples button {padding:0;border:0;background:transparent;text-align:left;color:#315c70;font:inherit;cursor:pointer}
#practice .script-sample {display:flex;align-items:center;gap:10px}
.script-sample img {width:72px;aspect-ratio:1.55;object-fit:cover;border-radius:5px}
.script-sample strong,.script-sample small {display:block}
.script-sample small {font-size:12px}
#practice .skill-links {display:flex;gap:5px 14px;flex-wrap:wrap;margin-top:8px}
#practice .skill-links :is(a,button),#practice .visual-samples span {font-size:12px;color:#315c70}
.visual-samples {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(85px,100%),1fr));gap:8px}
.visual-samples img {display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#edf1f2;border-radius:5px}
.visual-samples span {display:block;margin-top:4px}
.skill-samples :is(button,a):hover {text-decoration:underline;text-underline-offset:3px}

.work-with-assets video { height: auto; aspect-ratio: 16 / 9; }
.work-screen > .work-assets-title { margin: 22px 0 14px; }
.asset-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 18px 0 9px; }
.asset-heading h4 { margin: 0; }
.asset-jump { min-height: 30px; font-variant-numeric: tabular-nums; }
.asset-jump[hidden] { display: none; }
