:where(.reading-collection,.reading-collection-dialog) .mem-game{--mem-green:#17664f;--mem-amber:#ad641b;--mem-blue:#3265b2;--mem-purple:#85559d;min-width:0}[data-theme=dark] :where(.reading-collection,.reading-collection-dialog) .mem-game,[data-theme=dark] :where(.reading-collection,.reading-collection-dialog) .mem-binding-cover{--mem-green:#8ed1b3;--mem-amber:#edb76f;--mem-blue:#8cb4ee;--mem-purple:#c8a0df}:where(.reading-collection,.reading-collection-dialog) .mem-game .mem-task-title{max-width:70ch;margin:0 0 24px;font-size:20px;line-height:1.5}:where(.reading-collection,.reading-collection-dialog) .mem-line-board{aspect-ratio:1;width:min(100%,360px);margin:16px auto;position:relative}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg{fill:none;stroke:none;width:100%;height:auto;display:block;overflow:visible}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-gridline{fill:none;stroke:var(--border);stroke-width:1px;opacity:.4}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-edge{fill:none;stroke:var(--accent);stroke-width:7px;stroke-linecap:round}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-missing{stroke-dasharray:7 9;stroke-width:5px}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-extra,:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-cross{stroke:var(--bad);stroke-width:5px}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-cross{stroke-width:3px;fill:none;stroke-linecap:round}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-dot{fill:var(--ink);stroke:var(--card);stroke-width:2px}:where(.reading-collection,.reading-collection-dialog) .mem-node{width:44px;min-width:44px;height:44px;color:var(--accent);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}:where(.reading-collection,.reading-collection-dialog) .mem-node span{border:2px solid var(--card);background:var(--ink);border-radius:50%;width:14px;height:14px}:where(.reading-collection,.reading-collection-dialog) .mem-node:hover span,:where(.reading-collection,.reading-collection-dialog) .mem-node-selected span{background:var(--accent);width:20px;height:20px}:where(.reading-collection,.reading-collection-dialog) .mem-node-selected{box-shadow:inset 0 0 0 2px var(--accent);background:var(--soft)}:where(.reading-collection,.reading-collection-dialog) .mem-node:focus-visible{outline-offset:0}:where(.reading-collection,.reading-collection-dialog) .mem-edit-actions{flex-wrap:wrap;align-items:center;gap:12px 24px;margin-right:auto;display:flex}:where(.reading-collection,.reading-collection-dialog) .mem-inline-status{min-height:0;color:var(--muted);margin:12px 0 0}:where(.reading-collection,.reading-collection-dialog) .mem-inline-status:empty{display:none}:where(.reading-collection,.reading-collection-dialog) .mem-game .mem-feedback{outline:none;margin:20px 0;padding:0}:where(.reading-collection,.reading-collection-dialog) .mem-score{margin:0 0 12px;font-size:20px;font-weight:650;line-height:1.5}:where(.reading-collection,.reading-collection-dialog) .mem-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:700px;margin:20px auto;display:grid}:where(.reading-collection,.reading-collection-dialog) .mem-comparison figure{min-width:0;margin:0}:where(.reading-collection,.reading-collection-dialog) .mem-comparison figcaption{margin-bottom:12px;font-size:16px;font-weight:650}:where(.reading-collection,.reading-collection-dialog) .mem-review-key{color:var(--muted);margin:16px 0}:where(.reading-collection,.reading-collection-dialog) .mem-round-review{margin-top:24px}:where(.reading-collection,.reading-collection-dialog) .mem-reviewed-round{padding-top:24px}:where(.reading-collection,.reading-collection-dialog) .mem-reviewed-round+.mem-reviewed-round{border-top:1px solid var(--border);margin-top:24px}:where(.reading-collection,.reading-collection-dialog) .mem-reviewed-round h3{font-size:18px}:where(.reading-collection,.reading-collection-dialog) .mem-binding-board{grid-template-columns:repeat(var(--mem-columns),minmax(0,1fr));gap:8px;width:min(100%,360px);margin:20px auto;display:grid}:where(.reading-collection,.reading-collection-dialog) .mem-bind-cell{aspect-ratio:1;border:1px solid var(--border);background:var(--card);min-width:0;color:var(--ink);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:5px;display:flex;position:relative}:where(.reading-collection,.reading-collection-dialog) button.mem-bind-cell:hover{background:var(--soft);border-color:var(--accent)}:where(.reading-collection,.reading-collection-dialog) .mem-bind-cell .mem-shape{width:clamp(30px,7vw,46px);height:auto}:where(.reading-collection,.reading-collection-dialog) .mem-color-label{overflow-wrap:anywhere;text-align:center;font-size:14px;line-height:1.3}:where(.reading-collection,.reading-collection-dialog) .mem-empty-dot{background:var(--border);border-radius:50%;width:4px;height:4px}:where(.reading-collection,.reading-collection-dialog) .mem-shape{stroke:currentColor;stroke-width:1px;fill:currentColor;flex-shrink:0;width:44px;height:44px;display:block}:where(.reading-collection,.reading-collection-dialog) .mem-color-green{color:var(--mem-green,#17664f)}:where(.reading-collection,.reading-collection-dialog) .mem-color-amber{color:var(--mem-amber,#ad641b)}:where(.reading-collection,.reading-collection-dialog) .mem-color-blue{color:var(--mem-blue,#3265b2)}:where(.reading-collection,.reading-collection-dialog) .mem-color-purple{color:var(--mem-purple,#85559d)}:where(.reading-collection,.reading-collection-dialog) .mem-piece-palette{flex-wrap:wrap;justify-content:center;gap:8px;max-width:760px;margin:20px auto;display:flex}:where(.reading-collection,.reading-collection-dialog) .mem-piece{border:1px solid var(--border);background:var(--card);text-align:left;border-radius:8px;align-items:center;gap:8px;min-height:58px;padding:8px 12px;font-size:15px;display:flex;position:relative}:where(.reading-collection,.reading-collection-dialog) .mem-piece:hover{background:var(--soft)}:where(.reading-collection,.reading-collection-dialog) .mem-piece-selected{border:2px solid var(--accent);background:var(--soft);padding:7px 11px}:where(.reading-collection,.reading-collection-dialog) .mem-piece .mem-shape{width:32px;height:32px}:where(.reading-collection,.reading-collection-dialog) .mem-piece .mem-placed{width:18px;height:18px;color:var(--accent);fill:none;stroke:currentColor;stroke-width:2px;margin-left:2px}:where(.reading-collection,.reading-collection-dialog) .mem-cell-mismatch{border-style:dashed;border-width:2px;padding:4px}:where(.reading-collection,.reading-collection-dialog) .mem-cell-x{color:var(--bad);font-size:16px;font-weight:650;line-height:1.2;position:absolute;top:1px;right:4px}:where(.reading-collection,.reading-collection-dialog) .mem-pattern-cover{width:170px;max-width:100%;margin:auto}:where(.reading-collection,.reading-collection-dialog) .mem-binding-cover{--mem-green:#17664f;--mem-amber:#ad641b;--mem-blue:#3265b2;--mem-purple:#85559d;width:164px;max-width:100%;margin:auto}:where(.reading-collection,.reading-collection-dialog) .mem-binding-cover .mem-binding-board{gap:5px;margin:0}:where(.reading-collection,.reading-collection-dialog) .mem-binding-cover .mem-bind-cell{border-color:color-mix(in srgb,var(--ink) 25%,transparent);background:0 0;gap:0;padding:3px}:where(.reading-collection,.reading-collection-dialog) .mem-binding-cover .mem-shape{width:26px}:where(.reading-collection,.reading-collection-dialog) .mem-binding-cover .mem-color-label{display:none}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game{text-align:left;width:100%}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-task-title{margin-bottom:12px;font-size:16px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-line-board{max-width:280px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-actions{margin-top:16px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-actions .primary{width:auto;min-width:0}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-score{font-size:16px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-comparison{gap:12px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-comparison figcaption{font-size:14px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-piece{gap:5px;padding:6px 8px;font-size:14px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-piece-selected{padding:5px 7px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-review-key{font-size:14px}@media (width<=650px){:where(.reading-collection,.reading-collection-dialog) .mem-comparison{grid-template-columns:minmax(0,1fr);max-width:330px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.reading-collection,.reading-collection-dialog) .mem-piece-palette{justify-content:flex-start}:where(.reading-collection,.reading-collection-dialog) .mem-piece{flex:135px}:where(.reading-collection,.reading-collection-dialog) .mem-edit-actions{width:100%;margin:0}:where(.reading-collection,.reading-collection-dialog) .mem-game .mem-score{font-size:18px}:where(.reading-collection,.reading-collection-dialog) .mem-demo-game .mem-score{font-size:16px}}:where(.reading-collection,.reading-collection-dialog) .mini .mini-stage>.mem-pattern-cover,:where(.reading-collection,.reading-collection-dialog) .mini .mini-stage>.mem-binding-cover{flex:0 0 130px;width:130px;max-width:130px;height:130px;min-height:0;margin:auto}:where(.reading-collection,.reading-collection-dialog) .collection .mini .mini-stage>.mem-pattern-cover,:where(.reading-collection,.reading-collection-dialog) .collection .mini .mini-stage>.mem-binding-cover{flex-basis:148px;width:148px;max-width:148px;height:148px}@media (width<=700px){:where(.reading-collection,.reading-collection-dialog) .collection .mini .mini-stage>.mem-pattern-cover,:where(.reading-collection,.reading-collection-dialog) .collection .mini .mini-stage>.mem-binding-cover{flex-basis:108px;width:108px;max-width:108px;height:108px}:where(.reading-collection,.reading-collection-dialog) .mem-binding-cover .mem-shape{width:22px}}:where(.reading-collection,.reading-collection-dialog) .mem-cover-svg .mem-edge{stroke-width:10px}:where(.reading-collection,.reading-collection-dialog) .mem-cover-svg .mem-gridline{stroke-width:2px}:where(.reading-collection,.reading-collection-dialog) :lang(ko) .mem-game .mem-task-title,:where(.reading-collection,.reading-collection-dialog) :lang(ko) .mem-piece span{word-break:keep-all;overflow-wrap:anywhere}:where(.reading-collection,.reading-collection-dialog) .mem-pattern .mem-edit-actions{align-items:center;gap:8px}:where(.reading-collection,.reading-collection-dialog) .mem-drawing-tools{align-items:center;gap:4px;display:flex}:where(.reading-collection,.reading-collection-dialog) .mem-drawing-tools .text-button{border:1px solid #0000;border-radius:8px;min-height:44px;padding:8px 12px;text-decoration:none}:where(.reading-collection,.reading-collection-dialog) .mem-drawing-tools [aria-pressed=true]{border-color:var(--accent);background:var(--soft);color:var(--accent)}:where(.reading-collection,.reading-collection-dialog) .mem-pattern .mem-edit-actions>.text-button{min-height:44px;padding:8px 10px}:where(.reading-collection,.reading-collection-dialog) .mem-game .mem-line-interactive,:where(.reading-collection,.reading-collection-dialog) .mem-game .mem-line-interactive .mem-node{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-stroke-preview{fill:none;stroke:var(--accent);stroke-width:5px;stroke-dasharray:6 7;stroke-linecap:round;opacity:.65;pointer-events:none}:where(.reading-collection,.reading-collection-dialog) .mem-line-svg .mem-stroke-preview[hidden]{display:none}:where(.reading-collection,.reading-collection-dialog) .mem-line-board[data-tool=erase] .mem-stroke-preview{stroke:var(--bad)}:where(.reading-collection,.reading-collection-dialog) .mem-node-drawing{box-shadow:inset 0 0 0 2px var(--accent);background:var(--soft)}:where(.reading-collection,.reading-collection-dialog) .mem-node-drawing span{background:var(--accent);width:20px;height:20px}@media (width<=650px){:where(.reading-collection,.reading-collection-dialog) .mem-pattern .mem-edit-actions{justify-content:flex-start;gap:4px}:where(.reading-collection,.reading-collection-dialog) .mem-drawing-tools .text-button{padding-inline:10px}:where(.reading-collection,.reading-collection-dialog) .mem-pattern .mem-edit-actions>.text-button{padding-inline:8px}:where(.reading-collection,.reading-collection-dialog) .mem-pattern .mem-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:none}:where(.reading-collection,.reading-collection-dialog) .mem-pattern .mem-comparison figcaption{font-size:16px;line-height:1.4}}
