@font-face{font-family:'GenWanMin TW Home';src:url('fonts/genwan-home.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:'Averia Serif Libre';src:url('fonts/averia-serif-libre.woff2') format('woff2');font-weight:400;font-display:swap}
.maerd-home{--red:#ed352f;--blue:#164dff;color:#111;background:#fff;font-family:'Forma DJR Display',Arial,'GenJyuu Gothic',sans-serif;line-height:1.4;margin:0!important;padding:0!important;max-width:none!important}.maerd-home *{box-sizing:border-box}.maerd-home p,.maerd-home h1,.maerd-home h2,.maerd-home h3,.maerd-home figure{margin:0}.maerd-home a{color:inherit}.maerd-home a:focus-visible,.maerd-home summary:focus-visible{outline:3px solid #164dff;outline-offset:5px}.maerd-home .copy-zh{display:none}.maerd-home.is-zh .copy-en{display:none}.maerd-home.is-zh .copy-zh{display:inline}.maerd-home .wp-block-group{margin-block-start:0}.maerd-home .wp-block-button__link{font:inherit;color:inherit;background:transparent;border:0;border-radius:0;padding:10px;text-decoration:none}.maerd-language{position:absolute;top:30px;right:4vw;display:flex!important;gap:0!important;font-size:14px;z-index:15}.maerd-language .lang-en:after{content:'/';padding:0 1px}.maerd-language .wp-block-button{display:flex;align-items:center}.maerd-language a[aria-current=true]{text-decoration:underline;text-underline-offset:5px}.maerd-header{position:fixed;left:0;right:0;top:var(--wp-admin--admin-bar--height,0px);height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;background:#fff;z-index:20;visibility:hidden;opacity:0;transform:translateY(-100%);transition:opacity .2s,transform .2s}.header-visible .maerd-header{visibility:visible;opacity:1;transform:none}.maerd-brand{font-size:28px;font-weight:750;letter-spacing:-.04em}.maerd-brand a,.maerd-nav a{text-decoration:none}.maerd-nav{font-size:12px;letter-spacing:.06em}.maerd-hero{min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:100px 20px 130px;position:relative}.welcome-title{font-size:clamp(48px,7vw,100px)!important;line-height:1.05!important;font-weight:700;letter-spacing:-.055em}.is-zh .welcome-title{color:white;-webkit-text-stroke:1px var(--red);font-weight:500;font-size:clamp(34px,5vw,68px)!important;letter-spacing:.04em;line-height:1.5!important}.intro{font-size:clamp(25px,3.2vw,46px);letter-spacing:-.025em;margin-top:12px!important}.intro a{color:var(--blue);text-underline-offset:5px}.role-area{display:flex;align-items:center;gap:12px;margin-top:12px!important;font-size:clamp(22px,3.1vw,44px);white-space:nowrap}.role-window{width:10.6em;height:1.55em;border:1.5px solid var(--red);border-radius:5px;position:relative;perspective:600px;overflow:hidden;font-family:'Averia Serif Libre','GenWanMin TW Home','GenWanMin TW',serif}.role-window .role-item{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;backface-visibility:hidden;transform-origin:center center}.role-item a{text-decoration:none;display:flex;width:100%;height:100%;align-items:center;justify-content:center}.role-item[hidden]{display:none!important}.role-item.flip-out{animation:flip-out .15s ease-in forwards}.role-item.flip-in{animation:flip-in .15s ease-out}.scroll-cue{position:absolute;bottom:8vh;font-size:32px;color:#b0b0b0}.scroll-cue a{text-decoration:none;padding:15px}.maerd-works{min-height:100svh;padding:88px 4vw 28px;scroll-margin-top:0}.work-frame{min-height:calc(100svh - 116px);border:1px solid #aaa;border-radius:18px;padding:24px;position:relative;display:flex;flex-direction:column;justify-content:center}.work-slide figure{height:55svh;display:flex;justify-content:center;align-items:center}.work-slide figure a{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.work-slide img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.work-slide h2{text-align:center;font-family:'Averia Serif Libre','GenWanMin TW Home',serif;color:var(--blue);font-weight:400;font-size:clamp(28px,4vw,52px);margin-top:20px}.work-slide h2 a{text-decoration:none}.work-caption{text-align:center;font-size:14px;margin:16px 0!important;color:var(--blue)}.work-controls{display:flex!important;justify-content:space-between;border-top:1px solid var(--red);margin-top:12px;gap:20px}.work-controls a{color:var(--red)!important;font-size:28px!important;min-width:48px;min-height:48px}.work-slide[hidden]{display:none!important}.maerd-guest{min-height:100svh;padding:90px 4vw 30px}.guest-board{min-height:calc(100svh - 120px);background:#45d62b;border:14px ridge #d4d4d4;padding:38px;position:relative;color:#fff}.board-title{text-align:center;font-size:clamp(30px,4vw,50px);font-weight:500;letter-spacing:.18em}.board-subtitle{text-align:center;font-size:12px;margin-top:12px!important}.guest-note{background:#fff;color:#111;width:190px;min-height:190px;padding:22px;box-shadow:3px 4px 6px #0002;transform:rotate(-3deg);margin-top:25svh!important;font-family:'Averia Serif Libre','GenWanMin TW Home',serif;font-size:24px}.note-status{font-family:Arial,'GenJyuu Gothic',sans-serif;font-size:12px;color:#666;margin-top:22px!important}.role-directory{margin:0 4vw 32px!important;font-size:14px}.role-directory summary{cursor:pointer;padding:16px 0}.role-summary{padding:24px 0;border-top:1px solid #ddd;scroll-margin-top:90px}.role-summary h3{font-size:22px}.role-summary p{margin-top:8px}.editor-styles-wrapper .maerd-header{position:relative;visibility:visible;opacity:1;transform:none}.editor-styles-wrapper .maerd-language{position:static}.editor-styles-wrapper .role-window{height:auto;overflow:visible}.editor-styles-wrapper .role-window .role-item{position:relative}.editor-styles-wrapper .copy-zh{display:inline!important;color:#666}.editor-styles-wrapper .copy-en:after{content:' / '}.editor-styles-wrapper .maerd-hero{min-height:600px}.editor-styles-wrapper .maerd-home{max-width:none!important}
@keyframes flip-out{from{transform:rotateX(0)}to{transform:rotateX(90deg)}}@keyframes flip-in{from{transform:rotateX(-90deg)}to{transform:rotateX(0)}}
@media(max-width:600px){.maerd-header{height:80px;flex-direction:column;justify-content:center;gap:6px}.maerd-brand{font-size:25px}.maerd-nav{font-size:10px}.maerd-language{top:20px}.maerd-hero{padding-inline:12px}.role-area{font-size:clamp(18px,4.5vw,25px);gap:7px}.role-window{width:10.3em}.work-frame{padding:14px;border-radius:12px}.work-slide figure{height:49svh}.maerd-works,.maerd-guest{padding-inline:16px}.guest-board{padding:28px 20px;border-width:10px}.guest-note{margin-top:18svh!important;width:170px;min-height:170px}.is-zh .welcome-title{font-size:34px!important}.role-directory{margin-inline:20px!important}}
@media(prefers-reduced-motion:reduce){.maerd-home *{transition:none!important;scroll-behavior:auto!important}.maerd-home .role-item.flip-out{animation:flip-out .15s ease-in forwards!important}.maerd-home .role-item.flip-in{animation:flip-in .15s ease-out!important}}
/* Keep inherited theme heading styles from changing the prototype typography. */
.maerd-home .welcome-title{font-family:'Forma DJR Display',Arial,'GenJyuu Gothic',sans-serif!important;font-weight:700;letter-spacing:-.015em!important;text-shadow:none!important;font-style:normal}.maerd-home.is-zh .welcome-title{font-weight:400;letter-spacing:.04em!important;-webkit-text-stroke:.8px var(--red)}
.editor-styles-wrapper .maerd-home .role-area{white-space:normal;flex-wrap:wrap}.editor-styles-wrapper .maerd-home .role-window{width:100%;border:1px dashed #ed352f}.editor-styles-wrapper .maerd-home .role-item a{display:block;text-align:center;padding:6px}.editor-styles-wrapper .maerd-home .welcome-title{text-align:center}

.maerd-home .role-prefix{width:3.4em;flex:none;text-align:right}

/* Size independently for EN and Chinese; hidden roles reserve longest-label width. */
.maerd-home .role-window{display:grid;width:max-content;max-width:100%;padding-inline:1ch}
.maerd-home.is-zh .role-window{padding-inline:1em}
.maerd-home .role-window .role-item{position:relative;inset:auto;grid-area:1/1;width:max-content;min-width:100%;height:100%}
.maerd-home .role-window .role-item[hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.editor-styles-wrapper .maerd-home .role-window{display:block;width:100%}
/* Keep the full red frame interactive, including its language-specific padding. */
.maerd-home .role-window{padding-inline:0}
.maerd-home.is-zh .role-window{padding-inline:0}
.maerd-home .role-item a{padding-inline:1ch}
.maerd-home.is-zh .role-item a{padding-inline:1em}
.maerd-home .role-window:has(a:hover),.maerd-home .role-window:focus-within{background:#ed352f;color:#fff}
.maerd-home .role-window:hover a,.maerd-home .role-window:focus-within a{color:#fff!important}
/* Use the original arrow glyph, with a small stroke to keep its geometry straight. */
.maerd-home .scroll-cue{left:50%;transform:translateX(-50%);line-height:1}
.maerd-home .scroll-cue a{display:flex;align-items:center;justify-content:center;width:48px;height:56px;padding:0;font:400 32px/1 Arial,sans-serif;-webkit-text-stroke:0;animation:none!important}
.maerd-home .scroll-cue a::before,.maerd-home .scroll-cue a::after{content:none}
.maerd-home .maerd-works{position:relative;padding-bottom:28px}
.maerd-home .work-frame{min-height:calc(100svh - 148px);padding-bottom:76px}
.maerd-home .work-frame>.scroll-cue{bottom:10px}
.maerd-home .work-slide figure{height:42svh}
.editor-styles-wrapper .maerd-home .scroll-cue{position:relative;left:auto;bottom:auto;transform:none;margin:20px auto}

/* Size independently for EN and Chinese; hidden roles reserve longest-label width. */
.maerd-home .role-window{display:grid;width:max-content;max-width:100%;padding-inline:1ch}
.maerd-home.is-zh .role-window{padding-inline:1em}
.maerd-home .role-window .role-item{position:relative;inset:auto;grid-area:1/1;width:max-content;min-width:100%;height:100%}
.maerd-home .role-window .role-item[hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.editor-styles-wrapper .maerd-home .role-window{display:block;width:100%}
/* Keep the full red frame interactive, including its language-specific padding. */
.maerd-home .role-window{padding-inline:0}
.maerd-home.is-zh .role-window{padding-inline:0}
.maerd-home .role-item a{padding-inline:1ch}
.maerd-home.is-zh .role-item a{padding-inline:1em}
.maerd-home .role-window:has(a:hover),.maerd-home .role-window:focus-within{background:#ed352f;color:#fff}
.maerd-home .role-window:hover a,.maerd-home .role-window:focus-within a{color:#fff!important}
/* Use the original arrow glyph, with a small stroke to keep its geometry straight. */
.maerd-home .scroll-cue{left:50%;transform:translateX(-50%);line-height:1}
.maerd-home .scroll-cue a{display:flex;align-items:center;justify-content:center;width:48px;height:56px;padding:0;font:400 32px/1 Arial,sans-serif;-webkit-text-stroke:0;animation:none!important}
.maerd-home .scroll-cue a::before,.maerd-home .scroll-cue a::after{content:none}
.maerd-home .maerd-works{position:relative;padding-bottom:28px}
.maerd-home .work-frame{min-height:calc(100svh - 148px);padding-bottom:76px}
.maerd-home .work-frame>.scroll-cue{bottom:10px}
.maerd-home .work-slide figure{height:42svh}
.editor-styles-wrapper .maerd-home .scroll-cue{position:relative;left:auto;bottom:auto;transform:none;margin:20px auto}
/* Selected Works layout refinement: keep the frame fully visible and separate the title from the work. */
.maerd-home .maerd-works{padding-bottom:40px}
.maerd-home .work-frame{min-height:calc(100svh - 132px);padding:30px 24px 88px;overflow:visible}
.maerd-home #selected-works-title{margin-bottom:24px!important;line-height:1.1}
.maerd-home .work-slide figure{height:38svh}
.maerd-home .work-slide h2{margin-top:18px}
.maerd-home .work-caption{margin-top:12px!important}
@media(max-width:600px){.maerd-home .maerd-works{padding-bottom:32px}.maerd-home .work-frame{min-height:calc(100svh - 136px);padding:20px 14px 82px}.maerd-home #selected-works-title{margin-bottom:18px!important}.maerd-home .work-slide figure{height:36svh}.maerd-home .work-slide h2{margin-top:14px}}
