@import url('/base.css');
:root{--paper:#d9d3bc;--focus:#e8a044;--ink:#202a26;--signal:#edac59}body{background:#25342e;color:#e9e3cd;font-family:'Courier New',monospace;background-image:repeating-linear-gradient(90deg,#ffffff02 0 1px,transparent 1px 6px)}.shell{max-width:1090px}.masthead{padding-left:4px}.masthead h1{font-family:Impact,'Arial Narrow',sans-serif;font-size:94px;letter-spacing:.035em;text-transform:uppercase;line-height:.95;color:#f0b86b}.masthead .eyebrow{color:#c2ccb2}.masthead .tagline{font-family:Georgia,serif;font-style:italic;font-size:18px;color:#e0d9c2;margin-bottom:0}.masthead::after{content:'◉';position:absolute;right:5px;top:12px;color:#eeb464;font-size:92px}.edition-bar{border-color:#728073}.modes button{border-color:transparent}.modes button[aria-pressed=true]{background:#e1d7b8;color:#26352e}.brief{color:#ded9c2}.brief h2{font-family:Georgia,serif;font-weight:400}.puzzle-number{color:#eab568}.rules{border-color:#6f7a6a}.rules p{font-family:Georgia,serif;font-size:15px}.campaign-controls select{background:#283b32;color:#ebe3c8}.toolbar button{border-color:#8e9a83}.toolbar button:hover{background:#394c3e}.stats{border-bottom:1px dashed #82907d;padding-bottom:12px}.stat strong{color:#efbd7c}.stat-label{color:#bec4ae}.assistance{color:#bac4b4}.receiver{background:#c7c3a9;color:#253128;border:8px solid #17231d;box-shadow:0 3px 0 #0c1814,0 8px 0 #1d2b25;padding:16px 16px 10px;position:relative}.receiver::before,.receiver::after{content:'+';position:absolute;top:3px;font:18px monospace;color:#5e6352}.receiver::before{left:4px}.receiver::after{right:4px}.receiver-top,.receiver-bottom{display:flex;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:.06em}.receiver-top{border-bottom:1px solid #6b7360;padding:5px 0 10px}.power-light{display:inline-block;width:7px;height:7px;border-radius:50%;background:#536842;margin-right:4px}.scope{background:#152e27;border:3px solid #6c7562;box-shadow:inset 0 0 20px #020e09;margin:14px 0 12px;color:#8cba6a;padding:4px 6px 8px;overflow:hidden}.scope svg{display:block;width:100%;max-height:135px}.wave{stroke:#82977b;stroke-width:1.25;fill:none;opacity:.7}.wave.locked{stroke:#eeaf60;stroke-width:1.7;opacity:1}.scope-caption{font-size:8px;letter-spacing:.13em;display:block;text-align:center;margin-top:4px;color:#b7bd8a}.receiver-instruction{font:12px/1.4 Georgia,serif;text-align:center;margin:8px 0 16px}.channels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 8px}.channel{min-width:0;padding:0 6px 4px;border-left:1px solid #969d86;transition:background .12s}.channel.coupled{background:#f5e9c566}.channel-name{display:flex;align-items:center;gap:5px;font-size:8px;letter-spacing:.04em}.channel-name b{font-size:17px}.lock-light{margin-left:auto;font-size:15px;color:#5d6656}.tuned .lock-light{color:#2f5c36;font-weight:700}.frequency{height:49px;position:relative;margin:7px 0 9px;background:#eeead4;border:1px solid #7c846e}.target-marker{position:absolute;top:1px;transform:translateX(-50%);font-size:10px;color:#84551e}.frequency-ticks{display:flex;position:absolute;inset:18px 0 0;font-size:10px}.frequency-ticks span{width:25%;text-align:center;border-top:5px solid #a3a88c;background:repeating-linear-gradient(90deg,transparent 0 7px,#26372b44 7px 8px);line-height:18px}.needle{position:absolute;bottom:0;height:24px;width:2px;background:#c1532d;transform:translateX(-50%);transition:left .18s}.knob{height:46px;width:46px;margin:0 auto 10px;border:3px solid #354238;border-radius:50%;background:repeating-conic-gradient(#344135 0deg 7deg,#26332a 7deg 13deg);box-shadow:1px 3px 0 #7a806d;position:relative;transform:rotate(var(--angle));transition:transform .18s}.knob i{height:12px;width:3px;display:block;background:#f1c27f;position:absolute;top:3px;left:18px}.dial-buttons{display:flex;justify-content:center;gap:5px}.dial-buttons button{background:#e8e1c4;color:#273529;border-color:#6d7761;min-height:40px;flex:1;padding:0;font-size:24px;line-height:1}.dial-buttons button:hover{background:#f3c98b}.coupling{text-align:center;font-size:8px;margin:7px 0 0;letter-spacing:.03em;min-height:12px}.receiver-bottom{padding-top:12px;border-top:1px solid #8d967f;margin-top:13px;font-size:8px}.result{border-color:#edb66e}.result h3{font-family:Georgia,serif;font-weight:400;color:#efbd7c}.result-actions button{background:#e3d9ba;color:#25342e}.feedback{color:#e3c699}.site-credit{border-color:#69765f;color:#bac4ab}.storage-note{color:#edb66e}dialog{background:#25342e}.embedded .masthead::after{font-size:50px;top:4px}@media(max-width:760px){.masthead h1{font-size:75px}.masthead::after{font-size:70px;right:0}.receiver{padding:14px}.scope svg{max-height:110px}.workbench{gap:24px}.brief .objective{max-width:40em}}@media(max-width:390px){.masthead h1{font-size:59px}.masthead::after{font-size:45px;top:9px}.receiver{border-width:5px;padding:12px 7px 9px}.channels{gap:15px 3px}.channel{padding:0 4px 3px}.channel-name span:not(.lock-light){font-size:7px}.dial-buttons{gap:3px}.receiver-instruction{font-size:11px}.receiver-top{font-size:8px}.receiver-bottom{font-size:7px}.coupling{font-size:7px}.knob{width:40px;height:40px}.knob i{left:15px}.scope svg{max-height:100px}}

.embedded .receiver{padding:12px 10px 8px;border-width:5px}.embedded .scope{margin:10px 0 8px}.embedded .scope svg{max-height:82px}.embedded .receiver-instruction{margin:8px 0 10px;font-size:11px}.embedded .channels{gap:14px 6px}.embedded .frequency{height:39px;margin:5px 0 7px}.embedded .frequency-ticks{top:13px;line-height:17px}.embedded .frequency-ticks span{line-height:16px}.embedded .needle{height:20px}.embedded .knob{width:34px;height:34px;margin-bottom:7px}.embedded .knob i{left:12px;height:9px}.embedded .dial-buttons button{min-height:44px}.embedded .coupling{margin-top:5px}.embedded .receiver-bottom{padding-top:9px;margin-top:10px}.embedded .masthead::after{font-size:37px;top:0}.embedded .scope-caption{font-size:7px}@media(max-width:390px){.embedded .receiver{padding:11px 6px 8px}.embedded .channels{gap:12px 3px}.embedded .channel{padding:0 3px 3px}.embedded .receiver-top{font-size:7px}.embedded .receiver-bottom{font-size:6px}}

.embedded .receiver-instruction{display:none}.embedded .scope svg{max-height:60px}.embedded .scope{margin-bottom:12px}.embedded .channels{gap:10px 5px}.embedded .frequency{height:36px}.embedded .knob{width:30px;height:30px;margin-bottom:6px}.embedded .knob i{left:10px;top:2px;height:8px}.embedded .coupling{margin-top:4px}


/* Selected theme: portable. Promoted from visual study 3. */
:root { --paper: #f5f2e9; --focus: #db3e20; --study-bg: #f5f2e9; --study-ink: #252725; --study-muted: #676962; --study-line: #bbbbae; --study-accent: #cf3d24; --panel: #e9e7db; --panel-ink: #252725; }
body { background: var(--study-bg); color: var(--study-ink); font: 15px Arial, sans-serif; }
.shell { max-width: 1180px; padding-top: 32px; }
.masthead { padding: 0px; border-top: 8px solid var(--study-accent); }
.masthead h1 { font: clamp(55px, 8.5vw, 112px) / 0.92 Impact, "Arial Narrow", sans-serif; letter-spacing: -0.025em; text-transform: uppercase; color: var(--study-ink); margin: 17px 0px 14px; }
.masthead .eyebrow { font: 10px "Courier New", monospace; color: var(--study-accent); letter-spacing: 0.13em; margin: 14px 0px 0px; }
.masthead .tagline { font: 16px / 1.5 Arial, sans-serif; color: var(--study-muted); margin: 0px; }
.masthead::after { content: "CT / 04"; font: 11px "Courier New", monospace; color: var(--study-accent); right: 0px; top: 18px; }
.edition-bar { border-color: var(--study-ink); margin: 25px 0px; padding: 9px 0px; }
.modes button { border: 0px; font: 12px "Courier New", monospace; padding: 8px 12px; }
.modes button[aria-pressed="true"] { background: var(--study-ink); color: var(--study-bg); }
.edition { color: var(--study-muted); font: 10px "Courier New", monospace; }
.workbench { grid-template-columns: 220px minmax(0px, 1fr); gap: 36px; }
.brief { color: var(--study-ink); }
.brief h2 { font: 32px / 0.98 Georgia, serif; letter-spacing: -0.035em; }
.puzzle-number { color: var(--study-accent); font: 10px "Courier New", monospace; }
.objective { color: var(--study-muted); font: 14px / 1.6 Arial, sans-serif; }
.rules { color: var(--study-ink); border-color: var(--study-line); }
.rules p { font: 14px / 1.65 Arial, sans-serif; }
.rules summary { font: 12px "Courier New", monospace; }
.stats { font: 12px "Courier New", monospace; border: 0px; padding-bottom: 0px; margin-bottom: 12px; gap: 22px; }
.stat strong { color: var(--study-ink); font: bold 26px "Courier New", monospace; }
.stat-label, .assistance { color: var(--study-muted); }
.intro-coach { border-color: var(--study-line); }
.intro-coach button { font: 12px "Courier New", monospace; border-color: var(--study-line); }
.receiver { background: var(--panel); color: var(--panel-ink); border: 2px solid var(--study-ink); padding: 18px; box-shadow: none; }
.receiver::before, .receiver::after { display: none; }
.receiver-top, .receiver-bottom { font: 9px "Courier New", monospace; letter-spacing: 0.03em; border-color: var(--study-line); }
.receiver-top { padding: 0px 0px 10px; }
.receiver-bottom { padding-top: 12px; margin-top: 18px; }
.power-light { background: var(--study-accent); width: 6px; height: 6px; border-radius: 0px; }
.scope { background: transparent; color: var(--study-line); border-top: 0px; border-right: 0px; border-left: 0px; border-image: initial; border-bottom: 1px solid var(--study-line); box-shadow: none; margin: 12px 0px; padding: 0px 0px 8px; display: flex; align-items: center; gap: 20px; }
.scope svg { width: 65%; height: 68px; max-height: 68px; }
.wave { stroke: var(--study-muted); opacity: 0.65; }
.wave.locked { stroke: var(--study-accent); opacity: 1; stroke-width: 2; }
.scope-caption { font: 8px / 1.5 "Courier New", monospace; color: var(--study-muted); max-width: 105px; text-align: left; }
.receiver-instruction { font: 11px "Courier New", monospace; text-align: left; margin: 13px 0px 18px; }
.channels { grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 20px 0px; }
.channel { border-top: 0px; border-right: 0px; border-bottom: 0px; border-image: initial; border-left: 1px solid var(--study-line); padding: 0px 12px 6px; transition: none; }
.channel:first-child { border-left: 0px; }
.channel.coupled { background: rgba(214, 65, 34, 0.09); box-shadow: inset 0 3px var(--study-accent); }
.channel-name { font: 9px "Courier New", monospace; letter-spacing: 0.05em; }
.channel-name b { font: 36px Impact, sans-serif; }
.lock-light { font: 16px Arial, sans-serif; color: var(--study-muted); }
.tuned .lock-light { color: var(--study-accent); }
.frequency { height: 75px; border-top: 0px; border-right: 0px; border-left: 0px; border-image: initial; border-bottom: 1px solid var(--study-muted); background: rgb(248, 247, 239); margin: 10px 0px 12px; }
.target-marker { color: var(--study-accent); font-size: 14px; top: 3px; }
.frequency-ticks { inset: 26px 0px 0px; font: 14px "Courier New", monospace; }
.frequency-ticks span { border-top: 8px solid var(--study-line); background: none; line-height: 30px; }
.needle { height: 47px; width: 2px; background: var(--study-accent); }
.knob { display: none; }
.dial-buttons { gap: 0px; }
.dial-buttons button { background: transparent; color: var(--panel-ink); border: 1px solid var(--study-muted); font: 25px Arial, sans-serif; min-height: 44px; }
.dial-buttons button + button { border-left: 0px; }
.dial-buttons button:hover { background: var(--study-accent); color: var(--study-bg); }
.coupling { font: 9px / 1.3 "Courier New", monospace; letter-spacing: 0px; margin: 9px 0px 0px; min-height: 12px; }
.toolbar { font-family: "Courier New", monospace; }
.toolbar button { background: transparent; color: var(--study-ink); border-color: var(--study-line); }
.toolbar button:hover { background: var(--panel); }
.toolbar #hint { background: var(--study-ink); color: var(--study-bg); border-color: var(--study-ink); }
.feedback { font: 13px / 1.5 "Courier New", monospace; color: var(--study-accent); }
.result { border-color: var(--study-accent); }
.result h3 { font: 30px Georgia, serif; color: var(--study-ink); }
.result-actions button { background: var(--study-ink); color: var(--study-bg); }
.site-credit { font: 11px "Courier New", monospace; color: var(--study-muted); border-color: var(--study-line); }
dialog { background: var(--paper); color: var(--study-ink); }
html[data-theme="portable"] {
  --paper: #f6ecdd; --focus: #9d2e30; --study-bg: #ead8c0; --study-ink: #702b2c; --study-muted: #786653; --study-line: #c3a98c; --study-accent: #a33737; --panel: #f8edda; --panel-ink: #4b3d31;
  & .shell { max-width: 880px; }
  & .masthead { text-align: center; border: 0px; padding-top: 8px; }
  & .masthead .eyebrow { color: rgb(133, 106, 80); margin: 0px; }
  & .masthead h1 { font: bold clamp(48px, 8.5vw, 80px) / 1 Georgia, serif; letter-spacing: -0.07em; text-transform: none; margin: 12px 0px; }
  & .masthead .tagline { font: italic 16px Georgia, serif; margin: auto; }
  & .masthead::after { display: none; }
  & .edition-bar { border-color: rgb(174, 145, 117); margin: 26px auto 22px; max-width: 720px; }
  & .workbench { display: flex; flex-direction: column; gap: 24px; max-width: 720px; margin: auto; }
  & .stage { order: 1; }
  & .brief { order: 2; border-top: 1px solid rgb(174, 145, 117); padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0px 30px; }
  & .brief h2, & .brief .puzzle-number { grid-column: 1; }
  & .brief .objective { grid-area: 1 / 2 / 3; margin: 0px; }
  & .brief .rules { grid-column: 1 / -1; }
  & .stats { max-width: 640px; margin: 0px auto 13px; }
  & .receiver { border-width: 9px 9px 18px; border-style: solid; border-color: rgb(150, 58, 57); border-image: initial; border-radius: 24px 24px 16px 16px; padding: 18px 22px 12px; box-shadow: rgb(108, 46, 43) 0px 5px 0px, rgba(168, 137, 100, 0.16) 0px 16px 0px; position: relative; margin-bottom: 24px; }
  & .receiver::before { display: block; content: ""; width: 42%; height: 20px; border-width: 5px 5px 0px; border-style: solid solid none; border-color: rgb(139, 117, 97) rgb(139, 117, 97) currentcolor; border-image: initial; border-radius: 12px 12px 0px 0px; position: absolute; top: -29px; left: 29%; z-index: -1; }
  & .receiver::after { display: none; }
  & .receiver-top { border: 0px; color: rgb(118, 86, 74); }
  & .scope { background: repeating-linear-gradient(90deg, rgb(81, 60, 47) 0px, rgb(81, 60, 47) 2px, rgb(106, 81, 64) 2px, rgb(106, 81, 64) 4px); border: 5px solid rgb(189, 166, 138); border-radius: 8px; padding: 5px 8px; margin-top: 3px; color: rgb(132, 106, 80); gap: 14px; }
  & .scope svg { height: 50px; max-height: 50px; }
  & .wave { stroke: rgb(189, 155, 100); opacity: 0.6; }
  & .wave.locked { stroke: rgb(241, 210, 157); }
  & .scope-caption { color: rgb(236, 217, 187); font-size: 7px; }
  & .receiver-instruction { font: italic 12px Georgia, serif; text-align: center; color: rgb(120, 91, 69); }
  & .channels { gap: 18px 5px; }
  & .channel { border: 0px; padding: 6px 10px; border-radius: 6px; background: rgb(239, 225, 202); }
  & .channel.coupled { background: rgb(230, 204, 170); box-shadow: rgb(163, 55, 55) 0px 0px 0px 2px; }
  & .channel-name b { font: bold 22px Georgia, serif; }
  & .channel-name { font: 8px Arial, sans-serif; }
  & .frequency { height: 47px; border: 1px solid rgb(170, 146, 117); background: rgb(247, 241, 223); border-radius: 3px; margin: 7px 0px 10px; }
  & .frequency-ticks { inset: 16px 0px 0px; font-size: 11px; }
  & .frequency-ticks span { border-top: 3px solid rgb(187, 167, 131); line-height: 20px; }
  & .needle { height: 27px; }
  & .target-marker { font-size: 10px; top: 0px; }
  & .knob { display: block; border: 3px solid rgb(187, 173, 149); border-radius: 50%; width: 48px; height: 48px; background: repeating-conic-gradient(rgb(73, 68, 58) 0deg, rgb(73, 68, 58) 6deg, rgb(91, 83, 68) 6deg, rgb(91, 83, 68) 12deg); box-shadow: rgb(152, 123, 91) 0px 2px 0px; position: relative; margin: 0px auto 10px; transform: rotate(var(--angle)); }
  & .knob i { width: 3px; height: 12px; top: 3px; left: 19px; background: rgb(244, 225, 191); }
  & .dial-buttons { gap: 5px; }
  & .dial-buttons button { border-radius: 5px; background: rgb(248, 240, 223); box-shadow: rgb(198, 177, 149) 0px 2px 0px; min-height: 44px; font-size: 23px; border: 1px solid rgb(172, 148, 118) !important; }
  & .coupling { font-size: 8px; color: rgb(116, 95, 72); }
  & .receiver-bottom { font-size: 8px; color: rgb(139, 107, 80); }
  & .toolbar { max-width: 640px; margin: 16px auto 0px; }
  & .intro-coach { max-width: 640px; margin-left: auto; margin-right: auto; }
  & .brief h2 { font: 31px Georgia, serif; }
  & .site-credit { margin-top: 36px; }
}
@media (max-width: 760px) {
.shell { padding: 22px 20px 14px; }
.workbench { grid-template-columns: 1fr; gap: 20px; }
.brief { display: block; }
.masthead h1 { font-size: clamp(52px, 11.5vw, 86px); }
.receiver { padding: 14px; }
.channel { padding: 0px 10px 6px; }
html[data-theme="portable"] {
  & .brief { display: block; }
  & .masthead h1 { font-size: clamp(46px, 11vw, 76px); }
  & .receiver { padding: 14px 12px 10px; margin-top: 12px; }
  & .channel { padding: 6px 8px; }
  & .brief .objective { margin-bottom: 12px; }
}
}
@media (max-width: 430px) {
.shell { padding: 18px 14px 12px; }
.masthead::after { display: none; }
.masthead .eyebrow { font-size: 8px; }
.masthead h1 { font-size: clamp(45px, 13vw, 57px); }
.receiver { padding: 12px 6px; }
.receiver-top { font-size: 7px; }
.receiver-bottom { font-size: 6px; }
.channels { gap: 15px 0px; }
.channel { padding: 0px 6px 5px; }
.channel-name { gap: 3px; font-size: 7px; }
.channel-name b { font-size: 27px; }
.frequency { height: 64px; }
.frequency-ticks { font-size: 11px; inset: 24px 0px 0px; }
.frequency-ticks span { line-height: 26px; border-top-width: 5px; }
.needle { height: 37px; }
.coupling { font-size: 7px; }
.scope { gap: 10px; }
.scope svg { width: 62%; height: 54px; max-height: 54px; }
.scope-caption { font-size: 7px; letter-spacing: 0px; }
.receiver-instruction { font-size: 10px; line-height: 1.4; }
.edition-bar { margin: 18px 0px; }
.modes button { font-size: 11px; padding: 8px; }
.edition { font-size: 9px; }
.stats { gap: 14px; }
.assistance { font-size: 10px; }
html[data-theme="portable"] {
  & .receiver { padding: 12px 6px 8px; border-width: 7px 7px 13px; border-radius: 18px; }
  & .channels { gap: 12px 2px; }
  & .channel { padding: 5px 4px; }
  & .channel-name { font-size: 6px; }
  & .channel-name b { font-size: 20px; }
  & .scope { padding: 3px 6px; gap: 6px; }
  & .scope svg { height: 45px; }
  & .scope-caption { font-size: 6px; }
  & .knob { width: 40px; height: 40px; }
  & .knob i { left: 15px; height: 10px; }
  & .coupling { font-size: 6px; }
  & .receiver-bottom { font-size: 6px; }
  & .brief { padding-top: 18px; }
  & .dial-buttons button { font-size: 21px; }
  & .masthead h1 { font-size: clamp(44px, 13vw, 61px); }
}
}
.embedded .masthead { padding-top: 0px; }
.embedded .masthead h1 { font-size: 40px; }
.embedded .masthead::after { display: none; }
.embedded .workbench { gap: 12px; }
.embedded .receiver { padding: 10px 8px; }
.embedded .scope svg { height: 46px; max-height: 46px; }
.embedded .receiver-instruction { display: none; }
.embedded .frequency { height: 46px; }
.embedded .frequency-ticks { inset: 17px 0px 0px; font-size: 10px; }
.embedded .frequency-ticks span { border-top-width: 4px; line-height: 19px; }
.embedded .needle { height: 27px; }
.embedded .channel-name b { font-size: 23px; }
.embedded .channel-name { font-size: 7px; }
.embedded .channels { gap: 12px 0px; }
.embedded .receiver-bottom { margin-top: 12px; }
.embedded .knob { display: none; }
html[data-theme="portable"] .embedded {
  & .receiver { margin-top: 14px; margin-bottom: 12px; border-width: 6px 6px 12px; }
  & .receiver::before { height: 16px; top: -22px; border-width: 4px; }
  & .channel { padding: 4px; }
  & .scope { margin-top: 3px; }
  & .receiver-instruction { display: none; }
  & .workbench { gap: 12px; }
  & .brief { padding-top: 12px; }
  & .site-credit { margin-top: 16px; }
  & .frequency { height: 39px; }
  & .frequency-ticks { inset: 13px 0px 0px; }
  & .frequency-ticks span { line-height: 17px; }
  & .needle { height: 23px; }
  & .coupling { margin-top: 6px; }
}
@media (min-width: 761px) {
html[data-theme="portable"] .embedded .workbench { flex-direction: row; gap: 24px; align-items: start; }
html[data-theme="portable"] .embedded .stage { flex: 1 1 0%; }
html[data-theme="portable"] .embedded .brief { width: 200px; border: 0px; padding: 0px; display: block; }
}
html[data-theme="portable"] .embedded .masthead h1 { font-size: 40px; }
html[data-theme="portable"] .embedded .knob { display: block; width: 24px; height: 24px; border-width: 2px; margin: 0px auto 6px; }
html[data-theme="portable"] .embedded .knob i { left: 9px; top: 2px; height: 7px; width: 2px; }
@media (min-width: 761px) {
html[data-theme="portable"] .daily-only .brief { grid-template-columns: 1fr 1fr; }
}
