/* Hallmark | shape: app screen | theme: custom, pearl and deep jade | material: skincare demonstrations */
/* Critique: large photographic stage, persistent cutaway, directly selectable chapter rail. */
:root{--paper:#f8f9f6;--white:#fff;--ink:#183d38;--body:#334843;--soft:#566b63;--jade:#245c50;--line:#d7dfd8;--pale:#edf2ec;--tint:#e4ede6;--light:#f3f5ef;--photo:#7d7666;--overlay:rgba(18,34,29,.82);--glass:rgba(25,43,34,.48);--frost:rgba(255,255,255,.86);--shine:rgba(255,255,255,.45);--clear:transparent;--shadow:rgba(29,52,40,.16);--skinbg:#eef1e9;--serif:Georgia,"Songti SC","SimSun",serif;--sans:Inter,"Microsoft YaHei","PingFang SC",sans-serif;--accent:#89ada1}
*{box-sizing:border-box}html,body{overflow-x:clip}body{margin:0;background:var(--paper);color:var(--body);font:16px/1.5 var(--sans);-webkit-font-smoothing:antialiased}button,input{font:inherit}button{color:inherit;background:none;border:0;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:hover{color:var(--jade)}[hidden]{display:none!important}svg{width:1.15em;height:1.15em;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}i[data-icon]{display:inline-flex;align-items:center;font-style:normal}h1,h2,h3,p{margin:0}h1,h2,h3{min-width:0;overflow-wrap:break-word}
.mast{border-bottom:1px solid var(--line);background:var(--paper)}.head-inner,main{max-width:1580px;margin:auto;padding-inline:clamp(20px,4.2vw,75px)}.head-inner{height:76px;display:flex;align-items:center;gap:clamp(32px,6vw,112px)}.wordmark{display:flex;align-items:center;gap:13px;color:var(--ink);white-space:nowrap}.wordmark span{font-family:var(--serif);font-weight:600;font-size:31px;line-height:1;letter-spacing:-1.6px}.wordmark sup{font:10px var(--sans);vertical-align:top;position:relative;top:2px}.wordmark i{height:22px;width:1px;background:var(--line)}.wordmark b{font:22px var(--serif)}nav{display:flex;height:100%;gap:28px}nav button{font-size:15px;position:relative;padding:0 2px;color:var(--soft)}nav .nav-current{font-weight:650;color:var(--ink)}nav .nav-current:after{position:absolute;content:"";bottom:0;height:3px;background:var(--jade);left:0;right:0}.partner{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:14px;color:var(--soft)}
.crumb{display:flex;align-items:center;gap:8px;color:var(--soft);font-size:13px;margin-top:24px}.crumb button{padding:0;font-size:inherit}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 25px}.intro h1{color:var(--ink);font:600 clamp(35px,3.4vw,56px)/1.15 var(--serif);letter-spacing:1px}.project-meta{font-size:15px;color:var(--soft);margin-top:9px}.variants{display:flex;border:1px solid var(--line);border-radius:9px;background:var(--pale);padding:4px;flex-wrap:wrap;gap:3px}.variants button{border-radius:6px;padding:7px 15px;font-size:14px;min-height:35px}.variants button[aria-pressed=true]{background:var(--jade);color:var(--white)}.variants button:hover:not([aria-pressed=true]){background:var(--tint)}
.stage{display:grid;grid-template-columns:minmax(0,2.8fr) minmax(242px,1fr);gap:20px;align-items:stretch}.player{background:var(--photo);border-radius:14px;overflow:hidden;position:relative;min-height:345px;height:clamp(350px,28vw,465px);isolation:isolate}.player canvas,.shade{position:absolute;inset:0;width:100%;height:100%}.shade{pointer-events:none;background:linear-gradient(180deg,var(--glass) -30%,var(--clear) 21%,var(--clear) 50%,var(--overlay) 100%)}.film-top{position:absolute;top:20px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;color:var(--white)}.film-label{display:inline-flex;align-items:center;gap:7px;font-size:13px;border-radius:5px;background:var(--glass);padding:5px 9px}.sim{font-size:13px;text-shadow:0 1px 4px var(--overlay)}.film-bottom{position:absolute;bottom:16px;left:24px;right:24px;color:var(--white)}.film-caption>span{font-size:13px;color:var(--frost)}.film-caption h2{color:var(--white);font:600 clamp(24px,2.1vw,35px)/1.3 var(--serif);margin:3px 0 13px}.player-bar{display:flex;align-items:center;gap:10px}.player-bar button{color:var(--white);display:grid;place-items:center}.play-button{border:1px solid var(--shine);border-radius:50%;width:34px;height:34px;background:var(--glass)}.play-button svg{width:15px}.full-button{width:30px;height:34px}.time{font-size:13px;font-variant-numeric:tabular-nums}.player-bar input{flex:1;min-width:20px;appearance:none;height:19px;background:var(--clear);margin:0;cursor:pointer}.player-bar input::-webkit-slider-runnable-track{height:3px;border-radius:5px;background:linear-gradient(to right,var(--white) var(--played,0%),var(--shine) var(--played,0%))}.player-bar input::-webkit-slider-thumb{appearance:none;background:var(--white);height:10px;width:10px;border-radius:50%;margin-top:-3.5px}.player-bar input::-moz-range-track{height:3px;background:var(--shine)}.player-bar input::-moz-range-thumb{background:var(--white);width:10px;height:10px;border:0}.player:fullscreen,.player.theater{width:100%;height:100%;border-radius:0}.player.theater{position:fixed;inset:0;z-index:20}
.layer-panel{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,var(--white),var(--light));overflow:hidden}.panel-title{display:flex;align-items:center;gap:9px;padding:18px 20px 0;color:var(--ink)}.panel-title h2,.section-head h2{font-size:19px;font-weight:650}.panel-title i{color:var(--jade)}.skin-wrap{flex:1;min-height:98px;position:relative;margin:0 10px}.skin-wrap canvas{position:absolute;width:100%;height:100%;inset:0}.layer-list{margin:0 20px 12px;display:grid;gap:2px}.layer-row{display:flex;align-items:center;gap:9px;min-height:20px;padding:1px 7px;border-radius:4px;color:var(--soft);font-size:13px}.layer-row em{font:12px var(--sans);color:var(--soft);font-variant-numeric:tabular-nums}.layer-row i{flex:1;height:1px;background:var(--line)}.layer-row strong{font-size:13px;font-weight:500;min-width:3em}.layer-row.on{background:var(--tint);color:var(--jade)}.layer-row.on i{background:var(--accent)}.layer-row.on strong{font-weight:700}.layer-state{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:var(--pale);padding:10px 20px;font-size:13px;color:var(--soft)}.layer-state strong{color:var(--jade);font-size:14px}
.sequence{margin-top:23px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.section-head h2{color:var(--ink)}.section-head span{font-size:13px;color:var(--soft)}.steps{display:grid;grid-template-columns:repeat(var(--n,9),minmax(0,1fr));gap:6px}.step-button{position:relative;border:1px solid var(--line);border-radius:8px;background:var(--white);min-height:69px;display:flex;align-items:flex-start;flex-direction:column;gap:4px;text-align:left;padding:8px 10px;font-size:14px;line-height:1.35}.step-button small{font-size:13px;line-height:1.3;color:var(--soft);font-variant-numeric:tabular-nums}.step-button:hover{border-color:var(--accent);background:var(--light)}.step-button[aria-current=step]{background:var(--jade);border-color:var(--jade);color:var(--white)}.step-button[aria-current=step] small{color:var(--frost)}.instruction{display:flex;align-items:flex-start;gap:9px;margin:12px 0;color:var(--soft);font-size:14px;line-height:1.6}.instruction i{margin-top:4px}.instruction #careTime{margin-left:auto;white-space:nowrap}footer{border-top:1px solid var(--line);padding:14px 0 20px;margin-top:24px;display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:12px;color:var(--soft)}footer button{font-size:14px;text-decoration:underline}
dialog,#productSheet{border:1px solid var(--line);color:var(--ink);background:var(--paper);box-shadow:0 16px 58px var(--shadow);border-radius:16px}dialog{width:min(720px,94%);padding:24px;max-height:86dvh}dialog::backdrop{background:var(--glass)}.dialog-head,.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head h2,.sheet-head h2{font:600 27px/1.4 var(--serif)}.icon-button{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:36px;height:36px;flex:none}.catalog-group{margin-top:20px}.catalog-group h3{font-size:14px;color:var(--soft);margin-bottom:7px}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.catalog-grid button{background:var(--white);border:1px solid var(--line);text-align:left;border-radius:7px;display:flex;align-items:center;justify-content:space-between;padding:11px 13px;gap:6px}.catalog-grid button:hover{background:var(--tint)}.catalog-grid small{color:var(--soft);white-space:nowrap;font-size:12px}#productSheet{position:fixed;z-index:9;right:clamp(12px,3vw,55px);top:100px;max-height:calc(100dvh - 126px);overflow:auto;width:min(380px,calc(100% - 24px));padding:22px;animation:slidein .25s ease-out}.sheet-project{font-size:13px;color:var(--soft);margin-bottom:4px}#products{margin-top:16px}.product-row{border-top:1px solid var(--line);padding:9px 1px;display:flex;align-items:center;gap:11px}.product-row small{color:var(--soft);font-size:12px;min-width:1.6em}.product-row b{font-size:15px;font-weight:550}.product-row span{margin-left:auto;font-size:12px;color:var(--soft)}.lineup{width:100%;max-height:95px;object-fit:contain;background:var(--white);border-radius:6px;margin-bottom:9px}@keyframes slidein{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
@media(min-width:1550px){.layer-row{min-height:25px}.skin-wrap{margin-top:6px}}
@media(max-width:950px){.stage{grid-template-columns:minmax(0,2.25fr) minmax(200px,1fr);gap:12px}.step-button{font-size:13px;padding:8px 6px}.variants button{padding:6px 9px}.head-inner{height:64px}.crumb{margin-top:18px}.intro{margin-bottom:18px}}
@media(max-width:700px){.head-inner,main{padding-inline:15px}.head-inner{gap:18px;height:58px}.wordmark{gap:6px}.wordmark span{font-size:24px}.wordmark b{font-size:17px}.wordmark i{height:18px}.partner{display:none}nav{margin-left:auto;gap:13px}nav button{font-size:14px}.crumb{margin-top:14px}.intro{align-items:flex-start;flex-direction:column;gap:11px;margin:6px 0 12px}.project-meta{margin-top:4px;font-size:13px}.intro h1{font-size:34px}.variants{padding:3px}.variants button{min-height:30px;padding:3px 10px}.stage{grid-template-columns:minmax(0,1fr) 114px;gap:7px}.player{height:275px;min-height:0;border-radius:8px}.layer-panel{border-radius:8px}.panel-title{padding:9px 6px 0;gap:3px}.panel-title h2{font-size:13px}.panel-title i{font-size:12px}.skin-wrap{margin:0;min-height:65px}.layer-list{margin:0 5px 8px;gap:1px}.layer-row{min-height:18px;padding:0 2px;gap:4px}.layer-row strong,.layer-row em{font-size:11px}.layer-state{padding:6px;flex-wrap:wrap;gap:2px 6px;font-size:11px}.layer-state strong{font-size:12px}.film-top{top:9px;left:9px;right:9px}.film-label{font-size:11px;padding:4px 6px}.sim{font-size:11px}.film-bottom{bottom:9px;left:10px;right:10px}.film-caption h2{font-size:23px;margin-bottom:8px}.film-caption>span{font-size:12px}.player-bar{gap:5px}.play-button{width:27px;height:27px}.time{font-size:11px}.full-button{width:20px}.steps{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 0 6px}.step-button{flex:0 0 87px;min-height:60px;scroll-snap-align:start}.sequence{margin-top:16px}.section-head{margin-bottom:7px}.instruction{flex-wrap:wrap;gap:5px}.instruction #instruction{flex:1;min-width:160px}.instruction #careTime{font-size:12px}.catalog-grid{grid-template-columns:1fr}.sheet-head h2{font-size:22px}#productSheet{top:65px;max-height:calc(100dvh - 82px)}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.packshot{width:44px;height:54px;object-fit:contain;border-radius:3px;flex:none}.product-row b{flex:1}.product-row span{white-space:nowrap}h1,h2{text-wrap:balance}button:active{opacity:.8}button:disabled{opacity:.45;cursor:default}
@media(max-width:700px){.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;overflow:visible}.step-button{min-height:40px;display:flex;flex-direction:row;align-items:center;gap:5px;padding:5px}.step-button small{font-size:11px}}
