:root{--ink:#2d2d36;--muted:#76766f;--bg:#f6f4ed;--line:#deded5;--lime:#d8ec82;--purple:#7761a8;--cream:#fff8e8;--mint:#edf5e8;--lilac:#f0eafa;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #8064b3;outline-offset:4px}button{transition:background .18s,transform .18s}button:active{transform:translateY(1px)}[hidden]{display:none!important}.header,main,footer{max-width:1240px;margin:auto}.header{height:102px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-weight:800;font-size:29px;letter-spacing:-1.4px}.brand-dot{color:#9bac4d}.brand-icon{width:39px;height:39px;background:var(--lime);border-radius:12px;margin-right:10px;position:relative;font-size:32px;line-height:35px;padding-left:7px;transform:rotate(-7deg)}.brand-icon span{position:absolute;font-size:19px;top:-6px;right:2px;transform:rotate(15deg)}nav{display:flex;align-items:center;gap:34px;font-size:14px}nav a:hover{color:var(--purple)}.nav-examples{border:1px solid var(--line);padding:12px 18px;border-radius:50px}.nav-examples span{margin-left:10px}.hero{padding:57px 0 43px;position:relative}.eyebrow,.section-kicker{font-size:10px;letter-spacing:1.65px;font-weight:700;line-height:1.5}.eyebrow{display:flex;gap:9px;align-items:center}.eyebrow>span{width:7px;height:7px;border-radius:50%;background:#9aaf56}.hero h1{font-size:64px;font-weight:500;letter-spacing:-3.8px;line-height:1.1;margin:23px 0 20px}.hero h1>span{display:inline-block;position:relative;color:var(--purple)}.hero-star{color:#99ac55;font-size:43px;vertical-align:middle;margin-left:14px;display:inline-block}.hero p{font-size:15px;line-height:1.8;color:var(--muted);margin:0}.hero-doodle{position:absolute;right:46px;top:67px;display:flex;align-items:center;gap:17px;transform:rotate(-7deg)}.doodle-cat{display:block;width:100px;transform:rotate(-10deg)}.doodle-plus{font-size:28px;color:#9a9a90;font-weight:300}.doodle-letters{font-family:Georgia,serif;font-size:65px;color:var(--purple)}.doodle-letters>span{display:inline-block;font-size:45px;transform:rotate(12deg);margin-left:4px}.doodle-caption{position:absolute;top:103px;left:13px;white-space:nowrap;font-size:12px;font-style:italic;color:var(--muted)}.generator{display:grid;grid-template-columns:346px 1fr;gap:28px;align-items:start}.controls{background:#fffefa;border:1px solid var(--line);border-radius:18px;padding:26px}.panel-heading,.result-label{display:flex;align-items:center;gap:11px}.panel-heading{margin-bottom:31px}.step{font-size:10px;font-weight:600;letter-spacing:1px;border:1px solid #deded5;border-radius:50px;padding:5px 7px;color:var(--muted)}h2,h3,p{margin-top:0}.panel-heading h2,.result-label h2{font-size:16px;letter-spacing:-.3px;font-weight:600;margin:0}.tiny-star{font-size:24px;color:var(--purple);margin-left:auto}.field-label,legend{font-size:12px;font-weight:600;display:block;margin-bottom:12px}.input-wrap{position:relative}.input-wrap input{width:100%;font-size:20px;letter-spacing:1px;font-weight:500;border:1px solid #d8d9cc;background:var(--bg);border-radius:9px;padding:16px 14px 35px;text-transform:uppercase;color:var(--ink);min-height:85px}.input-wrap>span{position:absolute;bottom:11px;right:13px;font-size:10px;color:#8a8b7e;letter-spacing:.4px}.field-help{font-size:11px;line-height:1.6;color:var(--muted);margin:9px 0 0}.text-button{border:0;background:none;font-size:12px;padding:0;color:var(--ink);display:flex;align-items:center;gap:8px}.text-button:hover{color:var(--purple)}#random{margin-top:15px}#random>span{font-size:23px;line-height:15px}fieldset{padding:0;border:0;margin:31px 0 25px;min-width:0}legend{padding:0}.segmented{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:9px;background:var(--bg);padding:4px;gap:3px}.segmented label{position:relative;cursor:pointer}.segmented input{position:absolute;opacity:0;width:1px;height:1px}.segmented span{display:block;text-align:center;font-size:12px;padding:10px 0;border-radius:6px}.segmented input:checked+span{background:#fffefa;box-shadow:0 1px 5px #2d2d3612}.segmented input:focus-visible+span{outline:2px solid var(--purple)}.create-button{display:flex;align-items:center;justify-content:space-between;background:var(--lime);padding:17px 19px;border-radius:9px;border:1px solid #cadc77;width:100%;font-size:14px;font-weight:600;gap:10px}.create-button:hover{background:#cfe373}.create-button span{font-size:21px}.local-note{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin-top:16px}.local-note>span{font-size:19px;color:#91a14b}.result-toolbar{display:flex;justify-content:space-between;align-items:center;padding:1px 0 18px}.live-badge{font-size:10px;color:#797f64;display:flex;align-items:center;gap:6px}.live-badge i{width:5px;height:5px;border-radius:50%;background:#92a05d}.paper{border-radius:14px;border:1px solid #e5dfcc;background:var(--cream);min-height:304px;padding:22px 25px 17px;box-shadow:0 7px 0 -4px #edeadd,0 8px 0 -4px #e1dfd1;transition:background .3s;display:flex;flex-direction:column}.paper[data-theme=mint]{background:var(--mint);border-color:#d8e2d0}.paper[data-theme=lilac]{background:var(--lilac);border-color:#e0d6ec}.paper-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.6px;color:#909083}.puzzle{min-height:210px;display:flex;align-items:center;justify-content:center;flex:1;padding:18px 0;flex-wrap:wrap;gap:12px}.puzzle-word{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;position:relative}.puzzle-word+.puzzle-word{padding-left:20px;border-left:1px dashed #c7c4b6}.piece{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:98px;padding:13px 13px 5px}.piece-art{width:108px;height:108px;display:block}.piece-art.reversed{transform:rotate(180deg)}.piece-art svg{width:100%;height:100%}.piece .before,.piece .after{font-family:Georgia,serif;font-size:46px;position:absolute;letter-spacing:-4px;line-height:.7;color:var(--purple);top:5px}.piece .before{left:0;transform:rotate(180deg);top:29px}.piece .after{right:0}.replacement{font-size:11px;font-weight:600;letter-spacing:1px;padding:5px 8px;border-radius:4px;background:#ffffff8a;margin-top:3px;color:var(--purple)}.literal{font-size:35px;font-weight:500;letter-spacing:3px;color:var(--ink);padding:0 6px}.plus{font-size:22px;color:#b3ac98;font-weight:300}.word-break{width:100%}.paper-bottom{display:flex;justify-content:space-between;align-items:center}.paper-scribble{font-family:Georgia,serif;font-style:italic;font-size:11px;color:#999382}.paper-brand{font-size:12px;letter-spacing:-.6px;color:#9b9689;font-weight:700}.result-bottom{display:flex;justify-content:space-between;align-items:center;padding:21px 0 19px}.theme-controls{display:flex;align-items:center;gap:7px}.theme-controls>span{font-size:10px;color:var(--muted);margin-left:5px}.swatch{width:17px;height:17px;border:1px solid #cecbbf;border-radius:50%;padding:0}.swatch.selected{outline:1px solid #777970;outline-offset:3px;margin:0 2px}.cream{background:var(--cream)}.mint{background:#d7e5c4}.lilac{background:#d8c8e7}.actions{display:grid;grid-template-columns:1.15fr .85fr 1fr;gap:9px}.actions button{border:1px solid #d5d5cb;border-radius:8px;background:#fffefa;padding:12px 8px;font-size:12px;display:flex;justify-content:center;align-items:center;gap:8px}.actions button:hover{background:#eeeee4}.actions button>span{font-size:18px;line-height:16px}.answer-controls{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);margin-top:17px}.answer-controls button{border:0;background:none;padding:12px 0 16px;font-size:11px;display:flex;align-items:center;gap:12px;color:var(--muted)}.answer-controls button:hover{color:var(--purple)}.answer-controls button span{font-size:16px}.disclosure{background:#edece4;border-radius:9px;padding:18px 20px;margin-top:12px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.disclosure ol{margin:6px 0;padding-left:20px}.disclosure p:last-child{margin-bottom:0}.answer-panel strong{color:var(--purple);font-size:17px;letter-spacing:2px}.error{color:#ae3b3b;font-size:12px;line-height:1.5;margin:10px 0}.generation-note{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0}.ideas{margin-top:58px;padding-top:32px;border-top:1px solid var(--line)}.section-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.section-kicker{font-size:9px;color:var(--muted)}.section-intro h2{font-size:27px;font-weight:500;letter-spacing:-.8px;margin:9px 0 0}.section-intro>p{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.word-chips{display:flex;gap:9px;flex-wrap:wrap}.word-chips button{background:transparent;border:1px solid #d5d6ca;border-radius:50px;padding:11px 18px;font-size:12px}.word-chips button:hover{background:var(--lime);border-color:#c2d174}.word-chips button span{margin-right:9px;font-size:15px}.rules{display:grid;grid-template-columns:1.07fr 1fr 1fr 1fr;gap:23px;margin-top:64px;padding:35px 0 42px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.rules-title{position:relative}.rules-title h2{font-size:29px;line-height:1.2;letter-spacing:-.9px;font-weight:500;margin:11px 0 12px}.rules-title h2 span{color:var(--purple)}.rules-title p{font-size:11px;line-height:1.7;color:var(--muted)}.rules-loop{position:absolute;right:24px;bottom:0;font-size:60px;transform:rotate(20deg);color:#a7ad8e;font-family:Georgia,serif}.rules article{min-width:0}.rule-visual{height:86px;background:#ecebe3;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:17px}.rule-visual svg{width:58px;height:58px}.comma-rule>span:first-child{font-family:Georgia,serif;font-size:32px;color:var(--purple);transform:rotate(180deg);align-self:center}.comma-rule>span:last-child{font-size:16px}.replace-rule{flex-direction:column;gap:8px}.replace-rule>span:first-child{color:var(--purple);font-size:15px;letter-spacing:1px}.replace-rule>span:last-child{font-size:14px}.reverse-rule>span:first-child{transform:rotate(180deg)}.reverse-rule>span:last-child{font-size:11px}.rule-number{font-size:8px;color:var(--muted);letter-spacing:1.3px}.rules h3{font-size:12px;margin:9px 0;line-height:1.5}.rules article p{font-size:11px;line-height:1.75;color:var(--muted);margin:0}.bottom-note{display:flex;align-items:center;gap:22px;margin:35px 0}.bottom-note>span{font-size:46px;color:var(--purple)}.bottom-note p{margin:0;font-size:11px;line-height:1.9;color:var(--muted)}.bottom-note strong{color:var(--ink);font-weight:400}.bottom-note a{margin-left:auto;font-size:12px}footer{padding:26px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}footer .brand{font-size:21px}footer>span,footer>a:last-child{font-size:10px;color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:9px;padding:14px 22px;font-size:13px;z-index:10;max-width:90%;box-shadow:0 5px 30px #0002}.guess-form{padding-top:18px}.guess-form label{font-size:12px}.guess-form>div{display:flex;margin-top:9px;gap:8px}.guess-form input,dialog input{border:1px solid var(--line);border-radius:8px;padding:13px 12px;background:#fffefa;color:var(--ink);min-width:0;width:100%}.guess-form button{border:0;border-radius:8px;background:var(--lime);padding:10px 15px}.guess-form p{font-size:12px;margin:12px 0 0}.solving .controls .input-wrap,.solving .controls>.field-label,.solving .controls>#wordHelp,.solving .controls>#random,.solving .controls>fieldset,.solving .controls>.local-note{display:none}.solving .controls .panel-heading{margin-bottom:18px}.solving .controls::after{content:'Сначала попробуйте назвать картинки. Затем примените запятые и замены букв. Удачи!';display:block;font-size:12px;line-height:1.8;color:var(--muted);margin-top:22px}dialog{border:1px solid var(--line);border-radius:18px;background:var(--bg);padding:35px;max-width:460px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 80px #0002}dialog::backdrop{background:#24233170;backdrop-filter:blur(3px)}dialog h2{margin:14px 0;font-size:29px;letter-spacing:-1px;font-weight:500}dialog p{font-size:13px;color:var(--muted);line-height:1.7}dialog label{font-size:11px;display:block;margin:20px 0 9px}dialog input{font-size:11px;margin-bottom:16px}.dialog-close{position:absolute;top:12px;right:15px;border:0;background:none;font-size:25px;color:var(--muted)}
@media(min-width:1450px){.header,main,footer{max-width:1240px}.hero{padding-top:65px;padding-bottom:50px}.hero h1{font-size:68px}.paper{min-height:330px}.puzzle{min-height:235px}}
@media(max-width:1340px){.header,main,footer{margin-left:5%;margin-right:5%}.hero h1{font-size:57px}.hero-doodle{right:17px}.generator{grid-template-columns:320px 1fr;gap:24px}.controls{padding:24px}}
@media(max-width:1050px){.hero-doodle{right:0;top:76px;transform:rotate(-7deg) scale(.8);transform-origin:right top}.hero h1{max-width:660px;font-size:52px}.hero h1>span{display:block}.hero{padding-top:40px}.generator{grid-template-columns:300px 1fr;gap:22px}.controls{padding:22px}.live-badge{display:none}.piece-art{width:89px;height:89px}.piece{min-width:85px;padding:15px 10px 5px}.puzzle{gap:8px}.puzzle-word{gap:3px}.literal{font-size:29px}.paper{padding:20px 16px;min-height:294px}.paper-top{font-size:8px}.rules{gap:17px;grid-template-columns:1fr 1fr 1fr}.rules-title{grid-column:1/-1}.rules-title h2 br,.rules-title p br{display:none}.rules-title h2{font-size:27px}.rules-title p{margin-bottom:0}.rules-loop{right:10px;bottom:10px}.rules h3{font-size:12px}.rule-visual{height:96px}}
@media(max-width:760px){.header{height:80px}.brand{font-size:25px}.brand-icon{width:33px;height:33px;font-size:29px;line-height:29px}.brand-icon span{font-size:17px}nav{gap:18px;font-size:12px}.nav-examples{display:none}.hero{padding:35px 0 30px}.hero h1{font-size:46px;letter-spacing:-2.5px;margin-top:18px;margin-bottom:16px}.hero-star{font-size:33px}.hero p{font-size:13px}.eyebrow{font-size:8px;letter-spacing:1px}.hero-doodle{display:none}.generator{grid-template-columns:1fr;gap:26px}.controls{padding:23px}.panel-heading{margin-bottom:24px}.input-wrap input{font-size:21px;padding-bottom:29px;min-height:78px}fieldset{margin:25px 0 20px}.local-note{margin-top:12px}.result-toolbar{padding-bottom:15px}.live-badge{display:flex;font-size:9px}.paper{min-height:285px;padding:20px}.piece-art{width:100px;height:100px}.piece{min-width:96px;padding:15px 12px 5px}.puzzle-word{gap:7px}.puzzle{gap:13px;min-height:204px}.puzzle-word+.puzzle-word{border:0;padding-left:0;width:100%;padding-top:12px}.paper-bottom{margin-top:10px}.actions button{font-size:11px;padding:13px 7px;gap:7px}.result-bottom{padding:22px 0 20px}.ideas{margin-top:36px;padding-top:27px}.section-intro{align-items:flex-start;gap:20px}.section-intro h2{font-size:24px}.section-intro>p{display:none}.word-chips{gap:8px}.word-chips button{padding:10px 14px;font-size:11px}.section-kicker{font-size:8px;letter-spacing:1.2px}.rules{margin-top:36px;padding:28px 0;grid-template-columns:1fr;gap:22px}.rules-title h2{font-size:26px}.rules article{display:grid;grid-template-columns:100px 1fr;column-gap:18px}.rule-visual{grid-column:1;grid-row:1/4;height:100%;min-height:100px;margin-bottom:0;gap:3px}.rule-number,.rules h3,.rules article p{grid-column:2}.rules h3{margin:6px 0}.rules article p{font-size:11px}.rule-visual svg{width:47px;height:47px}.comma-rule>span:last-child{font-size:13px}.replace-rule>span:first-child{font-size:12px}.replace-rule>span:last-child{font-size:10px}.reverse-rule{flex-direction:column}.reverse-rule>span:last-child{font-size:9px}.bottom-note{gap:14px;margin:25px 0;flex-wrap:wrap}.bottom-note>span{font-size:36px}.bottom-note p{font-size:10px}.bottom-note a{font-size:11px;margin-left:50px}footer{padding:22px 0;flex-wrap:wrap;gap:16px}footer>span{order:3;width:100%;font-size:9px}footer>a:last-child{margin-left:auto}.disclosure{padding:16px}.disclosure ol{padding-left:16px}.solving .controls{padding:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{body{background:white}.header,.hero,.controls,.result-toolbar,.result-bottom,.actions,.answer-controls,.disclosure,.guess-form,.generation-note,.ideas,.rules,.bottom-note,footer,.toast,dialog{display:none!important}main{margin:0;max-width:none}.generator{display:block}.result{width:100%}.paper{box-shadow:none;border:1px solid #aaa;min-height:400px;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.paper-scribble{display:none}.puzzle{min-height:300px}}
footer>span a{text-decoration:underline;text-underline-offset:3px}@media(max-width:760px){.rules-loop{display:none}}

/* Fantasy edition: parchment, forest and worn brass. */
:root{--ink:#3b3428;--muted:#827967;--bg:#f1eddf;--line:#d7cfb9;--lime:#d8dfb4;--purple:#6c7855;--cream:#fbefd5;--mint:#e7eddb;--lilac:#eae1f0;background-image:radial-gradient(#897d5110 .6px,transparent .6px);background-size:5px 5px}
.hero h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-2.4px;font-size:57px}.hero h1>span{display:block}.hero{padding-top:43px;padding-bottom:34px}.hero-doodle{top:80px;right:32px;transform:rotate(-6deg) scale(1.1)}.doodle-cat{width:118px}.doodle-letters{color:#9e7c4d}.hero-star{color:#aa884f;font-size:38px}.brand-dot{color:#a28b4e}.brand-icon{font-size:38px;padding-left:2px;line-height:35px;color:#59623d;background:#dce3b6}.brand{letter-spacing:-1px}.brand-icon>span{display:none}.controls{background:#fbf8ef;border-color:#d7cfb9}.input-wrap input{background:#f4f0e4;border-color:#d4ccb6}.create-button{background:#d8dfb4;border-color:#c3cd98}.create-button:hover{background:#c9d398}.paper{border-color:#dbc89e;box-shadow:0 7px 0 -4px #e3d8bf,0 8px 0 -4px #cabfa6}.paper[data-theme=mint]{border-color:#bac8a8}.paper[data-theme=lilac]{border-color:#ccbad7}.paper-scribble{color:#9f8b64}.paper-brand{color:#9f8b64}.cream{background:#fbefd5}.mint{background:#cad8ad}.lilac{background:#cfbdda}.actions button{background:#fbf8ef;border-color:#d7cfb9}.actions button:hover{background:#e8e0cc}.word-chips button:hover{background:#d8dfb4;border-color:#b9c18d}.word-chips button span{display:inline-flex;vertical-align:middle;margin-top:-2px}.word-chips svg{width:21px;height:21px}.rule-visual{background:#e7e1d1}.disclosure{background:#e7e1d1}.bottom-note>span{color:#9e7c4d}.eyebrow{font-size:9px;letter-spacing:1.1px}.doodle-caption{top:121px;left:8px}.live-badge{color:#7d825f}
@media(max-width:1050px){.hero h1{font-size:50px}.hero-doodle{transform:rotate(-6deg) scale(.8);top:80px;right:0}}
@media(max-width:760px){.hero h1{font-size:44px;letter-spacing:-1.8px}.hero{padding-top:32px;padding-bottom:29px}.eyebrow{font-size:7px;letter-spacing:.65px}.brand-icon{font-size:33px;line-height:29px}.word-chips svg{width:18px;height:18px}.section-intro h2{font-size:23px}}
@media print{body{background:white!important;background-image:none!important}.paper{box-shadow:none}}

/* Recognisable figures cut into angular lines: objects retain their silhouettes. */
.runic-picture{overflow:visible}.piece-art{width:112px;height:112px}.doodle-cat{width:120px;transform:rotate(-8deg)}.word-chips .runic-picture{width:23px;height:23px}.paper{background-image:radial-gradient(#8b795009 .7px,transparent .7px);background-size:6px 6px}.rule-visual .runic-picture{width:58px;height:58px}
@media(max-width:1050px){.piece-art{width:92px;height:92px}}
@media(max-width:760px){.piece-art{width:100px;height:100px}.word-chips .runic-picture{width:20px;height:20px}}

:root{--carving-surface:#f1eddf}.paper{--carving-surface:#fbefd5}.paper[data-theme=mint]{--carving-surface:#e7eddb}.paper[data-theme=lilac]{--carving-surface:#eae1f0}.rule-visual{--carving-surface:#e7e1d1}.word-chips button:hover{--carving-surface:#d8dfb4}
