:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#303631;background:#faf8f3;font-synthesis:none;--accent:#6e7d53;--muted:#73776d;--line:#dedfd5;--panel:#fffefa;--cream:#303631;--gold:#6e7d53;--mint:#5e866b}
*{box-sizing:border-box}body{margin:0;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit;font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--accent);outline-offset:5px}::selection{background:#dde3c5;color:#28372d}[hidden]{display:none!important}.skip-link{position:fixed;z-index:20;top:-80px;left:20px;padding:12px 20px;background:white;border:1px solid var(--accent)}.skip-link:focus{top:12px}.screenreader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Collection: an airy, restrained doorway to three completely different worlds. */
.collection-page{background:#faf8f3}.collection-header,.collection-main,.collection-footer{max-width:1264px;width:88%;margin:auto}.collection-header{height:96px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfdfd4}.littora-wordmark{font:35px Georgia,serif;letter-spacing:-1.6px}.littora-wordmark span{color:#788358}.home-link{font-size:12px;color:#676e60;display:flex;align-items:center;gap:17px}.home-link span{font-size:20px}.home-link:hover{color:#323a2b}.collection-intro{padding:57px 0 49px;display:flex;justify-content:space-between;gap:30px;align-items:center}.eyebrow{font-size:9px;font-weight:600;letter-spacing:.17em;color:#77805f;margin:0 0 19px}.intro-copy h1{font:400 clamp(48px,5.3vw,76px)/1.07 Georgia,'Times New Roman',serif;letter-spacing:-2.4px;margin:0 0 23px;color:#333b2b}.intro-copy h1 em{color:#778358;font-weight:400}.intro-copy>p:last-child{font-size:14px;line-height:1.9;color:#73786c;margin:0}.play-composition{width:300px;height:232px;position:relative;margin:10px 38px 0 0;isolation:isolate;flex-shrink:0}.composition-sun{position:absolute;left:18px;top:5px;display:grid;place-items:center;width:140px;height:140px;border-radius:50%;background:#e9ecd5;color:#8c985b;font-size:90px;transform:rotate(-14deg)}.composition-tile{position:absolute;left:135px;top:86px;width:100px;height:107px;border:1px solid #d9c9b3;background:#f1e5d4;font:55px Georgia,serif;display:grid;place-items:center;color:#a38360;transform:rotate(12deg);box-shadow:0 7px 0 #faf8f3,0 8px 0 #d9c9b3}.composition-orbit{position:absolute;left:112px;top:15px;width:149px;height:150px;border:1px solid #c8c8ba;border-radius:50%;z-index:-1}.composition-line{position:absolute;top:138px;left:0;width:283px;height:1px;transform:rotate(-24deg);background:#c3c8af;z-index:-1}.composition-note{position:absolute;right:0;bottom:0;font:8px/1.7 monospace;letter-spacing:.08em;color:#8e927f}.collection-label{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dfdfd4;padding:25px 0 23px}.collection-label h2{font:400 24px Georgia,serif;margin:0;color:#3c4433}.collection-label>span{font-size:8px;letter-spacing:.13em;color:#818773}.world-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.world-card{display:block;border:1px solid #dbded4;border-radius:8px;background:#fffefa;overflow:hidden;transition:transform .25s,box-shadow .25s,border-color .25s}.world-card:hover{transform:translateY(-6px);box-shadow:0 12px 32px #53553b10;border-color:#a8b18f}.world-art{aspect-ratio:420/300;position:relative;overflow:hidden;border-bottom:1px solid #e1e2d8}.optical-cover{background:#f5f3fa}.optical-cover svg{width:100%;height:100%;display:block}.cover-mark{position:absolute;top:20px;left:20px;font:8px monospace;letter-spacing:.08em;color:#877e9d;z-index:1}.optical-footnote{position:absolute;bottom:16px;right:18px;font:7px monospace;letter-spacing:.08em;color:#958ba7}.pixel-cover{background:#88d4dc}.pixel-cover canvas{width:100%;height:100%;display:block;image-rendering:pixelated}.pixel-cover-label{position:absolute;left:17px;top:17px;font:bold 8px monospace;color:#2a6178;background:#effadac9;padding:7px 8px;box-shadow:2px 2px #416d7333}.pixel-cover-number{position:absolute;right:19px;bottom:16px;font:11px monospace;color:#376775}.garden-cover{background:#eef4e5}.garden-cover img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .6s}.garden-card:hover .garden-cover img{transform:scale(1.025)}.garden-cover-label{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);font:7px/1.4 sans-serif;letter-spacing:.08em;padding:7px 10px;background:#fff9e9d6;border:1px solid #c5ba9b66;border-radius:20px;white-space:nowrap;color:#8b775b}.world-copy{padding:25px 24px 22px}.world-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:8px;color:#8a8b7c}.genre-tag{font-size:8px;letter-spacing:.03em;padding:6px 8px;border-radius:20px;background:#efedf7;color:#776293}.drift-card .genre-tag{background:#e8f4f0;color:#37767f}.garden-card .genre-tag{background:#f8eddf;color:#9c7558}.world-copy h3{font:400 33px Georgia,serif;letter-spacing:-.8px;margin:17px 0 11px}.world-copy p{font-size:12px;color:#747b6c;line-height:1.9;margin:0;min-height:46px}.world-cta{margin-top:25px;padding-top:18px;border-top:1px solid #e5e6de;font-size:11px;font-weight:500;display:flex;align-items:center;justify-content:space-between}.world-cta>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #d8ddcc;border-radius:50%;font-size:18px;color:#6a7a51;transition:background .2s}.world-card:hover .world-cta>span{background:#e5ead5}.collection-afterword{display:flex;align-items:center;justify-content:center;gap:15px;padding:54px 0}.collection-afterword>span:first-child{color:#8a9667;font-size:24px}.collection-afterword p{font:20px Georgia,serif;color:#6f7860;margin:0}.afterword-caption{font-size:7px;letter-spacing:.13em;color:#8e947e;display:none}.collection-footer{border-top:1px solid #dfdfd4;padding:24px 0 30px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#808673;gap:18px}.collection-footer>a{font:22px Georgia,serif;color:#46523b}
/* Shared page structure only. Each world owns its typography, shape and palette. */
.play-page{min-height:100dvh}.play-navigation{max-width:1240px;width:90%;height:76px;display:flex;align-items:center;justify-content:space-between;margin:auto;border-bottom:1px solid var(--line)}.all-games{font-size:12px;display:flex;gap:12px;align-items:center}.all-games span{font-size:21px}.all-games:hover{color:var(--accent)}.play-brand{font:21px Georgia,serif;position:absolute;left:50%;transform:translateX(-50%)}.play-brand span{font:8px sans-serif;letter-spacing:.11em;color:var(--muted);margin-left:5px}.sound-button{display:flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:5px;padding:8px 11px;background:var(--panel);font-size:10px}.sound-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sound-button[aria-pressed="true"]{border-color:var(--accent);color:var(--accent)}.play-main{max-width:1200px;width:90%;margin:auto}.world-masthead{display:flex;justify-content:space-between;align-items:flex-end;padding:35px 0 29px;gap:25px}.world-eyebrow{font:9px monospace;letter-spacing:.11em;color:var(--accent);margin:0 0 12px}.world-masthead h1{font-size:56px;line-height:1.05;letter-spacing:-2px;margin:0;display:flex;align-items:center;gap:20px}.world-title-mark{font-size:34px;color:var(--accent);font-weight:400}.world-tagline{font-size:12px;color:var(--muted);margin:12px 0 0}.world-signature{font:8px monospace;letter-spacing:.08em;color:var(--muted);padding-bottom:4px}.room-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:50px;align-items:start;padding:28px 30px;border:1px solid var(--line);background:var(--panel);border-radius:8px}.game-main{min-width:0}.room-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px;min-height:38px}.stat-group{display:flex;gap:34px}.stat{display:grid;gap:6px}.stat>span{font:8px sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.stat strong{font-size:24px;line-height:1;font-weight:500}.subtle-button,.primary-button{font-size:11px;border:1px solid var(--line);background:var(--panel);padding:10px 15px;white-space:nowrap;border-radius:4px;transition:background .2s,border-color .2s}.subtle-button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.primary-button{background:var(--accent);border-color:var(--accent);color:white;font-weight:600;padding:13px 20px}.primary-button:hover{filter:brightness(1.05)}.button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.game-sidebar{padding-top:7px}.small-label{font:9px sans-serif;letter-spacing:.1em;color:var(--accent);text-transform:uppercase;margin:0 0 12px}.game-sidebar h2{font-size:25px;line-height:1.35;letter-spacing:-.5px;margin:0 0 15px;font-weight:500}.game-sidebar p{font-size:12px;line-height:1.85;color:var(--muted);margin:0 0 18px}.keyboard-note{font-size:10px!important;line-height:1.8;color:var(--muted);margin:0 0 20px}.instruction-rule{border-top:1px solid var(--line);margin:25px 0}.board-frame{position:relative;width:min(100%,clamp(280px,calc(100dvh - 440px),560px));margin:0 auto;padding:12px;border:1px solid var(--line);border-radius:5px;overflow:hidden}.board-caption{display:flex;justify-content:space-between;margin-top:13px;font-size:9px;color:var(--muted);gap:10px}.game-message{font-size:12px;line-height:1.6;padding:14px 16px;margin-top:17px;border:1px solid var(--line);background:#fff;border-radius:4px;color:var(--muted);min-height:48px}.game-message:empty{display:none}.game-message.success{color:var(--accent);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,white)}.play-footer{max-width:1200px;width:90%;display:flex;justify-content:space-between;margin:24px auto 0;padding:0 0 26px;font-size:10px;color:var(--muted);gap:20px}.play-footer a:hover{color:var(--accent)}.mobile-seed-tray{display:none}.no-script{padding:30px;border:1px solid var(--line);font-size:14px}
/* LIGHTKEEPER: white gallery, instrument markings, violet optics. */
.light-world{--accent:#8562c5;--muted:#797383;--line:#e1dde8;--panel:#fff;--cream:#3d3748;--gold:#8562c5;background:#f8f7fb;color:#3d3748;font-family:'Helvetica Neue',Arial,sans-serif}.light-world .world-masthead h1{font-weight:400;letter-spacing:-2.8px}.light-world .world-title-mark{font-size:49px;line-height:1}.light-world .room-layout{border-radius:2px;box-shadow:0 6px 30px #6c568804}.light-world .board-frame{background:#faf9fd;border-color:#d6d0df;border-radius:0}.light-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(7,minmax(0,1fr));aspect-ratio:1;position:relative}.light-cell{border:1px solid #ddd6e638;background:none;position:relative;display:grid;place-items:center;min-width:0;padding:0}.mirror{z-index:2;border:1px solid #d9d2e3;border-radius:4px;background:#fff;box-shadow:0 2px 4px #78688f08}.mirror:hover{background:#f0eafa;border-color:#b7a2d1}.mirror:before{content:'';width:57%;height:3px;background:#7b6b91;transform:rotate(-45deg);transition:transform .2s;box-shadow:0 2px 0 #cbbfdd}.mirror[data-rotation="1"]:before{transform:rotate(45deg)}.mirror.hint{outline:2px solid #ae8bd4;outline-offset:-4px}.beacon{width:40%;height:40%;border:1.5px solid #bbb0c6;border-radius:50%;position:relative;background:#fff;transition:border-color .2s,box-shadow .2s}.beacon:before{content:'';position:absolute;inset:34%;border-radius:50%;background:#c9bfd3}.beacon.lit{border-color:#956fca;box-shadow:0 0 0 5px #e5d9f94a}.beacon.lit:before{background:#926bd2}.rock{width:53%;height:53%;background:#d8d3dc;border:1px solid #c4bbc9;border-radius:3px;position:relative}.rock:after{content:'';position:absolute;width:1px;height:55%;background:#b4aabd;left:50%;top:23%;transform:rotate(45deg)}.source-mark{position:absolute;left:-9px;top:50%;transform:translateY(-50%);font-size:19px;color:#9470d0;z-index:3}.beam-layer{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);pointer-events:none;z-index:1}.beam-glow{fill:none;stroke:#b78cde;stroke-width:12;opacity:.13}.beam-line{fill:none;stroke:#9a70d0;stroke-width:2.5;stroke-linejoin:round}.level-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:15px}.level-button{background:#fff;border:1px solid var(--line);font:11px monospace;padding:12px 0;border-radius:3px}.level-button.active{border-color:var(--accent);color:var(--accent);background:#f7f2fc}.level-button.complete:after{content:' ·';color:#9165bd}.next-level{margin-top:16px;width:100%}.light-world .subtle-button{font-size:10px}.light-world .game-message{background:#faf8fd}.light-world .game-message.success{background:#f3eefb}
/* TIDE GARDEN: a hand-painted picture book, soft pools and coral companions. */
.garden-world{--accent:#879e75;--muted:#898777;--line:#e2dfd0;--panel:#fffdf7;--cream:#5d6652;--gold:#8b9a72;--mint:#879e75;color:#5b6655;background:#faf8ee;background-image:radial-gradient(ellipse at 7% 40%,#e6efdd66,transparent 35%),radial-gradient(ellipse at 93% 70%,#f9e7de88,transparent 38%);font-family:'Avenir Next',-apple-system,sans-serif}.garden-world .world-masthead h1{font:400 58px/1.1 Georgia,serif;letter-spacing:-1.8px}.garden-world .world-title-mark{font-size:40px;color:#c2b37a}.garden-world .world-eyebrow{font-family:sans-serif;font-size:8px;letter-spacing:.15em;color:#9c9478}.garden-world .world-signature{font:italic 13px Georgia,serif;letter-spacing:0;color:#b0a287}.garden-world .room-layout{grid-template-columns:minmax(0,1fr) 310px;background:#fffcf4;border:1px solid #d8d9c5;border-radius:22px;box-shadow:0 5px 0 #e7e7d688}.garden-world .stat strong{font-family:Georgia,serif;font-size:27px;color:#778568}.garden-world .stat>span{font-size:8px;letter-spacing:.05em;color:#9a9d85}.garden-world .board-frame{padding:15px;background:#e1efdf;border:1px solid #c3d3b9;border-radius:18px;box-shadow:inset 0 3px 10px #b5cfb51a,0 6px 0 #d1dec466}.garden-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));gap:7px;aspect-ratio:1}.garden-cell{border:1px solid #c3d8c1;background:#eef5e9;border-radius:12px;display:grid;place-items:center;position:relative;min-width:0;min-height:0;padding:3px;box-shadow:inset 0 2px 0 #ffffff90;transition:background .2s,transform .2s,border-color .2s}.garden-cell[data-tier="0"]:after{content:'~';font:22px Georgia,serif;color:#aac5b08c}.garden-cell[data-tier="0"]:hover{background:#fff9e7;border-color:#b7bf91;transform:translateY(-2px)}.garden-cell:not([data-tier="0"]){background:#fffaf0;border-color:#d7d7b8;box-shadow:0 3px 0 #b1c6a526,inset 0 2px 0 white}.coral-svg{width:100%;height:100%;display:block;overflow:visible}.coral-tier{position:absolute;bottom:3px;right:5px;color:#9aa488;font-size:8px;background:#f7f2e5;padding:1px 3px;border-radius:4px}.garden-cell.just-grown{animation:bloom .6s ease-out}.garden-world .room-toolbar{margin-bottom:15px}.garden-world .subtle-button{border-color:#d2d7bf;border-radius:22px;background:#fcfaef;color:#8d977d;font-size:10px;padding:10px 15px}.garden-world .primary-button{background:#8da27b;border-color:#8da27b;border-radius:22px}.garden-world .game-message{background:#f8f4e6;border-color:#e3ddc2;border-radius:13px;color:#8e947b;font-family:Georgia,serif}.garden-world .game-message.success{background:#edf4e5;border-color:#b2c89c;color:#788e62}.preview-tooltip{height:16px;margin:0 0 13px;text-align:center;font-size:10px;color:#8d9c7a}.garden-portrait{margin:0 0 20px;border:1px solid #e4dfc9;border-radius:14px;background:#edf2e4;overflow:hidden}.garden-portrait img{width:100%;aspect-ratio:1.8;object-fit:cover;display:block}.garden-portrait figcaption{padding:10px 6px;text-align:center;font:italic 11px Georgia,serif;color:#968966;background:#fff8e9}.garden-sidebar{padding-top:0}.garden-sidebar h2{font:400 28px Georgia,serif;color:#76896b}.garden-sidebar p{font-size:11px;line-height:1.85}.seed-tray{display:flex;gap:12px;align-items:center;padding-bottom:19px;margin-bottom:22px;border-bottom:1px solid var(--line)}.next-seed{width:60px;height:60px;padding:6px;border:1px solid #dedbc4;border-radius:14px;background:#faf4e7;flex-shrink:0}.seed-tray p{font-size:8px;letter-spacing:.06em;margin:0;color:#aaa184}.seed-tray strong{display:block;font:19px Georgia,serif;margin-top:7px;color:#8c946e}.seed-preview{display:flex;gap:7px;align-items:center;margin-left:auto}.seed-preview span{display:block;width:28px;height:34px;opacity:.65}.growth-guide{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;text-align:center;margin:15px 0}.growth-guide svg{height:42px;width:100%}.growth-guide span{display:block;font-size:7px;color:#9ca08a;margin-top:5px}.garden-world .instruction-rule{margin:20px 0}.restart-confirm{border:1px solid var(--line);border-radius:13px;padding:14px;display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;background:#faf5e9}.restart-confirm p{width:100%;font-size:11px;margin:0}.garden-world .play-footer{padding-top:6px}.garden-world .small-label{font-size:8px;color:#a6a084}.garden-world .board-caption{font-size:8px;color:#9ca98a}
/* DRIFTLINE: sunlit 16-bit sea, pixel sprites, tactile arcade controls. */
.drift-world{--accent:#dc8d57;--muted:#739092;--line:#bfcfcc;--panel:#fbfbea;--cream:#355f70;--gold:#be733f;--mint:#598a88;background:#f0f6ed;background-image:linear-gradient(#f3f7ed,#e7f3ef);font-family:'Courier New',monospace;color:#355f70}.drift-world .play-navigation{border-color:#c9dad1}.drift-world .play-brand{font:700 18px 'Courier New',monospace}.drift-world .play-brand span{font-family:monospace}.drift-world .sound-button{border:1px solid #9eb9b6;border-radius:0;box-shadow:2px 2px #cedccc;background:#f7f6e5;font:10px monospace}.drift-world .world-masthead{padding:32px 0 27px}.drift-world .world-masthead h1{font:bold clamp(40px,4.8vw,64px)/1 'Courier New',monospace;text-transform:uppercase;letter-spacing:-3px;color:#3f7383;text-shadow:2px 2px #fdfced,4px 4px #c2dcd2}.drift-world .world-title-mark{font-size:40px;color:#d8995f;text-shadow:2px 2px #fbe8c4}.drift-world .world-eyebrow{color:#9ca16e;font-size:9px;letter-spacing:.05em}.drift-world .world-tagline{font-size:11px;color:#7b9993}.drift-world .world-signature{color:#879b8f;font-size:8px}.drift-layout{padding:22px 25px 20px;border:2px solid #7babae;background:#f8f8e9;box-shadow:5px 5px 0 #abcac2,8px 8px 0 #e5eade;border-radius:0}.drift-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.drift-world .stat-group{gap:37px}.drift-world .stat>span{font-family:monospace;font-size:9px;color:#90a095}.drift-world .stat strong{font:bold 26px monospace;color:#3b6e7c}.mode-switch{display:flex;gap:5px}.mode-switch button{font:10px monospace;border:1px solid #b9cac0;border-radius:0;background:#eff2df;padding:10px 13px;box-shadow:2px 2px #dae2ce;color:#809b8d}.mode-switch button.active{background:#e6efcf;border-color:#8fae8f;color:#527963;box-shadow:2px 2px #bdceb3}.ocean-frame{position:relative;height:clamp(370px,calc(100dvh - 330px),620px);width:100%;border:2px solid #538b9a;background:#88d4dc;overflow:hidden;touch-action:none}.ocean-frame>canvas{display:block;width:100%;height:100%;image-rendering:pixelated;outline-offset:-5px}.ocean-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ecf3cf36;z-index:3}.voyage-intro{width:min(410px,calc(100% - 44px));padding:26px 30px;text-align:center;background:#fffbea;border:2px solid #8aab94;box-shadow:5px 5px #558c8855;color:#57776b}.voyage-intro .small-label{font:8px monospace;color:#bd9660;letter-spacing:.03em}.voyage-intro h2{font:bold 27px/1.2 monospace;margin:17px 0;color:#507b79;letter-spacing:-.8px}.voyage-intro p{font:11px/1.85 monospace;color:#83917b;margin:0 0 22px}.voyage-intro .button-row{justify-content:center}.drift-world .primary-button{font:700 11px monospace;border:1px solid #bd8855;color:#745b3d;background:#f4d69c;box-shadow:3px 3px #d0ae76;border-radius:0}.drift-world .subtle-button{font:10px monospace;background:#f6f6e4;border:1px solid #afc4b5;box-shadow:2px 2px #d2dfca;border-radius:0;color:#6d8a79}.drift-world .primary-button:active,.drift-world .subtle-button:active{transform:translate(2px,2px);box-shadow:none}.ocean-hud{position:absolute;left:15px;top:15px;font:8px monospace;letter-spacing:.03em;display:flex;gap:15px;background:#f6fae4cc;padding:8px 10px;color:#5a8c8f;pointer-events:none;border:1px solid #d2ecdc;box-shadow:2px 2px #51858822}.compass{position:absolute;right:18px;top:21px;border:1px solid #73a4a3;width:31px;height:34px;background:#eff9de9c;display:grid;place-items:center;font:19px monospace;color:#6b9690;pointer-events:none}.compass:before{content:'N';position:absolute;top:-12px;font:8px monospace;color:#507f84}.minimap{position:absolute;right:14px;bottom:14px;width:92px;height:92px;background:#d1eee4d9;border:2px solid #769fa0;box-shadow:3px 3px #55879644;pointer-events:none}.minimap canvas{width:100%;height:100%;image-rendering:pixelated}.touch-control{position:absolute;bottom:22px;left:22px;width:96px;height:96px;border:2px solid #72a1a0;background:#e7f4d8ba;box-shadow:3px 3px #619f9e55;display:none;touch-action:none}.touch-control:before,.touch-control:after{content:'';position:absolute;background:#b1cdad;left:45px;top:15px;width:2px;height:66px;pointer-events:none}.touch-control:after{transform:rotate(90deg)}.touch-stick{position:absolute;left:31px;top:31px;width:30px;height:30px;background:#fae6b6;border:2px solid #bcad7d;box-shadow:2px 2px #9fae8966;pointer-events:none;z-index:1}.joystick-label{position:absolute;bottom:5px;width:100%;text-align:center;font:7px monospace;color:#89a282;pointer-events:none}.ocean-toast{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);padding:9px 15px;background:#fff5cce8;border:1px solid #d4b16d;box-shadow:2px 2px #ab975755;font:10px monospace;color:#b18049;opacity:0;pointer-events:none;white-space:nowrap}.ocean-toast.show{opacity:1}.drift-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:19px;gap:25px}.drift-bottom p{font:10px/1.8 monospace;color:#79948a;margin:0;max-width:720px}.drift-bottom .button-row{flex-shrink:0}.drift-world .keyboard-note{font:9px/1.6 monospace;color:#9aa58c}.drift-world .play-footer{font:9px monospace;padding-top:8px;color:#88a198}
@keyframes bloom{0%{transform:scale(.8);background:#f8ebc1}45%{transform:scale(1.05)}100%{transform:scale(1)}}
@media(min-width:1450px){.collection-intro{padding-top:68px;padding-bottom:60px}.world-art{aspect-ratio:420/290}.room-layout{gap:60px}.world-masthead{padding-top:45px}}
@media(max-width:1000px){.world-cards{gap:18px}.world-copy{padding:21px 18px}.world-meta{font-size:7px}.genre-tag{font-size:7px;padding:5px 7px}.world-copy h3{font-size:29px}.world-copy p{font-size:11px}.play-composition{margin-right:0;transform:scale(.86);transform-origin:right center}.room-layout{grid-template-columns:minmax(0,1fr) 250px;gap:30px;padding:24px}.garden-world .room-layout{grid-template-columns:minmax(0,1fr) 270px;gap:27px}.stat-group{gap:23px}.world-signature{font-size:7px}.game-sidebar h2{font-size:23px}.garden-sidebar h2{font-size:26px}.drift-bottom p{max-width:570px}.drift-world .stat-group{gap:25px}}
@media(max-width:740px){.collection-header,.collection-main,.collection-footer{width:88%}.collection-header{height:77px}.littora-wordmark{font-size:30px}.home-link{font-size:10px;gap:10px}.collection-intro{padding:38px 0 35px;gap:0;position:relative}.intro-copy{position:relative;z-index:1}.intro-copy h1{font-size:54px;letter-spacing:-1.7px}.eyebrow{font-size:7px;letter-spacing:.11em;max-width:230px}.intro-copy>p:last-child{font-size:12px;line-height:1.8}.play-composition{position:absolute;right:-10px;top:46px;width:100px;height:130px;transform:scale(.45);transform-origin:right top;opacity:.35;pointer-events:none}.composition-note{display:none}.collection-label{padding:22px 0 19px}.collection-label h2{font-size:22px}.collection-label>span{font-size:6px;max-width:95px;text-align:right;line-height:1.7}.world-cards{grid-template-columns:1fr;gap:27px}.world-card{border-radius:8px}.world-art{aspect-ratio:420/260}.world-copy{padding:23px 23px 22px}.world-meta{font-size:9px}.genre-tag{font-size:9px;padding:6px 9px}.world-copy h3{font-size:34px;margin-top:17px}.world-copy p{font-size:12px}.world-cta{font-size:12px;margin-top:22px}.collection-afterword{padding:39px 0;gap:11px}.collection-afterword p{font-size:18px}.collection-afterword>span:first-child{font-size:21px}.collection-footer{flex-wrap:wrap;gap:15px;font-size:9px}.collection-footer>span:last-child{width:100%}.play-navigation{width:90%;height:65px}.all-games{font-size:10px;gap:7px}.all-games span{font-size:18px}.play-brand{font-size:18px}.play-brand span{display:none}.sound-button{font-size:9px;padding:8px;gap:5px}.sound-button svg{width:14px;height:14px}.play-main{width:92%}.world-masthead{padding:30px 3px 24px;display:block}.world-masthead h1{font-size:46px;gap:14px;letter-spacing:-1.8px}.world-eyebrow{font-size:8px;letter-spacing:.06em}.world-tagline{font-size:11px;margin-top:12px}.world-signature{display:none}.light-world .world-masthead h1{font-size:46px;letter-spacing:-2px}.light-world .world-title-mark{font-size:37px}.garden-world .world-masthead h1{font-size:47px;letter-spacing:-1.8px}.garden-world .world-title-mark{font-size:29px}.room-layout,.garden-world .room-layout{display:flex;flex-direction:column;padding:20px 16px;gap:26px}.game-main,.game-sidebar{width:100%}.board-frame{width:100%;max-width:470px;padding:10px}.beam-layer{inset:10px;width:calc(100% - 20px);height:calc(100% - 20px)}.room-toolbar{margin-bottom:18px}.stat-group{gap:22px}.stat strong{font-size:24px}.stat>span{font-size:7px}.subtle-button{font-size:10px;padding:10px 12px}.game-sidebar{padding-top:0;border-top:1px solid var(--line);padding-top:25px}.game-sidebar h2{font-size:24px}.game-sidebar p{font-size:12px}.keyboard-note{font-size:10px!important}.light-world .level-picker{grid-template-columns:repeat(9,minmax(0,1fr));gap:5px}.level-button{font-size:10px;padding:11px 0;min-height:40px}.game-message{font-size:11px;padding:12px 13px;margin-top:14px}.board-caption{font-size:8px;line-height:1.7}.garden-world .room-layout{border-radius:18px}.garden-world .board-frame{padding:10px;border-radius:15px}.garden-grid{gap:5px}.garden-cell{border-radius:9px;padding:2px}.garden-world .room-toolbar{margin-bottom:10px}.garden-world .stat-group{gap:19px}.garden-world .stat strong{font-size:25px}.garden-world .subtle-button{padding:10px 13px;font-size:10px}.mobile-seed-tray{display:flex;align-items:center;gap:10px;padding:3px 0 8px}.mobile-seed-tray>.small-label{font-size:7px;margin:0}.mobile-seed-tray>span:nth-child(2){display:block;width:40px;height:40px}.mobile-seed-tray strong{font:16px Georgia,serif;color:#8c946e}.mobile-seed-tray .seed-preview span{width:25px;height:30px}.preview-tooltip{margin-bottom:8px;font-size:9px;min-height:14px;height:auto}.garden-sidebar>.seed-tray{display:none}.garden-portrait{margin-bottom:23px}.garden-portrait img{aspect-ratio:2.1}.garden-portrait figcaption{font-size:11px}.garden-sidebar{border:0;padding-top:0}.garden-sidebar h2{font-size:29px}.growth-guide svg{height:45px}.growth-guide span{font-size:8px}.drift-world .world-masthead{padding:31px 3px 26px}.drift-world .world-masthead h1{font-size:43px;letter-spacing:-2px;gap:12px}.drift-world .world-title-mark{font-size:32px}.drift-world .play-brand{font-size:16px}.drift-layout{padding:16px 12px;box-shadow:3px 3px #abcac2,5px 5px #e5eade}.drift-top{align-items:flex-end;gap:10px;margin-bottom:16px}.drift-world .stat-group{gap:14px}.drift-world .stat strong{font-size:22px}.drift-world .stat>span{font-size:7px}.mode-switch{gap:4px}.mode-switch button{font-size:8px;padding:9px 7px;max-width:88px;white-space:normal;line-height:1.5}.ocean-frame{height:clamp(370px,55dvh,510px)}.touch-control{display:block;left:15px;bottom:17px;width:88px;height:88px}.touch-stick{left:27px;top:27px}.touch-control:before,.touch-control:after{left:41px;top:11px}.minimap{width:72px;height:72px;right:11px;bottom:12px}.ocean-hud{left:9px;top:12px;padding:7px 6px;font-size:6px;gap:8px}.compass{right:10px;top:19px;width:25px;height:27px;font-size:16px}.voyage-intro{width:calc(100% - 35px);padding:25px 19px}.voyage-intro h2{font-size:24px}.voyage-intro p{font-size:10px;line-height:1.8}.voyage-intro .small-label{font-size:7px}.ocean-toast{bottom:116px;font-size:8px}.drift-bottom{align-items:flex-start;flex-direction:column;gap:15px;margin-top:16px}.drift-bottom p{font-size:9px}.drift-bottom .button-row{align-self:flex-end}.drift-world .keyboard-note{font-size:8px!important;margin-top:13px!important}.play-footer{width:90%;font-size:9px;gap:15px;margin-top:23px;flex-wrap:wrap}.drift-world .play-footer{font-size:8px;line-height:1.6}}
@media(max-width:380px){.intro-copy h1{font-size:49px}.intro-copy>p:last-child{font-size:11px}.world-copy{padding:22px 19px}.world-copy h3{font-size:31px}.world-meta{font-size:8px}.genre-tag{font-size:8px}.play-navigation{width:92%}.play-main{width:94%}.world-masthead h1,.light-world .world-masthead h1{font-size:41px}.garden-world .world-masthead h1{font-size:43px}.room-layout,.garden-world .room-layout{padding:18px 12px}.stat-group{gap:18px}.garden-world .stat-group{gap:17px}.drift-layout{padding:14px 9px}.drift-world .stat-group{gap:10px}.mode-switch button{font-size:7px;padding:8px 6px}.drift-world .world-masthead h1{font-size:39px}}
@media(pointer:coarse){.touch-control{display:block}.subtle-button,.primary-button,.sound-button,.level-button,.mode-switch button{min-height:42px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.world-card:hover,.garden-cell[data-tier="0"]:hover{transform:none}}
@font-face{font-family:'Tiny Voyager';src:url('assets/tiny-voyager.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
.drift-world .world-masthead h1{font-family:'Tiny Voyager',monospace;font-size:46px;font-weight:400;letter-spacing:1px;line-height:1.15;text-shadow:2px 2px #fffdea,4px 4px #c2dcd2}.drift-world .stat strong{font-family:'Tiny Voyager',monospace;font-weight:400;font-size:24px;line-height:1.15}.voyage-intro h2{font-family:'Tiny Voyager',monospace;font-weight:400;font-size:19px;letter-spacing:0;line-height:1.5}.voyage-intro p{color:#61766a}.drift-world .primary-button{font-family:'Tiny Voyager',monospace;font-weight:400;font-size:10px;line-height:1.7}.drift-world .world-tagline,.drift-bottom p{color:#58796e}.drift-world .stat>span{color:#6c8272}.mode-switch button{color:#607967}.mode-switch button.active{color:#426648}.drift-world .world-eyebrow{color:#707a51}.garden-world{--muted:#777763}.garden-world .small-label{color:#827c61}.garden-world .stat>span{color:#7b846a}.garden-world .board-caption{font-size:9px;color:#788569}.garden-world .growth-guide span{color:#80886f}.garden-portrait figcaption{color:#847255}.seed-tray p{color:#857c61}.seed-tray strong{color:#737d55}.ocean-overlay[data-state="start"]{inset:auto 0 0;padding:14px;background:transparent}.ocean-overlay[data-state="start"] .voyage-intro{width:100%;display:grid;grid-template-columns:200px 1fr 125px;gap:0 28px;text-align:left;padding:17px 22px;max-width:none;background:#fffbeeed}.ocean-overlay[data-state="start"] .small-label{grid-column:1;grid-row:1;margin:0 0 7px}.ocean-overlay[data-state="start"] h2{grid-column:1;grid-row:2;margin:0;font-size:16px}.ocean-overlay[data-state="start"] #voyage-copy{grid-column:2;grid-row:1 / span 2;margin:0;font-size:10px;align-self:center}.ocean-overlay[data-state="start"] .button-row{grid-column:3;grid-row:1 / span 2;align-self:center}
@media(min-width:741px) and (max-height:800px){.world-masthead,.drift-world .world-masthead{padding-top:23px;padding-bottom:22px}.world-masthead h1{font-size:45px}.garden-world .world-masthead h1{font-size:48px}.room-layout .board-frame{width:min(100%,clamp(280px,calc(100dvh - 395px),460px))}.world-eyebrow{margin-bottom:8px}}
@media(max-width:740px){.drift-world .world-masthead h1{font-size:36px;letter-spacing:0}.drift-world .stat strong{font-size:20px}.drift-world .world-title-mark{font-size:28px}.ocean-overlay[data-state="start"]{padding:12px}.ocean-overlay[data-state="start"] .voyage-intro{grid-template-columns:1fr auto;gap:0 8px;padding:17px 13px}.ocean-overlay[data-state="start"] #voyage-copy{display:none}.ocean-overlay[data-state="start"] .small-label{font-size:6px;margin-bottom:7px}.ocean-overlay[data-state="start"] h2{font-size:13px}.ocean-overlay[data-state="start"] .button-row{grid-column:2}.ocean-overlay[data-state="start"] .primary-button{font-size:8px;padding:10px 12px}.voyage-intro h2{font-size:16px}.drift-world .primary-button{font-size:9px}.room-layout .board-frame{width:100%}}
