:root{--ink:#172e2b;--green:#153b36;--muted:#6f7a70;--orange:#dc6846;--paper:#f6f7f1;--line:#dfe4d9;--mono:'Space Mono',monospace;--sans:'DM Sans',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans)}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e78c6c;outline-offset:3px}[hidden]{display:none!important}.wrap{width:min(1336px,calc(100% - 112px));margin:auto}.topbar{height:80px;padding:0 56px;display:flex;align-items:center;justify-content:space-between;background:#fbfcf8}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);font-weight:700;font-size:12px;line-height:1.04;letter-spacing:1.3px}.brand-mark{background:var(--green);color:white;width:35px;height:35px;display:grid;place-items:center}.brand-mark svg{width:26px;height:26px;stroke-width:1.5}.brand-dot{color:var(--orange)}.top-actions{display:flex;align-items:center;gap:26px}.season-label,.mono-label,.eyebrow,.hero-bottom,.hero-coordinate,.calendar-footer,.site-footer{font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:.7px}.season-label{color:#879187}.header-divider{height:27px;width:1px;background:var(--line)}.account-button{border:0;background:none;color:var(--ink);display:flex;gap:9px;align-items:center;font-size:12px;font-weight:700}.account-button svg{width:17px}.hero{height:430px;position:relative;background:#173c39;color:white;overflow:hidden}.hero-image{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(13,40,37,.96) 0%,rgba(13,40,37,.84) 29%,rgba(13,40,37,.32) 70%,rgba(13,40,37,.24) 100%),url('https://images.unsplash.com/photo-1517299321609-52687d1bc55a?auto=format&fit=crop&w=2000&q=85');background-size:cover;background-position:center 55%}.hero-content{height:100%;position:relative;display:flex;align-items:center;justify-content:space-between}.hero-copy{padding-bottom:18px}.eyebrow{display:flex;align-items:center;gap:9px}.eyebrow.light{color:#b6d2c5}.status-dot{height:7px;width:7px;background:#d67a58;border-radius:50%;display:inline-block;flex:none}.eyebrow-line{width:27px;height:1px;background:#8fa89b;margin:0 3px}.hero h1{font-size:78px;line-height:.98;letter-spacing:0;margin:25px 0 17px;font-weight:700}.hero h1 em{font-family:Georgia,serif;font-weight:400}.title-star{color:#e18460;font-family:Georgia,serif;font-size:45px;vertical-align:top;margin-left:10px}.hero-copy>p{font-size:14px;line-height:1.7;color:#d4ded7;max-width:380px;margin:0 0 24px}.hero-cta{display:inline-flex;align-items:center;gap:30px;background:#e57854;color:#102e2a;padding:15px 17px;text-decoration:none;font:700 10px var(--mono);letter-spacing:.4px}.hero-cta:hover{background:#f29270}.hero-cta svg{width:16px;height:16px}.hero-coordinate{align-self:flex-end;margin-bottom:69px;display:flex;gap:12px;align-items:center;color:#c1d0c6;line-height:1.8}.hero-coordinate svg{width:25px;color:#e58a68}.hero-coordinate strong{color:white;font-size:10px}.hero-bottom{position:absolute;bottom:0;left:0;right:0;border-top:1px solid #ffffff36;height:38px;display:flex;align-items:center;justify-content:space-between;color:#c4d2c9;font-size:9px}.small-star{color:#e99977;margin:0 5px}.adventure{padding-top:48px;padding-bottom:58px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:29px}.eyebrow.dark{color:#718379}.section-heading h2{font-size:34px;letter-spacing:0;margin:12px 0 4px;line-height:1.1}.section-heading h2 span,.sidebar h3 span,.auth-dialog h2 span{color:var(--orange)}.section-heading p{margin:0;color:#7a867d;font-size:13px}.section-number{font:700 9px var(--mono);color:#9aa69c;margin-bottom:5px}.section-number span{color:var(--orange);padding:0 5px}.workspace{display:grid;grid-template-columns:255px 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.sidebar{padding:27px 29px 25px 0;border-right:1px solid var(--line)}.mission-top{display:flex;justify-content:space-between;align-items:center;color:#849287}.mission-top svg{height:17px;width:17px;color:#df805f}.sidebar h3{font-size:25px;line-height:1.1;margin:24px 0 11px}.sidebar>p{font-size:12px;line-height:1.7;color:#78857b;margin:0}.mission-divider{height:1px;background:var(--line);margin:24px 0}.progress-title{display:flex;align-items:end;justify-content:space-between;font:700 9px var(--mono);color:#849287}.progress-title strong{color:var(--ink);font-size:19px;line-height:1}.progress-title small{font-size:10px;color:#a1aba0}.progress-track{height:4px;background:#e1e7db;margin:12px 0}.progress-track span{height:100%;display:block;background:var(--orange);transition:width .3s}.sidebar .progress-caption{font-size:11px}.sidebar-login{margin-top:19px;width:100%;padding:13px;border:1px solid #28483e;background:transparent;color:var(--green);font:700 9px var(--mono);display:flex;align-items:center;justify-content:space-between}.sidebar-login:hover{background:#e8eee6}.sidebar-login svg{width:14px;height:14px}.side-note{margin-top:53px;display:flex;align-items:center;gap:10px;color:#98a69a;font:700 9px/1.6 var(--mono)}.side-note svg{color:#db8c70;width:21px}.calendar-area{padding:26px 0 26px 32px}.calendar-toolbar{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px;gap:16px}.calendar-toolbar .mono-label{color:#8e9c91}.calendar-toolbar h3{font-size:18px;margin:8px 0 0}.calendar-toolbar h3 span{color:var(--orange);font-size:17px}.filters{display:flex;background:#e9eee5;padding:3px;gap:2px}.filter{border:0;background:transparent;padding:8px 12px;color:#7b887d;font-size:10px;font-weight:700}.filter.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px #213c2410}.filter span{color:#a7b0a7;margin-left:3px}.calendar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.day-card{aspect-ratio:1.12;min-width:0;background:#fff;border:1px solid #e2e8df;color:var(--ink);text-align:left;padding:12px;display:flex;flex-direction:column;justify-content:space-between;transition:background .15s,border-color .15s,transform .15s}.day-card:hover{border-color:#95b1a1;background:#f1f7f0;transform:translateY(-2px)}.day-card:nth-child(6n+2){background:#edf3eb}.day-card:nth-child(9n+4){background:#f5eee7}.day-card.is-solved{background:#dcece0;border-color:#bad3c1}.tile-top,.tile-bottom{display:flex;align-items:center;justify-content:space-between;gap:3px;color:#9daaa0;font:700 8px var(--mono)}.tile-top svg{width:13px;height:13px;color:#a9b5aa}.tile-number{font-size:28px;line-height:1;font-weight:500;letter-spacing:0}.tile-bottom{color:#9eaaa0;font-size:8px}.tile-spark{color:#d58e72;font-size:14px}.is-solved .tile-spark{color:#408461}.calendar-footer{display:flex;align-items:center;gap:22px;margin-top:18px;color:#9ba79c;font-size:8px}.legend-dot{display:inline-block;background:#d5e0d4;width:7px;height:7px;margin-right:5px}.solved-dot{background:#78ac88}.footer-note{margin-left:auto}.footer-note span{color:#dc896b}.site-footer{border-top:1px solid var(--line);padding:23px 0 30px;display:flex;justify-content:space-between;color:#a0aba1;font-size:9px}.site-footer span span{color:#dd896b}.dialog{width:min(560px,calc(100% - 32px));max-height:calc(100% - 32px);border:0;padding:0;background:#f9faf5;color:var(--ink);box-shadow:0 20px 70px #112c2880}.dialog::backdrop{background:#0b211ec9}.dialog-inner{padding:42px;position:relative}.close-button{position:absolute;right:25px;top:24px;border:1px solid var(--line);background:transparent;color:var(--ink);width:34px;height:34px;display:grid;place-items:center}.close-button svg{width:16px}.dialog h2{font-size:34px;line-height:1.1;margin:19px 35px 14px 0}.challenge-tags{display:flex;gap:7px}.challenge-tags span{background:#e9efe5;color:#668074;padding:6px 9px;font:700 9px var(--mono);text-transform:uppercase}.story-block{margin-top:28px;padding:22px;background:#edf2e9;border-left:3px solid #d87c5a}.story-block .mono-label{color:#87978a}.story-block p{font-size:15px;line-height:1.7;margin:12px 0 0}.hint-toggle{border:0;background:transparent;color:#486b5b;padding:19px 0;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.hint-toggle svg{width:16px;height:16px}.hint{margin:0 0 20px;padding:14px;background:#fbf0df;color:#6d5e45;font-size:13px;line-height:1.6}.dialog label{font:700 10px var(--mono);color:#819187;display:block;margin-bottom:9px}.answer-row{display:flex}.dialog input{width:100%;min-width:0;border:1px solid #d7e1d6;background:#fff;color:var(--ink);padding:14px;font-size:13px;border-radius:0}.answer-row button,.auth-submit{border:0;background:var(--green);color:white;padding:0 18px;font:700 10px var(--mono);white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:12px}.answer-row button svg,.auth-submit svg{width:15px}.form-message{min-height:17px;font-size:12px;color:#ad513d;margin:9px 0}.form-message.success{color:#357552}.challenge-navigation{border-top:1px solid var(--line);padding-top:20px;margin-top:17px;display:flex;align-items:center;justify-content:space-between;font:700 9px var(--mono);color:#9aa79d}.challenge-navigation button{border:0;background:none;padding:0;color:var(--ink);font:700 9px var(--mono);display:flex;align-items:center;gap:6px}.challenge-navigation button:disabled{opacity:.3;cursor:default}.challenge-navigation svg{width:14px}.auth-dialog{width:min(450px,calc(100% - 32px))}.auth-description{font-size:13px;color:#78857b}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin:28px 0 22px}.auth-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:12px 16px;font-size:12px;color:#8b998d}.auth-tabs button.active{border-color:var(--orange);color:var(--ink);font-weight:700}.auth-dialog input{margin-bottom:18px}.auth-submit{width:100%;height:46px;justify-content:space-between;margin-top:8px}.auth-submit:hover,.answer-row button:hover{background:#285b4f}
@media(max-width:1000px){.wrap{width:calc(100% - 64px)}.topbar{padding:0 32px}.calendar{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace{grid-template-columns:220px 1fr}.sidebar{padding-right:22px}.calendar-area{padding-left:24px}.hero h1{font-size:68px}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.topbar{height:66px;padding:0 18px}.season-label,.header-divider{display:none}.top-actions{gap:0}.hero{height:450px}.hero-image{background-position:63% center;background-image:linear-gradient(90deg,rgba(13,40,37,.94),rgba(13,40,37,.55)),url('https://images.unsplash.com/photo-1517299321609-52687d1bc55a?auto=format&fit=crop&w=1200&q=80')}.hero h1{font-size:57px}.hero-copy>p{max-width:310px}.hero-coordinate{display:none}.hero-bottom{font-size:8px}.hero-bottom span:last-child{display:none}.adventure{padding-top:36px}.section-heading h2{font-size:28px}.section-number{display:none}.workspace{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:23px 0}.sidebar h3{margin-top:15px}.sidebar h3 br{display:none}.mission-divider{margin:18px 0}.side-note{display:none}.sidebar-login{max-width:250px}.calendar-area{padding:25px 0}.calendar-toolbar{align-items:start;flex-direction:column}.calendar{grid-template-columns:repeat(3,minmax(0,1fr))}.day-card{padding:10px}.tile-number{font-size:25px}.footer-note{display:none}.site-footer{gap:15px;flex-wrap:wrap}.site-footer span:last-child{display:none}.dialog-inner{padding:30px 24px}.dialog h2{font-size:28px}.answer-row button{padding:0 11px;font-size:9px}}
@media(max-width:360px){.calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:50px}.hero-bottom{font-size:7px}.filters{width:100%;justify-content:space-between}}
.story-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-bottom:25px}.story-option{min-width:0;display:flex;align-items:center;gap:12px;padding:15px;text-align:left;background:#edf2e9;border:1px solid #dfe7dc;color:var(--ink)}.story-option.active{background:#fff;border-color:#78998a;box-shadow:inset 0 -3px var(--green)}.story-option:hover{border-color:#78998a}.story-icon{width:38px;height:38px;display:grid;place-items:center;flex:none;background:#dce9df;color:var(--green)}.story-icon svg{width:19px;height:19px}.story-option-text{min-width:0;display:grid;gap:5px}.story-option-text strong{font-size:13px}.story-option-text small,.story-count{font:700 9px var(--mono);color:#829488}.story-count{margin-left:auto;white-space:nowrap;color:#557666}.sidebar h3{overflow-wrap:anywhere}@media(max-width:650px){.story-selector{grid-template-columns:1fr;gap:7px}.story-option{padding:11px 12px}.story-option-text strong{font-size:12px}}
/* Lösta och låsta luckor */
.day-card{position:relative}
.day-card.is-solved,.day-card.is-solved:nth-child(n){background:var(--green);border-color:var(--green);color:#fff}
.day-card.is-solved:hover{background:#1f4d46;border-color:#1f4d46}
.day-card.is-solved .tile-top,.day-card.is-solved .tile-bottom,.day-card.is-solved .tile-top svg,.day-card.is-solved .tile-spark{color:#bfe3cb}
.day-card.is-solved .tile-number{opacity:.55}
.solved-badge{position:absolute;right:10px;bottom:24px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#5fbf86;color:var(--green)}
.solved-badge svg{width:20px;height:20px;stroke-width:3}
.day-card.is-locked,.day-card.is-locked:nth-child(n){background:repeating-linear-gradient(135deg,#f1f3ee 0 8px,#eaede6 8px 16px);border:1px dashed #cdd5ca;color:#a7b0a6;cursor:not-allowed}
.day-card.is-locked:hover{transform:none;border-color:#cdd5ca}
.day-card.is-locked .tile-top,.day-card.is-locked .tile-bottom,.day-card.is-locked .tile-top svg{color:#a7b0a6}
.legend-dot.solved-dot{background:var(--green)}
.legend-dot.locked-dot{background:repeating-linear-gradient(135deg,#e3e7df 0 2px,#c9d0c5 2px 4px);border:1px dashed #b9c2b6}
