/* Warm silk backgrounds, antique gold rules, cinnabar accents. */
:root{--paper:#f5ecd9;--paper-2:#eee0c5;--line:#d4be94;--gold:#a47d42;--gold-deep:#785729;--gold-lite:#dbc18d;--ink:#392b20;--ink-soft:#6e5941;--ink-mute:#988365;--lacquer:#873e2e;--lacquer-deep:#642b20}
body{background:#f5ecd9}body::before{opacity:.25;background-image:repeating-linear-gradient(0deg,#a48a4d16 0 .7px,transparent .7px 4px),repeating-linear-gradient(90deg,#c2a6710d 0 .5px,transparent .5px 5px);background-size:auto}
.heritage-hero{background:#eadabd;color:#5c442d}
.heritage-photo{background:#dac5a0}
.heritage-photo img{filter:saturate(1.18) contrast(1.08) brightness(1.02)}
.heritage-shade{background:linear-gradient(90deg,#f3e7cc 0%,#f3e7ccfa 23%,#f1e3c6e8 34%,#eddbb880 49%,#dbc69e0a 76%,#b9946130),linear-gradient(0deg,#e7d4b3e8,transparent 33%,transparent 85%,#a7824820)}
.heritage-grain{opacity:.22;background-image:repeating-linear-gradient(0deg,#92764022 0 .7px,transparent .7px 4px),repeating-linear-gradient(90deg,#fff6dd44 0 .5px,transparent .5px 5px);background-size:auto}
.heritage-hero .heritage-title{font-family:'Songti SC','STSong','Noto Serif SC','SimSun',serif;font-weight:600;height:320px;filter:none}
.heritage-hero .heritage-title span{font-family:inherit;font-weight:600;font-size:188px;background:none;color:#8c6032;text-shadow:1px 2px 0 #fff4d944;line-height:1.08}
.heritage-hero .heritage-title span:first-child{left:0;top:-3px;transform:rotate(-3deg)}
.heritage-hero .heritage-title span:last-child{left:152px;top:108px;transform:rotate(-3deg);color:#76502e}
.heritage-hero .heritage-pretitle{color:#95774c}.heritage-hero .heritage-intro{color:#70573b}.heritage-hero .hero-side-verse{color:#81623d}.heritage-hero .hero-side-verse i{color:#963f2b;border-color:#a9594055}
.heritage-hero .heritage-stamp{background:#91402e;color:#f3dfba;border-color:#aa6a43;box-shadow:0 0 0 2px #a5653e22}
.heritage-hero .heritage-portals a{color:#785b32}.heritage-hero .portal-medallion{border-color:#a47c3c88;outline-color:#a47c3c26;background:#ffefd122}.heritage-hero .portal-medallion:before{border-color:#a47c3c88}.heritage-hero .heritage-portals small{color:#8c7758}.heritage-hero .heritage-portals a:hover{color:#8c3e2c}.heritage-hero .heritage-portals a:hover .portal-medallion{border-color:#8d4b2c;background:#f0d8ac88}
.heritage-art-caption{color:#634729;text-shadow:0 1px 6px #fbe9c7}.heritage-art-caption small{color:#846742}.heritage-scroll{color:#7f6035}
#workshop{background-color:#f5ecd9;background-image:radial-gradient(ellipse at 50% 5%,#fff9e880,transparent 70%);border-top:1px solid #d3b783}
#workshop .ws-head .sec-title{font-family:'Songti SC',var(--serif);font-size:35px;font-weight:500;letter-spacing:.06em}.sec-title em{color:#8b3d2b}.eyebrow{font-size:11px;letter-spacing:.19em}.sec-lead{font-size:14px}
#workshop .steps{border-radius:3px;border-color:#c8ab77;background:#ead7b4;box-shadow:0 10px 20px -18px #53371866}
#workshop .stepbtn{background:#f0e3c9;color:#88693d;font-family:var(--serif);font-size:14px;letter-spacing:.12em;border-color:#d5bc91}
#workshop .stepbtn.on{background:linear-gradient(120deg,#493323,#2f241a);color:#ead2a3;box-shadow:inset 0 2px #b7975c}.stepbtn.on .num{background:#ab85582b;color:#e5c589}
#workshop .panel,#workshop #step1 .bench>.panel,#workshop .side-col>.panel{background:#fcf6e8;border-color:#d1b98d;border-radius:4px;box-shadow:0 14px 40px -33px #67472266}
#workshop .panel-hd,#workshop #step1 .bench>.panel>.panel-hd{background:linear-gradient(90deg,#f5e8cd,#efe0c0);border-color:#d8c29a;padding:16px 20px}
#workshop .panel-hd b{font-weight:500;letter-spacing:.12em;font-size:15px;color:#684a2b}
#workshop .source-reference{border-color:#d9c198!important;background:#f8efdc}
#workshop .operation-reference .character-chooser{background:#eee0c4}
#workshop .operation-reference .character-choice{background:#fbf3e2;border-radius:3px;border-color:#d4bd94}
#workshop .operation-reference .character-choice.on{background:#f6e1b7;border-color:#a87b48;box-shadow:inset 3px 0 #8b432b}
#workshop .classified-tray{background:#f3e6ca}#workshop .piece-button,#workshop #step1 .piece-button{border-radius:3px;background:linear-gradient(135deg,#fff9ea,#f3e3c3);border-color:#d7be91}
#workshop .btn{border-radius:3px;background:#fcf5e5;border-color:#cfb17b;color:#71522e;font-size:12px;font-weight:500}
#workshop .btn.primary{background:linear-gradient(110deg,#914631,#73301f);color:#f9e7bf;border:1px solid #915332;box-shadow:inset 0 1px #c8956944}
#workshop .side-col .info-card{border-radius:3px;background:#ebdbb9;border:1px solid #d4bb8d;padding:20px}
#workshop .side-col .info-card h4{font-family:var(--serif);font-weight:500;letter-spacing:.1em;color:#715130}.fact-row span{border-radius:2px;background:#b5904c18;color:#856133}
#workshop #paintStageWrap{background:radial-gradient(ellipse at 50% 40%,#fff9e7,#ead8b2)}#workshop #performStageWrap{border-color:#c1a273;border-top-color:#d0b78c;border-bottom-color:#b79765}
#workshop .palette button{border-radius:3px;box-shadow:none}.palette button.on{outline:1px solid #a9854d;outline-offset:3px}
#workshop .act-btn{border-radius:3px;background:#fcf3df;border-color:#d1b581;font-family:var(--serif);font-weight:500}
#workshop .act-btn.on{background:linear-gradient(110deg,#483426,#30241b);color:#eacf9b;border-color:#a48047;box-shadow:none}
#workshop .readout{color:#977a50;border-color:#cbb287}.pal-title{color:#856138;letter-spacing:.14em;font-weight:500}
#know{background:#ebdbbc;color:#59422c;padding:76px 0;border-top:1px solid #c9aa75;border-bottom:1px solid #c2a16a}
#know:before{background:radial-gradient(ellipse at 40% 20%,#fff8df99,transparent 65%)}#know>.grain{opacity:.22;background-image:repeating-linear-gradient(90deg,#94763f14 0 .6px,transparent .6px 4px);background-size:auto}
#know>.wrap{display:grid;grid-template-columns:1fr 1.25fr;gap:30px 36px}
#know>.wrap>div:first-child{grid-column:1/-1;margin-bottom:8px}#know .eyebrow{color:#96703d}#know .eyebrow:before{background:#ab864c}
#know .sec-title{color:#4c3522;font-weight:500;letter-spacing:.05em;font-size:32px}#know .sec-title em{color:#8b432c}
#know .refstrip{margin:0;gap:14px;display:grid;grid-template-columns:1fr 1fr;align-self:start}
#know .refstrip figure{width:auto;border-radius:3px;background:#f7ecd4;border:1px solid #c8aa72;padding:9px;margin:0;position:relative}
#know .refstrip figure:before{content:'';position:absolute;inset:4px;pointer-events:none;border:1px solid #a9874c26}
#know .refstrip img{border-radius:0;aspect-ratio:5/8;object-fit:cover;background:#f9efdb}#know .refstrip figcaption{color:#826341;font-size:10px;padding:12px 4px 4px}
#know .know-grid{grid-template-columns:1fr 1fr;margin:0;gap:14px;align-content:stretch}
#know .know-card{border-radius:3px;border-color:#c9ae7e;background:#f7ebd0;padding:24px;box-shadow:inset 0 2px #a98a5426}
#know .know-card:hover{border-color:#a27c42;transform:translateY(-2px)}#know .know-card .big{color:#9d7540;font-size:32px;font-weight:500}#know .know-card b{color:#66482c;font-size:13px;font-weight:500;margin-top:13px;letter-spacing:.1em}#know .know-card p{color:#8b704d;font-size:12px;line-height:1.95}
#know .kline{grid-column:1/-1;margin:4px 0 0;padding:27px 18px 0;border-top:1px solid #b99a674f;gap:8px 0}#know .knode{color:#8a704c;font-size:11px}#know .knode b{color:#6c4b29;font-weight:500}#know .dash{background:#b99b69;width:17px}#know .kline .end{color:#947b56;font-size:10px;max-width:900px;margin:14px auto 0}
footer{background:#261c14;color:#b5a17b;padding:38px 0;border-top:3px solid #9c79433b}.fbrand b{font-family:var(--serif);font-weight:500;letter-spacing:.13em;color:#d7c296}.fbrand .seal{border-radius:2px;background:#733525;color:#e6c894}.fbrand small{color:#a38b64}.fin{color:#948163;font-size:10px}#top{border-radius:3px;background:#503725;color:#e2c38c;border:1px solid #a3854b}#toast{border:1px solid #a3814d;background:#39291eea;color:#f1dcb4}
/* Matching the downloadable-part catalogue to the same screen palette. */
.gallery-page{background:#f4e8ce;color:#49331f}.gallery-page main{max-width:1200px;padding:38px 30px}.gallery-page h1{font-weight:500;letter-spacing:.14em;font-size:34px;color:#634322}.gallery-page p{color:#8c704d}.gallery-mast{background:#291f17;color:#d5bf92;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px max(28px,calc((100% - 1140px)/2));border-bottom:2px solid #a07b4144}.gallery-mast>a{color:#d5bf92;text-decoration:none;font-family:var(--serif,'Songti SC',serif);letter-spacing:.1em;font-size:17px;white-space:nowrap}.gallery-mast>a:last-child{font-family:inherit;font-size:12px}.gallery-mast>a span{border:1px solid #ac8c52;padding:4px 7px;margin-right:12px}.gallery-mast small{color:#97805b;font-size:10px;letter-spacing:.15em}
.gallery-page .role-tabs{gap:10px;padding-bottom:24px;border-bottom:1px solid #d1b47f}.gallery-page .role-tabs a{border-color:#c3a16a;background:#eee0bd;border-radius:2px;font-size:13px;letter-spacing:.1em;color:#79532d}.gallery-page .role-tabs a:hover{background:#7e3926;color:#f4dfb5}.gallery-page article.role-block{border-color:#c9ac78;border-radius:4px;background:#fcf3df;padding:30px;margin-bottom:35px}.gallery-page .role-block h2{font-size:26px;color:#76502c;font-weight:500;letter-spacing:.08em}.gallery-page .grid a{border-radius:3px;background:#f1e2c1;border-color:#d1b783;transition:border-color .2s}.gallery-page .grid a:hover{border-color:#8c5731}.gallery-page .grid span{color:#795a34}.gallery-page .checker{border-radius:0;background-color:#eee4cf;background-image:linear-gradient(45deg,#d5c9ad 25%,transparent 25%),linear-gradient(-45deg,#d5c9ad 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d5c9ad 75%),linear-gradient(-45deg,transparent 75%,#d5c9ad 75%)}.gallery-page h3{font-weight:500;color:#8e6a3a;font-size:16px;padding-left:10px;border-left:2px solid #a67a43}.gallery-page .toplinks a,.gallery-page summary{font-size:12px;color:#8d422c}.gallery-page .gallery-note{border-top:1px solid #d1b47f;padding-top:20px;font-size:11px}
@media(max-width:1100px){#know>.wrap{gap:22px}#know .know-card{padding:18px}#know .know-card .big{font-size:27px}.heritage-hero .heritage-title{height:300px}.heritage-hero .heritage-title span{font-size:174px}.heritage-hero .heritage-title span:last-child{left:132px;top:104px}}
@media(max-width:820px){#know>.wrap{grid-template-columns:1fr}#know>.wrap>div:first-child{grid-column:auto}#know .refstrip{max-width:560px;width:100%;justify-self:center}#know .know-grid{grid-template-columns:1fr 1fr}#know .kline{grid-column:auto}.heritage-hero .heritage-title span{font-size:165px}.heritage-hero .heritage-title span:last-child{left:124px;top:100px}}
@media(max-width:760px){.heritage-hero .heritage-shade{background:linear-gradient(90deg,#f3e7ccea,#efdfc1a8 45%,#dbc49d25),linear-gradient(0deg,#efdfc4,#efdfc4eb 20%,#ead7b26b 62%,transparent)}.heritage-hero .heritage-photo{opacity:.93}.heritage-hero .heritage-title{height:265px}.heritage-hero .heritage-title span{font-size:157px}.heritage-hero .heritage-title span:last-child{left:112px;top:95px}.heritage-art-caption{color:#75502a}.heritage-hero .heritage-copy{padding-bottom:25px}.gallery-mast{padding:17px 20px}.gallery-mast small{display:none}.gallery-mast>a{font-size:14px}.gallery-mast>a:last-child{font-size:10px}.gallery-page main{padding:25px 18px}.gallery-page article.role-block{padding:20px}.gallery-page h1{font-size:28px}#workshop .ws-head .sec-title{font-size:28px}#know .sec-title{font-size:27px}}
@media(max-width:420px){.heritage-hero .heritage-title{height:250px}.heritage-hero .heritage-title span{font-size:147px}.heritage-hero .heritage-title span:last-child{left:105px;top:92px}#know .know-card{padding:17px}#know .know-card .big{font-size:24px}#know .know-card p{font-size:11px}.gallery-page .role-block h2{font-size:23px}.gallery-page .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-page .grid img{height:150px}}

/* User-selected leather-jointed display wordmark. */
.heritage-hero .heritage-title.wordmark-title{height:280px;width:100%;max-width:490px;display:flex;align-items:center;margin:0;filter:none}.wordmark-title img{width:100%;height:auto;max-height:100%;object-fit:contain}.heritage-hero .heritage-stamp{display:none}@media(max-width:1100px){.heritage-hero .heritage-title.wordmark-title{height:250px}}@media(max-width:760px){.heritage-hero .heritage-title.wordmark-title{height:225px}}@media(max-width:420px){.heritage-hero .heritage-title.wordmark-title{height:205px}}
