@charset "UTF-8";
#association {
    max-width: 45%;
    text-align: right;
    overflow-wrap: anywhere;
}
:root {
    color-scheme:dark;
    --bg:#0a171b;
    --surface:#102329;
    --surface-raised:#163139;
    --ink:#e9f3ed;
    --muted:#9cb2b3;
    --teal:#78e4c1;
    --amber:#efca8a;
    --line:#ffffff12;
    --error:#ffb6a8;
    --radius:24px;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-synthesis:none
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background:radial-gradient(ellipse at 8% 3%,#173a3c55,transparent 45%),var(--bg);
    color:var(--ink);
    line-height:1.55;
    min-height:100svh
}
button,input,select,textarea {
    font:inherit
}
button,a,input,select,textarea {
    -webkit-tap-highlight-color:transparent
}
button,a {
    touch-action:manipulation
}
button {
    cursor:pointer
}
button:disabled {
    cursor:default;
    opacity:.45
}
a {
    color:inherit;
    text-decoration:none
}
svg {
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round
}
h1,h2,p {
    margin:0
}
h1 {
    font-size:clamp(30px,3.2vw,45px);
    font-weight:500;
    letter-spacing:-1.8px;
    line-height:1.2
}
h2 {
    font-size:32px;
    font-weight:500;
    letter-spacing:-1.2px;
    line-height:1.2;
    margin-bottom:20px
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline:3px solid var(--amber);
    outline-offset:4px
}
[hidden] {
    display:none!important
}
.shell {
    width:min(1240px,100%);
    margin:0 auto;
    padding:0 36px
}
.cluster {
    display:flex;
    align-items:center;
    gap:16px
}
.spread {
    justify-content:space-between
}
.stack {
    display:flex;
    flex-direction:column;
    gap:22px
}
.muted {
    color:var(--muted)
}
.surface {
    background:linear-gradient(125deg,#ffffff03,transparent),var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius)
}
.kicker {
    font-size:10px;
    font-weight:700;
    letter-spacing:2px;
    color:var(--muted)
}
.tiny-label {
    font-size:10px;
    letter-spacing:1px;
    color:var(--muted)
}
.fine-print {
    font-size:12px;
    color:var(--muted);
    line-height:1.65
}
.text-button,.text-link {
    border:0;
    background:none;
    color:var(--ink);
    font-size:12px;
    padding:7px 0;
    display:inline-flex;
    align-items:center;
    gap:9px
}
.text-button:hover,.text-link:hover {
    color:var(--teal)
}
.text-button svg {
    width:17px;
    height:17px
}
.icon-button {
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border:1px solid var(--line);
    border-radius:50%;
    background:#ffffff04;
    color:var(--muted);
    font-size:18px
}
.icon-button:hover {
    background:var(--surface-raised);
    color:var(--ink)
}
.primary-button,.secondary-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:14px 22px;
    min-height:50px;
    border-radius:12px;
    border:0;
    background:var(--teal);
    color:#102e2a;
    font-size:14px;
    font-weight:650;
    transition:background .2s,transform .2s
}
.primary-button:hover:not(:disabled) {
    background:#a5f3d7;
    transform:translateY(-1px)
}
.secondary-button {
    background:var(--surface-raised);
    color:var(--ink)
}
.secondary-button:hover {
    background:#21434a
}
.full-width {
    width:100%
}
.masthead {
    height:94px;
    border-bottom:1px solid var(--line)
}
.brand {
    font-size:26px;
    font-weight:650;
    letter-spacing:-1.2px;
    gap:11px
}
.brand-light {
    font-weight:350
}
.brand-dot {
    color:var(--teal)
}
.masthead nav {
    gap:18px
}
.desktop-link {
    margin-right:12px
}
.playtest-banner {
    margin-top:23px;
    font-size:9px;
    letter-spacing:1.4px;
    color:var(--amber);
    gap:10px
}
.status-dot {
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--amber)
}
.banner-detail {
    letter-spacing:0;
    font-size:11px;
    color:var(--muted);
    margin-left:5px
}
.intro {
    padding:30px 0 35px;
    align-items:end
}
.intro .kicker {
    margin-bottom:13px;
    color:#9fb9b5
}
.accent-serif {
    font-family:Georgia,"Times New Roman",serif;
    font-weight:400;
    font-style:italic;
    color:var(--teal)
}
.intro-copy {
    font-size:13px;
    color:var(--muted);
    margin-top:14px
}
.journey-number {
    display:flex;
    flex-direction:column;
    gap:5px;
    text-align:right;
    padding-bottom:5px
}
.journey-number>span:last-child {
    font-family:Georgia,serif;
    font-style:italic;
    font-size:24px;
    color:#c3d8ce
}
.game-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) 285px;
    gap:18px
}
.atlas {
    position:relative;
    overflow:hidden;
    min-height:400px
}
.atlas-header {
    padding:25px 28px 0;
    position:relative;
    z-index:1
}
.atlas-subtitle {
    font-family:Georgia,serif;
    font-size:13px;
    color:var(--muted);
    margin-top:5px;
    font-style:italic
}
.mode-tag {
    font-size:9px;
    letter-spacing:1.5px;
    background:#81e5c010;
    color:var(--teal);
    padding:7px 10px;
    border-radius:20px
}
.map {
    position:relative;
    padding:38px 35px 25px;
    min-height:295px;
    isolation:isolate;
    background-image:radial-gradient(#afdbd216 .7px,transparent .7px);
    background-size:20px 20px
}
.map-orbit {
    position:absolute;
    border:1px solid #b4f9df09;
    border-radius:50%;
    width:440px;
    height:440px;
    top:-50px;
    left:-100px;
    z-index:-1;
    pointer-events:none
}
.orbit-two {
    width:660px;
    height:660px;
    left:-210px;
    top:-160px
}
.nodes {
    display:grid;
    position:relative;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:repeat(2,108px);
    grid-template-areas:"a b c d" "h g f e";
    gap:14px 12px;
    z-index:2
}
.step-0 {
    grid-area:a
}
.step-1 {
    grid-area:b
}
.step-2 {
    grid-area:c
}
.step-3 {
    grid-area:d
}
.step-4 {
    grid-area:e
}
.step-5 {
    grid-area:f
}
.step-6 {
    grid-area:g
}
.step-7 {
    grid-area:h
}
.word-node {
    align-self:center;
    justify-self:center;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:4px;
    width:100%;
    max-width:145px;
    min-height:70px;
    border:1px solid #bde2d91a;
    border-radius:15px;
    background:#153037;
    color:var(--ink);
    transition:background .2s,box-shadow .3s
}
.node-word {
    font-size:clamp(12px,1.25vw,16px);
    font-weight:550;
    letter-spacing:-.4px;
    max-width:100%;
    overflow-wrap:anywhere;
    padding:0 5px
}
.node-label {
    font-size:8px;
    font-weight:600;
    letter-spacing:1.7px;
    color:var(--muted)
}
.word-node.is-start {
    background:#1c3e3c;
    border-color:#86e3c852
}
.is-start .node-label {
    color:var(--teal)
}
.word-node.is-current {
    box-shadow:0 0 0 5px #75e2c00a,0 0 30px #75e2c00b;
    border-color:var(--teal);
    background:#22463f
}
.is-current .node-word {
    color:#dcfff0
}
.word-node.is-empty {
    background:#1023299e;
    min-height:52px;
    max-width:60px;
    border-style:dashed;
    color:#799b9d55
}
.is-empty .node-word {
    font-size:14px;
    font-weight:400;
    letter-spacing:1px
}
.word-node.is-pending {
    opacity:.7;
    animation:breathe 1s infinite alternate
}
.word-node.is-new {
    animation:arrive .4s ease-out
}
.connections {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    z-index:1;
    overflow:visible;
    pointer-events:none
}
.route-edge {
    stroke:#658a8444;
    stroke-width:1.3;
    stroke-dasharray:3 7;
    fill:none
}
.route-edge.is-connected {
    stroke:var(--teal);
    stroke-width:1.7;
    stroke-dasharray:none;
    opacity:.75
}
.route-edge.is-connected:last-child {
    animation:route-in .5s ease-out
}
.atlas-footer {
    position:relative;
    padding:10px 28px 23px;
    color:var(--muted);
    font-size:9px;
    gap:10px
}
.map-legend {
    gap:7px
}
.legend-dot {
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--teal)
}
.journey-panel {
    gap:16px
}
.score-panel {
    padding:24px
}
.score-number {
    display:flex;
    align-items:baseline;
    gap:9px;
    padding:10px 0 18px
}
.score-number>span:first-child {
    font-size:58px;
    font-weight:350;
    letter-spacing:-3px;
    line-height:1.25;
    font-variant-numeric:tabular-nums
}
.score-unit {
    font-size:12px;
    color:var(--muted)
}
.score-components {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
}
.score-components>div {
    display:flex;
    flex-direction:column;
    gap:8px
}
.metric-label {
    font-size:10px;
    color:var(--muted)
}
.score-components strong {
    font-size:21px;
    font-weight:450;
    font-variant-numeric:tabular-nums
}
.score-components strong span {
    font-size:12px;
    color:var(--muted);
    margin-left:2px
}
.drift-track {
    height:3px;
    background:#91d2c018;
    border-radius:3px;
    overflow:hidden;
    margin:19px 0 15px
}
.drift-fill {
    background:linear-gradient(90deg,#80ddbf,var(--amber));
    height:100%;
    transform-origin:left;
    transition:transform .5s ease
}
.drift-0 {
    transform:scaleX(0)
}
.drift-1 {
    transform:scaleX(.1)
}
.drift-2 {
    transform:scaleX(.2)
}
.drift-3 {
    transform:scaleX(.3)
}
.drift-4 {
    transform:scaleX(.4)
}
.drift-5 {
    transform:scaleX(.5)
}
.drift-6 {
    transform:scaleX(.6)
}
.drift-7 {
    transform:scaleX(.7)
}
.drift-8 {
    transform:scaleX(.8)
}
.drift-9 {
    transform:scaleX(.9)
}
.drift-10 {
    transform:scaleX(1)
}
.progress-panel {
    padding:21px 24px
}
.move-count {
    font-size:12px;
    color:var(--teal)
}
.progress-pips {
    display:flex;
    gap:7px;
    padding:0;
    margin:19px 0 12px;
    list-style:none
}
.progress-pips li {
    flex:1;
    height:5px;
    border-radius:4px;
    background:#8eaead25
}
.progress-pips li.filled {
    background:var(--teal)
}
.discovery-note {
    display:flex;
    align-items:start;
    gap:12px;
    padding:0 6px;
    font-size:11px;
    color:#c5d5cf;
    line-height:1.9
}
.spark {
    font-size:22px;
    color:var(--amber);
    line-height:1.3
}
.composer {
    grid-column:1/-1;
    padding:22px 26px
}
.composer-heading {
    margin-bottom:12px
}
.composer-heading label {
    font-size:13px;
    color:var(--muted)
}
.composer-heading strong {
    color:var(--ink);
    font-weight:550
}
.entry-row {
    display:flex;
    gap:12px
}
.entry-row input {
    flex:1;
    min-width:0;
    background:#091b20;
    border:1px solid #afd8cf26;
    color:var(--ink);
    font-size:17px;
    letter-spacing:.2px;
    border-radius:12px;
    padding:15px 18px;
    min-height:56px
}
.entry-row input::placeholder {
    color:#799294;
    font-size:14px
}
.entry-row .primary-button {
    min-width:126px
}
.composer-tools {
    margin-top:10px
}
.composer-tools .text-button {
    font-size:10px
}
.hint-chips:empty {
    display:none
}
.hint-chips {
    margin-top:12px
}
.hint-chip {
    background:#244640;
    border:0;
    border-radius:20px;
    padding:7px 15px;
    color:var(--teal);
    font-size:12px
}
.afterword {
    padding:26px 4px 34px
}
.afterword p {
    font-family:Georgia,serif;
    font-size:14px;
    font-style:italic;
    color:var(--muted)
}
.site-footer {
    padding:22px 0 30px;
    border-top:1px solid var(--line);
    font-size:10px;
    color:#8a9f9f
}
.site-footer a:hover {
    color:var(--teal)
}
.field-error,.error-box {
    color:var(--error);
    font-size:12px;
    line-height:1.6
}
.field-error {
    margin-top:10px
}
.error-box {
    padding:16px;
    background:#552d2a44;
    border-radius:12px;
    margin-bottom:18px
}
dialog {
    border:1px solid #bddec822;
    border-radius:24px;
    padding:30px;
    width:min(480px,calc(100% - 28px));
    max-height:calc(100svh - 40px);
    background:#11272d;
    color:var(--ink);
    box-shadow:0 30px 100px #0008
}
dialog::backdrop {
    background:#020d11c9;
    backdrop-filter:blur(8px)
}
.dialog-heading {
    margin-bottom:20px
}
.help-steps {
    gap:20px;
    font-size:13px
}
.help-steps b {
    font-weight:550
}
.notice {
    background:#769c9514;
    border-radius:14px;
    padding:14px;
    font-size:11px;
    line-height:1.7;
    color:var(--muted);
    margin:20px 0
}
.field-label {
    display:flex;
    flex-direction:column;
    gap:8px;
    font-size:12px;
    color:#c3d6d0
}
.field-label input,.field-label select,.field-label textarea {
    width:100%;
    padding:12px;
    border:1px solid #bfd5cf26;
    border-radius:10px;
    background:#0a1b20;
    color:var(--ink);
    font-size:14px
}
.field-label textarea {
    resize:vertical
}
#settings-form {
    gap:17px;
    margin-top:22px
}
#threshold {
    accent-color:var(--teal);
    width:100%
}
#threshold-value {
    color:var(--teal);
    font-variant-numeric:tabular-nums
}
.result-score {
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:14px 0 20px
}
.result-score>span:first-child {
    font-size:78px;
    font-weight:350;
    letter-spacing:-4px;
    color:var(--teal);
    line-height:1.15
}
.result-score>span:last-child {
    font-size:12px;
    color:var(--muted)
}
.result-route {
    font-size:13px;
    line-height:2;
    text-align:center
}
.result-actions {
    margin-top:24px;
    justify-content:center;
    flex-wrap:wrap
}
.result-actions button {
    font-size:12px
}
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}
.review-layout {
    width:min(660px,100%);
    margin:40px auto 80px
}
.review-card {
    padding:40px;
    margin:28px 0
}
.review-pair {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    padding:35px 0 42px;
    font-size:clamp(23px,4vw,34px);
    letter-spacing:-1px
}
.review-pair svg {
    color:var(--teal)
}
.review-actions {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px
}
.review-actions button {
    font-size:12px;
    padding:13px 8px
}
.review-progress {
    font-size:12px;
    color:var(--teal);
    margin-top:20px
}
@keyframes arrive {
    from {
        opacity:.3;
        transform:translateY(7px) scale(.97)
    }
    to {
        opacity:1;
        transform:translateY(0) scale(1)
    }
}
@keyframes breathe {
    to {
        opacity:.35
    }
}
@keyframes route-in {
    from {
        opacity:.1
    }
    to {
        opacity:.75
    }
}
@media(max-width:980px) {
    .shell {
        padding:0 24px
    }
    .game-layout {
        grid-template-columns:minmax(0,1fr) 240px;
        gap:14px
    }
    .atlas-header {
        padding:22px 20px 0
    }
    .map {
        padding:38px 20px 25px
    }
    .node-word {
        font-size:13px
    }
    .score-panel {
        padding:20px
    }
    .score-components {
        grid-template-columns:1fr;
        gap:7px
    }
    .score-components>div {
        flex-direction:row;
        justify-content:space-between;
        align-items:center
    }
    .metric-label {
        font-size:10px
    }
    .score-components strong {
        font-size:18px
    }
    .score-panel .fine-print {
        font-size:10px
    }
    .journey-number {
        display:none
    }
    .atlas-footer {
        padding:10px 18px 22px
    }
    .atlas-footer>span:last-child {
        display:none
    }
    .progress-panel {
        padding:18px 20px
    }
    .discovery-note {
        font-size:10px
    }
    .composer {
        padding:20px
    }
    .intro {
        padding-bottom:28px
    }
}
@media(max-width:700px) {
    .shell {
        padding:0 18px
    }
    .masthead {
        height:76px
    }
    .brand {
        font-size:24px
    }
    .brand img {
        width:33px;
        height:33px
    }
    .desktop-link {
        display:none
    }
    .masthead nav {
        gap:12px
    }
    .playtest-banner {
        margin-top:18px;
        flex-wrap:wrap;
        gap:7px
    }
    .banner-detail {
        display:block;
        flex-basis:100%;
        margin-left:12px;
        font-size:10px
    }
    .intro {
        padding:24px 0
    }
    .intro .kicker {
        font-size:8px;
        letter-spacing:1.7px
    }
    h1 {
        font-size:32px;
        letter-spacing:-1.1px
    }
    .intro-copy {
        font-size:11px;
        max-width:280px;
        line-height:1.7
    }
    .game-layout {
        grid-template-columns:1fr;
        gap:13px
    }
    .atlas {
        min-height:360px
    }
    .atlas-header {
        padding:20px 18px 0
    }
    .atlas-header .kicker {
        font-size:9px
    }
    .atlas-subtitle {
        font-size:11px
    }
    .mode-tag {
        font-size:8px;
        padding:6px 8px
    }
    .map {
        padding:27px 22px 12px
    }
    .nodes {
        grid-template-columns:repeat(4,minmax(0,1fr));
        grid-template-rows:repeat(2,98px);
        gap:16px 12px
    }
    .word-node {
        min-height:65px;
        border-radius:12px
    }
    .node-word {
        font-size:11px;
        letter-spacing:-.3px;
        padding:0 3px
    }
    .node-label {
        font-size:6px;
        letter-spacing:1px
    }
    .word-node.is-empty {
        max-width:40px;
        min-height:42px
    }
    .atlas-footer {
        font-size:8px;
        padding:12px 19px 20px
    }
    .journey-panel {
        display:grid;
        grid-template-columns:1.2fr 1fr;
        gap:12px
    }
    .score-panel {
        padding:16px
    }
    .score-panel .kicker,.progress-panel .kicker {
        font-size:8px;
        letter-spacing:1.3px
    }
    .score-panel .tiny-label {
        display:none
    }
    .score-number {
        padding:4px 0 10px
    }
    .score-number>span:first-child {
        font-size:39px;
        letter-spacing:-1.8px
    }
    .score-unit {
        font-size:10px
    }
    .score-components {
        gap:3px
    }
    .metric-label {
        font-size:9px
    }
    .score-components strong {
        font-size:14px
    }
    .drift-track {
        margin:10px 0 0
    }
    .score-panel .fine-print {
        display:none
    }
    .progress-panel {
        padding:16px
    }
    .progress-panel>.cluster {
        align-items:start;
        gap:5px
    }
    .move-count {
        font-size:10px;
        white-space:nowrap
    }
    .progress-pips {
        gap:4px;
        margin:20px 0 14px
    }
    .progress-panel .fine-print {
        font-size:10px
    }
    .discovery-note {
        display:none
    }
    .composer {
        grid-row:3;
        padding:17px;
        position:sticky;
        bottom:8px;
        z-index:5;
        background:#142c32;
        box-shadow:0 12px 35px #0004
    }
    .composer-heading label {
        font-size:11px
    }
    .composer-heading .tiny-label {
        font-size:8px;
        letter-spacing:0
    }
    .entry-row {
        gap:8px
    }
    .entry-row input {
        font-size:16px;
        padding:12px;
        min-height:49px
    }
    .entry-row input::placeholder {
        font-size:12px
    }
    .entry-row .primary-button {
        min-width:86px;
        padding:12px;
        font-size:12px;
        gap:7px
    }
    .entry-row .primary-button svg {
        width:17px
    }
    .composer-tools {
        align-items:start;
        gap:10px
    }
    .composer-tools .text-button {
        font-size:8px;
        gap:5px;
        text-align:left
    }
    .composer-tools .text-button svg {
        display:none
    }
    .composer-tools #hint-count {
        white-space:nowrap
    }
    .afterword {
        padding:21px 2px 25px
    }
    .afterword p {
        font-size:11px;
        max-width:150px
    }
    .afterword .text-button {
        font-size:11px
    }
    .site-footer {
        font-size:9px;
        padding-bottom:20px
    }
    .review-card {
        padding:22px
    }
    .review-pair {
        gap:13px
    }
    .review-actions {
        grid-template-columns:1fr
    }
    .review-layout h1 {
        font-size:31px
    }
}
@media(max-width:370px) {
    .map {
        padding-left:13px;
        padding-right:13px
    }
    .nodes {
        gap:14px 9px
    }
    .node-word {
        font-size:10px
    }
    .mode-tag {
        display:none
    }
    .composer-tools {
        flex-wrap:wrap
    }
    .shell {
        padding:0 12px
    }
}
@media(max-width:700px) {
    .composer {
        position:static;
        grid-row:2;
        box-shadow:none
    }
    .journey-panel {
        grid-row:3
    }
    .map {
        height:310px;
        min-height:310px;
        overflow-y:auto;
        overscroll-behavior:contain
    }
    .nodes {
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-template-rows:repeat(4,90px);
        grid-template-areas:"a b" "d c" "e f" "h g";
        gap:15px 24px
    }
    .word-node {
        max-width:125px;
        min-height:65px
    }
    .node-word {
        font-size:15px
    }
    .node-label {
        font-size:7px
    }
    .word-node.is-empty {
        max-width:46px;
        min-height:45px
    }
    .atlas {
        min-height:0
    }
    .atlas-footer {
        padding-top:16px
    }
    .icon-button {
        width:42px;
        height:42px
    }
}
.route-edge.is-new-edge {
    stroke-dasharray:1;
    stroke-dashoffset:0;
    animation:draw-link .45s ease-out
}
.word-node:hover:not(:disabled) {
    background:#2a4d47
}
.word-node.is-pending {
    pointer-events:none
}
@keyframes draw-link {
    from {
        stroke-dashoffset:1
    }
    to {
        stroke-dashoffset:0
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important
    }
}
