.remaster-page { --remaster-muted: #66675f; background: #080908; font-family: "Archivo", Arial, sans-serif; }
.remaster-page [hidden] { display: none !important; }
.remaster-page button, .remaster-page a { -webkit-tap-highlight-color: transparent; }
.remaster-page button { font-family: inherit; }
.remaster-page button:not(:disabled) { cursor: pointer; }
.remaster-page :focus-visible { outline: 3px solid #6c40df; outline-offset: 5px; }
.remaster-page .skip-link { top: 0; transform: translateY(-200%); opacity: 0; }
.remaster-page .skip-link:focus-visible { top: 1rem; transform: none; opacity: 1; }
.remaster-header { height: 66px; display: flex; align-items: stretch; border-bottom: 1px solid #41423d; }
.remaster-wordmark { display: grid; place-items: center; width: 88px; flex: 0 0 auto; background: var(--acid); color: var(--ink); font-family: "Archivo Black", Arial, sans-serif; font-size: 1.35rem; }
.back-link { display: flex; align-items: center; gap: 16px; padding-inline: 28px; font-size: .85rem; }
.back-link:hover, .remaster-footer a:hover { color: var(--acid); }
.back-link > span { font-size: 1.35rem; }
.header-note { margin-left: auto; align-self: center; margin-right: max(24px, calc((100vw - 1160px) / 2)); color: #b9bbb0; }
main.remaster-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.remaster-intro { padding-block: 57px 42px; }
.intro-topline { display: flex; justify-content: space-between; color: var(--acid); font-size: .69rem; }
.remaster-intro h1 { margin: 22px 0 25px; padding: 0; flex: none; display: flex; flex-direction: row; justify-content: space-between; align-items: center; font-family: "Archivo Black", "Arial Black", Arial, sans-serif; font-size: clamp(3.3rem, 10.9vw, 9.5rem); font-weight: 900; letter-spacing: -.075em; line-height: 1; }
.remaster-intro h1 > span { align-self: center; color: var(--acid); font-family: Arial, sans-serif; font-weight: 700; font-size: .93em; line-height: .75; transform: translateY(-.06em); }
.intro-bottomline { display: flex; justify-content: space-between; align-items: center; }
.intro-bottomline > p { margin: 0; font-size: clamp(1.1rem, 2.3vw, 1.6rem); line-height: 1.4; letter-spacing: -.035em; }
.intro-bottomline > p > span { color: #aeb0a6; }
.signal-mark { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 64px; width: 224px; margin-right: 7px; }
.signal-mark i { background: var(--acid); height: 12%; width: 4px; }
.signal-mark i:nth-child(3n) { height: 45%; }
.signal-mark i:nth-child(4n) { height: 80%; }
.signal-mark i:nth-child(5n) { height: 60%; }
.signal-mark i:nth-child(7n) { height: 96%; }
.remaster-tool { padding: 32px; background: var(--paper); color: var(--ink); }
.tool-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.tool-topline h2 { font-size: 1.15rem; letter-spacing: -.035em; font-weight: 600; margin: 0; }
.tool-step { color: #55564e; font-size: .68rem; white-space: nowrap; }
.file-input { display: none; }
.dropzone { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 258px; padding: 28px 20px; width: 100%; color: var(--ink); background: #e8e9e2; border: 1px dashed #94968b; transition: background 160ms, border-color 160ms; }
.dropzone:hover, .dropzone.is-dragging { background: #e7edb9; border-color: var(--ink); }
.dropzone:disabled { cursor: wait; }
.upload-symbol { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #b6b9a6; border-radius: 50%; font-size: 1.65rem; line-height: 1; margin-bottom: 18px; }
.dropzone-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.045em; }
.dropzone-subtitle { margin-top: 8px; font-size: .9rem; color: #57594e; }
.dropzone-subtitle > span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.file-help { color: #626456; font-size: .62rem; letter-spacing: .025em; margin-top: 24px; line-height: 1.6; }
.selected-file { display: flex; align-items: center; gap: 18px; min-height: 125px; padding: 22px 24px; background: #e4e6dc; border: 1px solid #c4c7b7; }
.file-symbol { display: grid; place-items: center; height: 51px; width: 51px; flex: 0 0 auto; background: var(--acid); font-size: 1.8rem; }
.file-description { flex: 1; min-width: 0; }
.file-description p { margin: 0; }
#file-name { overflow-wrap: anywhere; font-size: 1.1rem; line-height: 1.35; }
#file-details { margin-top: 7px; font-size: .66rem; color: var(--remaster-muted); letter-spacing: .02em; }
.text-button { padding: 10px 0; background: transparent; color: var(--ink); font-size: .83rem; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { text-decoration-thickness: 2px; }
.text-button:disabled { color: #76786d; }
.start-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; }
.start-row > p { font-size: .89rem; color: #606255; margin: 0; line-height: 1.5; }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: space-between; gap: 45px; min-height: 59px; padding: 16px 23px; border: 1px solid var(--ink); background: var(--acid); color: var(--ink); font-size: 1rem; font-weight: 600; text-align: left; }
.primary-button > span:last-child, .secondary-button > span:last-child { font-size: 1.5rem; line-height: 1; }
.primary-button:hover:not(:disabled) { background: #dfed12; }
.primary-button:disabled { background: #dcddd4; border-color: #babdaf; color: #717567; cursor: not-allowed; }
.secondary-button { background: transparent; }
.secondary-button:hover:not(:disabled) { background: #e0e2d8; }
.secondary-button:disabled { opacity: .65; cursor: wait; }
.process-panel { display: grid; grid-template-columns: auto 1fr auto; gap: 15px 24px; align-items: center; margin-block: 30px 23px; padding: 28px 24px; background: #e3e5da; }
.process-icon { height: 40px; display: flex; align-items: center; gap: 4px; }
.process-icon i { height: 20px; width: 4px; background: var(--ink); animation: pulse-bar 1100ms ease-in-out infinite alternate; }
.process-icon i:nth-child(2n) { animation-delay: -700ms; }
.process-icon i:nth-child(3n) { animation-delay: -400ms; }
.process-copy h3 { margin: 0 0 6px; font-size: 1.15rem; letter-spacing: -.03em; }
.process-copy p { margin: 0; color: #55594a; font-size: .84rem; line-height: 1.5; }
.process-counter { font-size: .85rem; min-width: 48px; text-align: right; }
#upload-progress { grid-column: 1 / -1; appearance: none; width: 100%; height: 5px; border: none; background: #bdc0b2; color: #4b5621; }
#upload-progress::-webkit-progress-bar { background: #bdc0b2; }
#upload-progress::-webkit-progress-value { background: #4b5621; }
#upload-progress::-moz-progress-bar { background: #4b5621; }
.error-panel { border-left: 3px solid #a22b12; background: #f0dfd6; padding: 15px 18px; margin-top: 22px; color: #702410; }
.error-panel p { margin: 0; font-size: .91rem; line-height: 1.5; }
.status-message { font-size: .8rem; line-height: 1.5; color: #515449; margin: 15px 0 0; }
.status-message:empty { display: none; }
.privacy-note { color: #686b5e; font-size: .69rem; line-height: 1.6; margin: 26px 0 0; border-top: 1px solid #c7cabc; padding-top: 15px; }
.result-heading-row { display: flex; align-items: center; justify-content: space-between; padding-block: 8px 30px; }
.result-label { font-size: .65rem; color: #686b5e; margin: 0 0 16px; }
.result-heading-row h3 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 0; letter-spacing: -.07em; line-height: 1.03; font-weight: 600; }
.ready-symbol { display: grid; place-items: center; background: var(--acid); height: 90px; width: 90px; font-family: Arial, sans-serif; font-size: 4.1rem; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.listen-panel { min-width: 0; border: 1px solid #c4c7b7; padding: 22px 15px 17px; }
.listen-panel--master { border-color: #8c9362; background: #e5e9d0; }
.listen-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 19px; padding-inline: 4px; }
.listen-label .mono { font-size: .66rem; letter-spacing: .04em; }
.listen-label > span:last-child { color: #697054; }
.listen-panel audio { display: block; width: 100%; height: 43px; }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.downloads small { display: block; font-family: "IBM Plex Mono", monospace; font-size: .65rem; letter-spacing: .04em; font-weight: 400; margin-top: 6px; }
.download-status { margin-block: 14px 0; font-size: .8rem; color: #515449; line-height: 1.5; }
.download-status:empty { display: none; }
.result-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; }
.result-footer > p { margin: 0; font-size: .72rem; color: #666b5a; line-height: 1.5; }
.master-notes { margin-top: 22px; padding-top: 17px; border-top: 1px solid #c7cabc; }
.master-notes summary { cursor: pointer; font-size: .8rem; }
.master-notes ul { padding-left: 18px; }
.master-notes li, .master-notes > p { color: #565c4a; font-size: .8rem; line-height: 1.6; }
.remaster-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-block: 26px 40px; }
.remaster-footer > p { color: #a4a89a; font-size: .76rem; line-height: 1.6; margin: 0; }
.remaster-footer > a { font-size: .8rem; padding-block: 3px; white-space: nowrap; }
.noscript-message { padding: 20px; margin: 0; background: var(--acid); color: var(--ink); text-align: center; }
@keyframes pulse-bar { from { transform: scaleY(.5); } to { transform: scaleY(1.6); } }
@media (min-width: 1440px) { .remaster-intro h1 { font-size: 9.5rem; } }
@media (max-width: 700px) {
  main.remaster-shell { width: calc(100% - 32px); }
  .remaster-header { height: 57px; }
  .remaster-wordmark { width: 70px; font-size: 1.2rem; }
  .back-link { padding-inline: 19px; gap: 11px; font-size: .8rem; }
  .header-note { margin-right: 18px; font-size: .6rem; letter-spacing: .02em; }
  .remaster-intro { padding-block: 34px 31px; }
  .intro-topline { font-size: .58rem; letter-spacing: .025em; }
  .remaster-intro h1 { margin-block: 22px; font-size: 10.35vw; }
  .intro-bottomline > p { font-size: 1.05rem; }
  .signal-mark { width: 135px; height: 45px; gap: 4px; margin: 0; }
  .signal-mark i { width: 3px; }
  .remaster-tool { padding: 22px 19px; }
  .tool-topline { align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .tool-topline h2 { max-width: 190px; font-size: 1rem; line-height: 1.35; }
  .tool-step { font-size: .56rem; line-height: 1.65; letter-spacing: .02em; }
  .dropzone { min-height: 239px; padding-inline: 10px; }
  .dropzone-title { font-size: 1.32rem; }
  .file-help { font-size: .55rem; letter-spacing: 0; }
  .start-row { align-items: stretch; flex-direction: column; gap: 20px; margin-top: 22px; }
  .start-row > p { font-size: .82rem; }
  .start-row .primary-button { width: 100%; }
  .selected-file { padding: 20px 15px; gap: 12px; flex-wrap: wrap; }
  .file-symbol { width: 42px; height: 45px; font-size: 1.5rem; }
  #file-name { font-size: .95rem; }
  #file-details { font-size: .57rem; }
  .selected-file > .text-button { margin-left: 54px; }
  .process-panel { padding: 22px 16px; grid-template-columns: auto 1fr; gap: 15px; }
  .process-copy h3 { font-size: 1.05rem; }
  .process-copy p { font-size: .8rem; }
  .process-counter { grid-column: 2; text-align: left; }
  .result-heading-row { padding-block: 4px 24px; }
  .result-label { font-size: .55rem; letter-spacing: .03em; }
  .ready-symbol { height: 62px; width: 62px; font-size: 3rem; }
  .comparison, .downloads { grid-template-columns: 1fr; }
  .listen-panel { padding: 18px 12px 15px; }
  .listen-label { margin-bottom: 14px; }
  .result-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .privacy-note { font-size: .65rem; }
  .remaster-footer { flex-direction: column; gap: 20px; padding-block: 23px 35px; }
  .remaster-footer > p { font-size: .69rem; }
}
@media (max-width: 365px) { .header-note { display: none; } .intro-topline { font-size: .52rem; } .signal-mark { width: 97px; } .tool-topline { flex-direction: column; gap: 7px; } .tool-topline h2 { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .remaster-page { scroll-behavior: auto; } .remaster-page *, .remaster-page *::before, .remaster-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
