.collection-downloads{margin:16px 0;text-align:left;font-size:14px;letter-spacing:normal;line-height:1.5}
.collection-downloads[hidden]{display:none}
.download-menu{position:relative;display:inline-block;text-align:left}
.download-menu>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:12px;padding:9px 14px;min-height:44px;border:1px solid #65675d;border-radius:6px;font-size:14px;color:#eee}
.download-menu>summary::-webkit-details-marker{display:none}
.download-menu>summary::after{content:'⌄'}
.download-menu>summary:focus-visible,.download-options a:focus-visible{outline:2px solid #e8ef35;outline-offset:3px}
.download-options{position:absolute;z-index:15;top:calc(100% + 6px);left:0;width:290px;max-width:calc(100vw - 70px);padding:6px;background:#20221e;border:1px solid #53574a;border-radius:8px;box-shadow:0 10px 30px #0006}
.download-options>a,.download-options>button{display:block;width:100%;text-align:left;padding:12px;color:#eee;background:none;border:0;font:inherit;text-decoration:none;border-radius:4px;min-height:44px}
.download-options>a:hover,.download-options>button:not(:disabled):hover{background:#34382d}
.download-options>button:disabled{color:#a0a397;cursor:default}
.download-options small{display:block;margin-top:4px;font-size:12px;font-weight:normal}
.download-options p{padding:0 12px;color:#b4b6ad;font-size:12px}
.collection-project-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}
.collection-project-actions #copy-project,.single-download .download-menu>summary{min-height:44px;margin:0;padding:10px 13px;gap:8px;border:1px solid #65675d;border-radius:6px;font-size:13px;font-weight:500;line-height:22px;color:#e3e4de}
.collection-project-actions #copy-project{border-color:var(--yellow);max-width:100%}
.collection-project-actions #copy-project:hover,.single-download .download-menu>summary:hover{background:#ffffff08}
.single-download{margin:0;flex:none}
.single-download .download-menu>summary::after{content:none}
.download-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
.download-fallback{max-width:760px;padding:12px 14px;margin-top:12px;border:1px solid #45493e;border-radius:8px;background:#181b16}
.download-notice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.download-notice-copy{min-width:0;padding-top:3px}
.download-notice-status{display:flex;align-items:center;gap:8px}
.download-notice-status>span{color:var(--yellow)}
.download-notice-status strong{font-size:14px;font-weight:500}
.download-fallback p{color:#bfc2b6;font-size:13px;line-height:1.5;margin:4px 0 0}
.download-notice-controls{display:flex;align-items:center;gap:8px;flex:none}
.download-info{position:relative}
.download-info>summary{display:flex;align-items:center;gap:5px;min-height:32px;font-size:12px;color:#c6c8be;cursor:pointer;list-style:none}
.download-info>summary::-webkit-details-marker,.download-links>summary::-webkit-details-marker{display:none}
.download-notice-close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:4px;background:none;color:#c6c8be;font-size:23px;line-height:1}
.download-notice-close:hover{background:#ffffff0b}
.download-info-content{position:absolute;z-index:16;top:calc(100% + 6px);left:0;width:310px;max-width:calc(100vw - 48px);padding:12px 14px;background:#252820;border:1px solid #53574a;border-radius:8px;box-shadow:0 10px 30px #0006}
.download-info-content p{margin:0}
.download-info-content p+p{margin-top:8px}
.download-links{margin-top:8px}
.download-links>summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;font-size:13px;color:#c6c8be;cursor:pointer;list-style:none}
.download-links>summary::before{content:'▸';font-size:12px}
.download-links[open]>summary::before{content:'▾'}
.download-fallback ol{padding-left:22px;margin:4px 0 0;max-height:300px;overflow:auto}
.download-fallback a{display:inline-block;padding:9px 0;color:var(--yellow);overflow-wrap:anywhere}
.download-info>summary:focus-visible,.download-links>summary:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
@media(max-width:650px){.download-notice-head{flex-wrap:wrap;gap:4px}.download-notice-copy{flex:1 1 100%}.download-notice-controls{margin-left:auto}.download-info>summary,.download-notice-close,.download-links>summary{min-height:44px}.download-notice-close{width:36px}.download-links{margin-top:0}}
.download-preparation{margin:16px 0;padding:16px;border:1px solid #494d43;border-radius:8px}
.download-preparation h2{font-size:18px;margin:0 0 8px}
.download-preparation ul{padding-left:20px}
.download-preparation li{margin:8px 0;overflow-wrap:anywhere}
.download-preparation small{display:block;color:#bfc2b5;line-height:1.5}

/* Shared work action styling; download behavior and quality menu are unchanged. */
.project-actions #copy-project,.project-actions .external-link-action,.project-actions .single-download .download-menu>summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;margin:0;padding:10px 13px;border:1px solid #65675d;border-radius:6px;background:none;color:#e3e4de;font-size:13px;font-weight:500;line-height:22px;text-decoration:none;text-align:left}
.project-actions #copy-project:hover,.project-actions .external-link-action:hover,.project-actions .single-download .download-menu>summary:hover{background:#ffffff08;color:#e3e4de}
#project-external-links{min-width:0;max-width:min(320px,100%)}
.external-link-action>span:last-child:not(.external-link-icon){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.project-actions #copy-project svg,.external-link-icon,.project-actions .download-icon{flex:none;width:19px;height:19px;color:var(--yellow);fill:none;stroke:currentColor;stroke-width:1.7}
.external-link-options[popover]{position:fixed;inset:auto;margin:0;box-sizing:border-box;overflow:auto;max-width:none;color:#eee;font-size:14px;line-height:1.5}
.external-link-options a{display:flex;align-items:flex-start;gap:8px;overflow-wrap:anywhere}
.external-link-options a>span:last-child{min-width:0}
.project-actions #copy-project:focus-visible,.project-actions .external-link-action:focus-visible,.project-actions .single-download .download-menu>summary:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}

.project-actions :is(button,a,summary):is(:disabled,[aria-disabled=true]){opacity:.5;cursor:default}
