:root{color-scheme:light;--bg:#f7f8f7;--face:#fff;--text:#202d33;--muted:#51606a;--line:#d8dfdc;--navy:#254551;--link:#245775;--sage:#e5eee5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;line-height:1.5;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.52}a{color:var(--link)}h1,h2,h3,p,ol{margin:0}[hidden]{display:none!important}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,audio:focus-visible{outline:3px solid #3970b3;outline-offset:3px}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.skip:focus{position:fixed;top:8px;left:8px;z-index:5;background:white;padding:10px;border-radius:5px}.shell{width:min(100%,1030px);padding:0 clamp(16px,5vw,62px);margin:auto}header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;flex:none;font-weight:760;font-size:19px;letter-spacing:.025em;text-decoration:none;color:var(--text)}.logo,.tile{display:grid;place-items:center;flex:none}.logo{width:34px;height:34px;background:var(--navy);border-radius:10px}.logo svg{width:25px;height:25px}.header-label,.eyebrow,footer,.account-name{color:var(--muted);font-size:12px}.account{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}.account-name{font-size:14px;font-weight:650;max-width:min(40vw,260px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plain,.back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:transparent;border:0;border-radius:6px;padding:6px;color:var(--link);font-size:14px;font-weight:640;text-decoration:none;white-space:nowrap}.plain:hover,.back:hover{text-decoration:underline;text-underline-offset:4px}main{min-height:56vh;margin-top:clamp(22px,5vw,54px)}main:focus,h1:focus{outline:0}.eyebrow{display:flex;align-items:center;gap:8px;font-weight:700;letter-spacing:.085em}.eyebrow>span{width:22px;height:3px;border-radius:2px;background:#738c68}h1{font-weight:780;font-size:clamp(32px,5.8vw,56px);line-height:1.15;letter-spacing:-.055em;margin:7px 0;overflow-wrap:anywhere}.accent{color:#69844e;margin-left:1px}.lede{margin-top:10px;color:var(--muted);font-size:clamp(14px,2vw,17px);line-height:1.65;overflow-wrap:anywhere}.auth-layout{display:grid;gap:22px}.intro-links{display:none}.form-panel,.tool-card,.work-card,.player{border:1px solid var(--line);background:var(--face);border-radius:16px}.form-panel{padding:clamp(16px,3vw,28px);min-width:0}.switch{display:inline-flex;align-items:center;padding:3px;gap:2px;border-radius:9px;border:1px solid var(--line);background:#eff2f0}.switch button{border:0;border-radius:6px;min-height:40px;min-width:64px;background:transparent;font-weight:650;font-size:14px;color:#49585e}.switch button[aria-pressed=true]{color:#fff;background:var(--navy)}.form-panel form{display:grid;margin-top:15px}.form-panel h2,.player h2{font-size:20px;line-height:1.35;letter-spacing:-.02em}.form-panel label{font-size:14px;font-weight:650;margin:12px 0 4px}.form-panel small{margin-top:4px;color:var(--muted);font-size:12px}input{width:100%;min-width:0;border-radius:8px;border:1px solid #bdc9c7;background:#fff;min-height:45px;padding:9px 11px;font-size:16px;line-height:1.4}input::placeholder{color:#6c797d}.button,.track{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 15px;border-radius:8px;line-height:1.4;font-weight:650;font-size:14px;text-decoration:none}.primary{border:1px solid var(--navy);background:var(--navy);color:#fff}.primary:hover:enabled{background:#193945}.secondary{background:var(--face);border:1px solid #bdc9c7;color:#34525a}.secondary:hover:enabled{background:#eef2ef}.submit{margin-top:19px;justify-content:space-between}.submit>span{font-size:18px;line-height:1}.msg{font-size:14px;color:#8b3c28;line-height:1.6;margin-top:12px;overflow-wrap:anywhere}.global{padding:8px 11px;border:1px solid #ead0c8;border-radius:8px;background:#fff7f4}.heading{padding:3px 0 19px}.heading.compact{padding:5px 0 14px}.heading.compact h1{font-size:clamp(29px,4.5vw,45px)}.tool-grid,.works{display:grid;gap:12px}.tool-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-decoration:none;color:var(--text);min-width:0;padding:clamp(18px,3vw,27px)}.tool-card:hover,.work-card:hover{border-color:#94aaa4;background:#fcfefc}.tile{width:42px;height:42px;border-radius:12px;margin-bottom:2px}.tile.chat{background:#e8edf8;color:#3b588a}.tile.audio{background:var(--sage);color:#3c6852}.tile svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool-card h2{font-size:22px;line-height:1.35;letter-spacing:-.025em}.tool-card small{font-size:.72em;color:var(--muted);font-weight:600}.tool-card p,.work-circle,.player .msg,.notice p{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.card-cta{margin-top:auto;padding-top:8px;color:var(--link);font-size:14px;font-weight:670}.back{padding:0 5px 0 0}.search-form{display:flex;align-items:center;gap:6px;margin-bottom:14px}.search-form input{flex:1}.search-form button{flex:none}.works{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.work-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:12px;border-radius:11px;text-align:left}.work-art{display:grid;place-items:center;width:46px;height:46px;border-radius:8px;background:#e4eee7;color:#4e705c;overflow:hidden;font:650 13px/1 ui-monospace,Consolas,monospace}.work-art img{width:100%;height:100%;object-fit:cover}.work-title{display:block;font-size:15px;font-weight:690;overflow-wrap:anywhere}.work-circle{display:block;font-size:12px;margin-top:3px}.work-arrow{color:var(--link);font-size:16px}.pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:18px}.pagination span{font-size:13px;color:var(--muted)}.notice{padding:19px;border:1px dashed #c5d0ca;background:#fcfdfa;border-radius:12px;overflow-wrap:anywhere}.notice h1{font-size:28px}.notice p+button,.notice button{margin-top:12px}.player{padding:16px}.player h2{font-size:17px;overflow-wrap:anywhere;margin:5px 0 8px}audio{width:100%;display:block;min-height:42px}.tracks{list-style:none;padding:0;display:grid;gap:6px;margin-top:13px}.track{width:100%;align-items:center;justify-content:flex-start;border:1px solid var(--line);background:var(--face);text-align:left;padding:10px 12px;font-weight:550}.track:enabled:hover,.track[aria-pressed=true]{border-color:#8ca592;background:#eaf1e8}.track-num{color:#52705a;font:600 12px/1.4 ui-monospace,Consolas,monospace;flex:none}.track-name{min-width:0;overflow-wrap:anywhere}.track-name small{display:block;color:var(--muted);font-size:12px}.track:disabled{opacity:1;background:#eff1ef;color:#687477}.track-state{margin-left:auto;color:var(--muted);font-size:12px;flex:none}.initial{max-width:520px}footer{margin:clamp(26px,5vw,52px) 0 18px;border-top:1px solid var(--line);padding-top:13px}footer span{margin:0 5px}
@media(min-width:700px){
 header{min-height:78px}.auth-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:start;gap:clamp(24px,5vw,64px)}.auth-intro{padding-top:35px}.intro-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px;color:#6c7e6a;font:650 12px/1.5 ui-monospace,Consolas,monospace}.intro-links b{font:600 13px/1.5 sans-serif;color:var(--muted);margin-left:3px}.tool-grid{grid-template-columns:1fr 1fr}.tool-card{min-height:204px}.search-form{max-width:640px}.tracks{max-width:760px}
}
@media(max-width:350px){.shell{padding:0 12px}.search-form .button{padding-inline:10px}.track{gap:6px}.track-state{font-size:11px}.pagination .button{padding-inline:10px}}
@media(pointer:coarse){.switch button{min-height:44px}}
@media(prefers-reduced-motion:no-preference){.tool-card,.work-card,.track,.button{transition:background-color .14s,border-color .14s}}
.entry-intent{display:inline-flex;align-items:center;border:1px solid #c4d7c9;border-radius:8px;background:#eaf3e8;color:#355e43;padding:7px 11px;margin-top:12px;font-size:14px;font-weight:640}
.tool-type{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tile.external{color:#7a542c;background:#f4ecdc}.external-tag{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:2px 7px;border:1px solid #d8cbb1;border-radius:5px;color:#70542e;background:#fbf6ea;font-size:11px;font-weight:650;white-space:nowrap;vertical-align:middle}
.external-shelf{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:1px 0 16px;padding:12px 14px;border:1px solid #ded9ca;border-left:3px solid #a58d62;border-radius:10px;background:#fbf9f3}.external-shelf h2{font-size:16px;line-height:1.5;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.external-shelf p{margin:3px 0 0;font-size:13px;color:var(--muted)}.shelf-link{flex:none;background:#fffdf9;color:#624b2b;border:1px solid #cfc1a7}.shelf-link:hover{background:#f6efdf}
@media(min-width:510px){.external-shelf{flex-direction:row;justify-content:space-between;align-items:center;gap:12px}}
@media(min-width:700px){.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-card{padding:clamp(17px,2.2vw,24px)}}
.import-details{margin-top:17px;padding:0 13px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:#f8faf8}
.import-details summary{min-height:44px;line-height:1.5;padding:11px 0;cursor:pointer;font-size:14px;font-weight:650;overflow-wrap:anywhere}.import-details summary::marker{color:#637c69}.import-details summary:focus-visible{outline:3px solid #3970b3;outline-offset:2px}.import-details summary span{margin-left:6px;font-size:12px;color:var(--muted);font-weight:450}
.import-body{padding:4px 0 14px;display:grid;gap:9px}.import-body p{margin:0;font-size:13px;line-height:1.65;color:var(--muted)}.import-body label{display:block;font-size:13px;font-weight:650;margin-bottom:5px}.import-line{display:flex;align-items:center;max-width:540px;gap:6px}.import-line input{font-family:ui-monospace,Consolas,monospace;min-width:0;flex:1}.import-line button,.import-body>button{width:max-content;flex:none}.import-body>button{justify-self:start}
@media(max-width:440px){.import-line{flex-wrap:wrap}.import-line input{flex-basis:100%}.import-line button{min-height:44px}}
.add-actions,.add-heading,.add-controls{display:flex;align-items:center;gap:8px}.add-actions{margin:0 0 14px;flex-wrap:wrap}.add-heading{justify-content:space-between}.add-heading h2{font-size:19px;line-height:1.4;margin:0}.add-heading h2:focus{outline:none}.add-panel{max-width:700px;background:var(--face);border:1px solid var(--line);border-radius:12px;padding:12px clamp(12px,3vw,21px) 16px;margin:0 0 15px}
.add-form{display:grid;gap:10px;margin-top:11px}.add-form label{font-size:14px;font-weight:650;display:block;margin:0 0 4px}.add-form label>span{font-size:12px;font-weight:500;color:var(--muted)}.add-hint,.add-feedback,.transfer-progress span{margin:0;font-size:13px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.add-form input[type=file]{padding:5px 6px;font-size:14px}.add-form input::file-selector-button{min-height:33px;border:1px solid #c3d0c7;border-radius:5px;background:#eff4ef;color:#315143;margin-right:6px;font:inherit}.add-form input:disabled{background:#f5f6f4}.add-feedback,.transfer-progress{margin-top:10px}.add-feedback[data-error=true]{color:#8b3c28}.transfer-progress{display:grid;gap:4px}.transfer-progress progress{width:100%;height:11px;accent-color:#466b53}.added-message{border:1px solid #c8d8c9;background:#edf5ed;color:#35563e;padding:9px 12px;border-radius:8px;font-size:14px;margin:0 0 12px;overflow-wrap:anywhere}

.tile.film{background:#f8eae0;color:#854e34}
.save-review{max-width:720px;padding:13px clamp(13px,3vw,22px) 17px;margin-bottom:17px;border:1px solid #b7cbbd;border-left:4px solid #6e9176;background:#f9fcf8;border-radius:12px}.save-owner{margin:0 0 4px;font-size:15px;font-weight:650;overflow-wrap:anywhere;color:#345940}.save-form{display:grid;gap:9px;margin:10px 0 0}.save-form label{display:block;font-size:14px;font-weight:650;margin-bottom:4px}.save-form label span{font-weight:450;color:#51606a}.save-form summary{min-height:44px;padding:11px 0;cursor:pointer;font-size:13px;font-weight:650;color:#315343}.save-form summary:focus-visible{outline:3px solid #3970b3;outline-offset:2px}.save-actions{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap}.save-review .plain,.save-actions .button{white-space:normal}.links-list{list-style:none;padding:0;margin:0;display:grid;gap:7px}.links-list li{border:1px solid #d6dfd8;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 9px}.work-bookmark{min-width:0;display:inline-block;padding:9px 0;font-size:14px;font-weight:650;text-decoration:none;overflow-wrap:anywhere}.work-bookmark:hover,.helper-download:hover{text-decoration:underline}.link-manage{display:flex;align-items:center;gap:4px;flex:none}.helper-download{display:inline-block;padding:9px 0;min-height:44px;font-size:14px;font-weight:650}.links-list .plain{font-size:13px}.saved-links{margin-top:18px}
.save-help{margin:-5px 0 15px}.device-guide{list-style:none;padding:0;margin:0;display:grid;gap:10px}.device-guide li{padding-left:10px;border-left:2px solid #d3dfd2}.device-guide h3{font-size:14px;line-height:1.5;margin:0 0 2px}.device-guide p{margin:0}.device-guide .helper-download{display:inline;min-height:0;padding:0;font:inherit;font-weight:650}.device-guide a{font-weight:650;text-underline-offset:2px}.device-guide button{margin-top:6px}
.finder{min-width:0;margin:3px 0 18px;padding:clamp(14px,2.8vw,24px);border:1px solid #c6d6c9;border-radius:15px;background:#fafdF9}.finder-head,.finder-jobs-head{display:flex;align-items:center;justify-content:space-between;gap:9px}.finder-head h2{font-size:clamp(21px,3.3vw,29px);letter-spacing:-.035em;line-height:1.25;margin:3px 0}.finder h3{margin:0;font-size:16px;overflow-wrap:anywhere}.finder-hint,.finder-feedback,.finder-line-meta{font-size:13px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}.finder-feedback{margin:8px 0 0}.finder [data-error="true"]{color:#8b3c28}.finder-search{margin:12px 0 0;max-width:none}.finder-origin{flex:none}.finder-list{margin:0;padding:0;list-style:none}.finder-list>li{padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);min-width:0}.finder-summary{min-width:0}.finder-item-name{font-size:15px;font-weight:680;line-height:1.5;overflow-wrap:anywhere}.finder-actions{display:flex;align-items:center;gap:4px 8px;flex-wrap:wrap}.finder-actions .button{font-size:13px}.finder-list .finder-actions{flex:none}.finder-picker{padding:10px 12px 14px;margin-top:13px;border:1px solid #c7d5c8;border-radius:10px;background:#fff}.finder-tracks{display:grid;gap:3px;margin:6px 0;max-height:23rem;overflow:auto}.finder-track{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 0;cursor:pointer;color:var(--text);overflow-wrap:anywhere;font-size:14px}.finder-track input{width:18px;min-width:18px;min-height:18px;height:18px;padding:0;accent-color:#426950}.finder-track span{min-width:0}.finder-track small{display:block;color:var(--muted);font-size:12px}.finder-jobs{padding-top:8px;margin-top:15px;border-top:1px solid #d4dfd3}.finder-jobs-head h3{font-size:15px}.finder-list progress{display:block;width:min(210px,100%);height:8px;margin-top:4px;accent-color:#446b53}
@media(max-width:620px){.finder-list>li{align-items:flex-start;flex-direction:column;gap:3px}.finder-list .finder-actions{max-width:100%;flex-wrap:wrap}.finder .plain{white-space:normal}.finder .finder-origin{white-space:nowrap}.finder-search input{width:1px}.finder-search{width:100%}}
.local-library-label{margin:19px 0 8px;font-size:18px;letter-spacing:-.02em}


/* Hub board directory. Reuse the existing palette, focus ring and tool cards. */
.board-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.board-entry{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;min-width:0;padding:clamp(16px,2.8vw,25px);min-height:90px;text-decoration:none;color:var(--text);background:var(--face);border:1px solid var(--line);border-radius:16px}
.board-entry:hover{border-color:#94aaa4;background:#fcfefc}
.board-entry .tile{margin:0}.board-label h2{display:flex;align-items:center;gap:8px;font-size:21px;line-height:1.35}.board-label p{margin-top:3px;color:var(--muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.public-mark,.public-shortcut small{font-size:11px;line-height:1.5;font-weight:650;padding:1px 6px;border-radius:6px;color:#41634a;background:#ecf3e9}
.board-arrow{font-size:19px;color:var(--link)}.hub-board .back{margin-bottom:9px}.board-tools{grid-template-columns:minmax(0,1fr)}
.guest-board-nav{display:flex;gap:6px 8px;flex-wrap:wrap;margin-top:18px}.guest-board-nav a{min-height:42px;display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:8px;border:1px solid var(--line);color:var(--link);background:var(--face);font-size:14px;font-weight:650;text-decoration:none}.guest-board-nav a:hover{border-color:#94aaa4}
.board-share{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin-top:20px}.board-share>span,.board-share>label{font-size:14px;color:var(--muted)}.board-share label{flex-basis:100%}.board-share input{display:block;width:min(100%,420px);margin-top:4px}
@media(min-width:640px){.board-grid,.board-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.board-entry{min-height:106px}}

.album-panel{max-width:850px}.album-panel .add-hint{margin:5px 0}.album-pickers{display:grid;gap:10px;margin:13px 0}.album-pickers>div,.album-groups,.album-group,.album-body{min-width:0}.album-panel label{display:block;font-size:13px;font-weight:650}.album-panel input[type=file]{font-size:14px;padding:6px;margin-top:4px}.album-panel input::file-selector-button{min-height:30px;border:1px solid #b9c9c3;border-radius:5px;background:#eff4ef}.album-groups{display:grid;gap:10px;margin-top:12px}.album-group{border:1px solid #c9d7ca;background:#fbfdf9;border-radius:10px;padding:11px 12px}.album-group h3{font-size:16px;overflow-wrap:anywhere}.album-group p,.album-group small{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.album-body{display:grid;gap:7px;margin-top:7px}.album-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.album-match{display:flex;align-items:center;gap:5px}.album-match input{flex:1;width:1px}.album-match button{flex:none}.album-tracks{max-height:180px;overflow:auto}.album-group summary{cursor:pointer;min-height:40px;padding:9px 0;font-weight:650;font-size:13px}.album-group summary:focus-visible{outline:3px solid #3970b3;outline-offset:2px}.album-group ul{list-style:none;padding:0;margin:0}.album-group li{font-size:13px;padding:3px 0;overflow-wrap:anywhere}.album-group li[data-failed=true],.album-group [data-error=true]{color:#8b3c28}.album-info{display:flex;align-items:center;gap:10px;min-width:0}.album-info>span:last-child{min-width:0;overflow-wrap:anywhere}.album-art{width:62px;height:62px;display:grid;place-items:center;overflow:hidden;background:#edf0e9;color:#607061;border:1px solid #d5dfd3;border-radius:7px;flex:none;font-size:11px;text-align:center}.album-art img{width:100%;height:100%;object-fit:contain}.album-detail{display:flex;align-items:center;gap:13px;margin:0 0 13px}.album-detail .album-art{width:80px;height:80px}.album-meta,.track-directory{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.track-directory{padding:10px 3px 2px;font-weight:700}.album-panel button{max-width:100%;white-space:normal}.album-group .button{font-size:13px}
@media(min-width:640px){.album-pickers{grid-template-columns:1fr 1fr}.album-panel .album-folder-wrap{display:block}}
@media(max-width:380px){.album-match{flex-wrap:wrap}.album-match input{flex:1 1 100%}.album-info{gap:6px}.album-group{padding:9px}.album-groups{gap:8px}}
.album-panel label.album-check{display:flex;align-items:center;gap:6px;min-height:44px;cursor:pointer}.album-check input[type=checkbox]{width:18px;height:18px;min-width:18px;min-height:18px;padding:0;flex:none}

/* Image board: the canvas and its control stay side by side when there is space. */
.tile.image-tile{color:#67487a;background:#f0e8f3}
.image-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.image-panel{min-width:0;border:1px solid var(--line);border-radius:16px;padding:clamp(16px,2.8vw,25px);background:var(--face)}
.image-panel h2{margin:0;font-size:20px;line-height:1.4;letter-spacing:-.025em}
.image-composer{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.image-composer label{margin-top:8px;font-size:14px;font-weight:650}
.image-composer textarea,.image-composer select{font:inherit;color:var(--text);width:100%;min-width:0;border:1px solid #b8c6c0;background:white;border-radius:8px;padding:9px 11px}
.image-composer textarea{resize:vertical;min-height:7.1em;line-height:1.65}.image-composer textarea::placeholder{color:#65736d}
.image-composer select{min-height:44px}
.image-composer textarea:focus-visible,.image-composer select:focus-visible{outline:3px solid #3970b3;outline-offset:2px}
.image-composer .primary{align-self:flex-start;min-width:128px;justify-content:center;margin-top:9px}
.image-hint,.image-status,.image-no-record{color:var(--muted);font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.image-status{color:#335342;margin:4px 0 0}.image-status[data-error=true]{color:#873d2f}
.image-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-bottom:6px}
.image-head a{text-decoration:none}.image-head .button{gap:5px;font-size:13px;white-space:nowrap}
.image-stage{display:grid;place-items:center;min-height:220px;min-height:clamp(190px,29vw,350px);overflow:hidden;background:#f5f5f2;border:1px solid #dce1d9;border-radius:10px}
.image-empty{padding:20px;text-align:center;color:#526158;font-size:14px}.image-empty svg{width:44px;height:40px;color:#7b8f80}.image-empty p{margin:4px 0 0}
#image-preview{display:block;width:100%;height:auto;max-height:min(63vh,520px);object-fit:contain}
.image-caption{margin-top:9px}.image-archive{margin-top:15px}
#image-history{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:5px;padding:0;margin:11px 0 0}
#image-history>li{min-width:0}
.image-record{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:8px 12px;min-height:52px;border:1px solid var(--line);border-radius:9px;background:var(--face)}
.image-record:hover,.image-record[aria-pressed=true]{border-color:#9fb0a2;background:#f2f6f0}
.image-record-words{min-width:0}.image-record-words strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.5}
.image-record-words small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.image-badge{flex:none;padding:2px 7px;border-radius:5px;color:#5f5675;background:#f1edf5;font-size:12px;font-weight:630}
.image-badge[data-state=done]{color:#426048;background:#e7efe5}.image-badge[data-state=failed]{color:#8b4335;background:#f8eee8}
@media(min-width:720px){.image-workspace{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}}
.image-edit-context{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0}
.image-source-line{display:flex;align-items:center;gap:10px;min-width:0;margin:7px 0 2px;padding:7px;border:1px solid #d2dbd1;border-radius:9px;background:#f6f9f4}
.image-source-line img{flex:none;width:64px;height:64px;object-fit:contain;border-radius:5px;background:#edf0eb}
.image-source-line>div{min-width:0}.image-source-line strong,.image-source-line span{display:block}
.image-source-line strong{font-size:13px;color:#3d5646}
.image-source-line span{margin-top:3px;font-size:12px;color:var(--muted);line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.image-submit-actions,.image-preview-actions{display:flex;align-items:center;gap:5px 10px;flex-wrap:wrap;min-width:0;margin-top:7px}
.image-submit-actions .primary{margin-top:0}.image-preview-actions .button{font-size:13px}.image-preview-actions:has(>button[hidden]){display:none}

.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0 20px}.shelf-heading h1{margin:4px 0;font-size:clamp(32px,4.8vw,50px)}.shelf-heading>.button{flex:none}.shelf-lede,.shelf-range,.library-path small,.library-more summary span{color:var(--muted);font-size:13px}.shelf-list-head,.episode-heading{display:flex;align-items:baseline;gap:9px;margin:9px 0}.shelf-list-head h2,.episode-heading h2{font-size:clamp(19px,2.5vw,25px)}.shelf-range{font-variant-numeric:tabular-nums}.shelf-collection .search-form{max-width:470px;margin:0 0 13px}
#library .works{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}#library .work-card{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;min-width:0;height:100%;padding:0;overflow:hidden;border-radius:11px;background:var(--face);transition:border-color .15s;color:var(--text)}#library .work-card:focus-visible{outline-offset:2px}#library .work-art{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:4/3;display:grid;place-items:center;border-radius:0;background:#e8eee6;color:#5f7165;overflow:hidden}#library .work-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}#library .work-placeholder{font:600 11px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.04em}#library .work-caption{display:grid;gap:2px;padding:9px 10px 11px;min-width:0}#library .work-title{font-size:15px;font-weight:680;line-height:1.4;overflow-wrap:anywhere}#library .work-circle{font-size:12px;line-height:1.4;margin:0}#library .track-count{font-size:12px;line-height:1.4;color:#445f4f}
.library-actions{border:1px solid #c9d5c9;background:#fffefa;padding:clamp(11px,2vw,18px);border-radius:13px;margin:3px 0 18px}.library-choice{display:grid;grid-template-columns:1fr;gap:6px}.library-path{min-width:0;display:grid;grid-template-columns:24px minmax(0,1fr) 15px;align-items:center;gap:8px;padding:11px 8px;min-height:57px;border-radius:8px;background:#f5f8f2;border:1px solid #d5dfd1;text-decoration:none;text-align:left;color:var(--text)}.library-path:hover{background:#eaf1e7}.library-path strong,.library-path small{display:block;overflow-wrap:anywhere}.library-path strong{font-size:14px;font-weight:690}.library-path small{font-size:12px;margin-top:2px}.library-path-index{font:650 12px/1.4 ui-monospace,Consolas,monospace;color:#496653}.library-actions .finder,.library-actions .album-panel,.library-actions .add-panel{margin:10px 0 0}.library-more{margin-top:6px}.library-more>summary{font-size:14px;font-weight:680;cursor:pointer;min-height:44px;padding:11px 2px}.library-more>summary:focus-visible{outline:3px solid #3970b3;outline-offset:2px}.library-more summary span{font-size:12px;margin-left:4px}.library-extra{padding-top:2px}.library-extra .save-help,.library-extra .import-details{margin:6px 0}.library-extra>.add-actions{margin:0}
#detail .work-heading{display:grid;grid-template-columns:clamp(98px,24vw,180px) minmax(0,1fr);align-items:center;gap:clamp(12px,3vw,25px);margin:2px 0 15px}#detail .album-detail{margin:0;display:block}#detail .album-detail .album-art{width:100%;height:auto;aspect-ratio:1/1;border-radius:10px;font-size:12px}#detail .work-heading-copy{min-width:0}#detail .work-heading h1{font-size:clamp(22px,4vw,43px);line-height:1.23;margin:5px 0;letter-spacing:-.035em}#detail .work-heading .lede,#detail .album-meta{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.episode-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.episode-list{min-width:0}#detail .tracks{margin-top:0;max-width:none;gap:5px}#detail .track{min-height:46px}#detail #player-panel{min-width:0}#detail .episode-heading{margin:14px 0 8px}
@media(min-width:560px){#library .works{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.library-choice{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:790px){#library .works{grid-template-columns:repeat(4,minmax(0,1fr))}.episode-grid{grid-template-columns:minmax(0,1.6fr) minmax(260px,.85fr)}#detail #player-panel{position:sticky;top:10px}}
@media(max-width:360px){#library .work-caption{padding:8px}.shelf-heading{gap:5px}.shelf-heading>.button{padding:8px 10px}.shelf-heading h1{font-size:29px}.library-more summary span{display:block;margin-left:0}}
.shelf-alert{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.shelf-alert .added-message{min-width:0;flex:1 1 200px;margin:0 0 9px}.shelf-alert .plain{margin-bottom:9px}#collection-title:focus{outline:0}
.collection-top-actions,.collection-tabs,.collection-main,.collection-facts>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.collection-top-actions .button{white-space:normal}.collection-tabs{margin:12px 0 15px;border-bottom:1px solid var(--line);gap:3px}.collection-tabs button{font-size:14px;min-height:44px;font-weight:650;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);padding:8px 11px}.collection-tabs button[aria-pressed=true]{color:var(--navy);border-bottom-color:#47795d}.kind-caption{font-size:11px;font-weight:650;color:#715330;background:#f4edda;border-radius:4px;padding:1px 5px}.kind-caption.audio-kind{color:#406251;background:#e8efe5}.shelf-list-head #collection-reload{margin-left:auto;min-height:40px}.collection-state{font-size:13px;color:var(--muted);min-height:1em;margin:5px 0 8px;overflow-wrap:anywhere}.collection-state[data-error=true]{color:#8b3c28}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collection-card{min-width:0;color:var(--text);background:var(--face);border:1px solid var(--line);border-radius:11px;overflow:hidden;text-decoration:none;display:flex;flex-direction:column;align-items:stretch}.collection-card:hover{border-color:#a2b6a6}.collection-card-art,.collection-cover{display:grid;place-items:center;background:#f0eee5;color:#75664d;overflow:hidden;font-size:12px}.collection-card-art{width:100%;aspect-ratio:4/3;position:relative}.collection-card-art img,.collection-cover img{width:100%;height:100%;object-fit:contain}.collection-card-art img{position:absolute;inset:0}.collection-card-text{min-width:0;display:grid;gap:3px;padding:9px 10px;font-size:15px;line-height:1.45;overflow-wrap:anywhere}.collection-card-text small{font-size:12px;color:var(--muted)}.collection-card-text .source-word{font-size:11px;color:#6c563d}.collection-main{display:grid;grid-template-columns:clamp(92px,23vw,200px) minmax(0,1fr);gap:clamp(10px,3vw,24px);margin:8px 0 18px}.collection-cover{width:100%;aspect-ratio:3/4;border:1px solid var(--line);border-radius:11px}.collection-copy{min-width:0}.collection-copy h1{font-size:clamp(21px,4vw,42px)}.collection-copy p{overflow-wrap:anywhere}.collection-copy .collection-top-actions{margin-top:8px}#collection-detail-notice{font-size:13px;color:#685739;margin-top:9px}.collection-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:4px 16px;margin:12px 0}.collection-facts>div{align-items:baseline;border-top:1px solid var(--line);padding:6px 0;font-size:14px;line-height:1.45}.collection-facts dt{font-weight:650}.collection-facts dd{margin:0;overflow-wrap:anywhere;color:var(--muted)}#save-review[data-bookmark=true] #save-bookmark{color:#fff;background:var(--navy);border-color:var(--navy)}#save-review[data-bookmark=true] #save-form{display:flex;flex-direction:column}#save-review[data-bookmark=true] #save-form>div:nth-child(2){order:-1}#collection-section{margin-bottom:18px}
@media(min-width:560px){.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:790px){.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.collection-heading{align-items:flex-start;flex-direction:column;gap:6px}.collection-main{grid-template-columns:minmax(0,1fr)}.collection-cover{width:min(100%,215px);max-height:215px;aspect-ratio:1/1}}
