.interactive_lesson_shell{--chess-padding-inline:24px;--chess-board-size:600px}.chess_loading .interactive_lesson:not(.chess_ready){visibility:hidden}.chess_lesson_shell{overflow-anchor:none}.interactive_lesson_shell .interactive_lesson,.interactive_lesson_shell .interactive_lesson_progress_wrap{padding-inline:var(--chess-padding-inline)}.chess_practice_widget .chess_layout{grid-template-columns:minmax(0,1fr);justify-items:center;gap:24px}.chess_practice_widget .chess_board_wrap,.chess_practice_widget .king_board_column,.chess_practice_widget .promotion_board_column{max-width:var(--chess-board-size);margin-inline:auto}.chess_practice_widget .chess_panel{width:100%;max-width:720px;margin-inline:auto;padding-inline:0}.chess_practice_widget .chess_exercise{text-align:center}.chess_practice_widget:not(.chess_reading) .chess_panel{min-height:76px;justify-content:center}.mixed_lesson_widget:not(.chess_reading) .chess_panel{min-height:36px}.chess_practice_widget .chess_exercise .chess_question{text-align:center}.chess_practice_widget .chess_question_fixed,.chess_question_measure{display:grid;grid-template-columns:minmax(0,1fr)}.chess_question_fixed>span,.chess_question_measure>span{grid-area:1 / 1;align-self:center;min-width:0}.chess_question_measure{visibility:hidden;pointer-events:none;user-select:none}.chess_practice_widget .chess_controls{display:flex;flex-direction:column;gap:var(--chess-content-gap);width:100%;max-width:var(--chess-board-size)}.chess_practice_widget .chess_controls>p{margin:0;line-height:1.55}.chess_practice_widget .chess_actions{justify-content:center}.chess_practice_widget .interactive_lesson_heading{margin-left:0}.chess_practice_widget.chess_reading .chess_layout{grid-template-areas:"board" "panel" "controls"}.chess_reading .chess_layout>.chess_board_wrap,.chess_reading .chess_layout>.king_board_column,.chess_reading .chess_layout>.promotion_board_column{grid-area:board}.chess_reading .chess_panel{grid-area:panel}.chess_reading .chess_controls{grid-area:controls}.chess_practice_widget.chess_reading .chess_actions{display:flex}.chess_practice_widget.chess_reading .chess_actions:has(.chess_practice_button){display:grid}.chess_practice_widget.chess_reading .king_example_buttons,.chess_practice_widget.chess_reading .promotion_example_next{display:none}@media (min-width:1051px){.chess_practice_widget.chess_reading .chess_layout{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);grid-template-rows:auto 1fr;grid-template-areas:"board panel" "board controls";gap:24px clamp(20px, 3vw, 36px);justify-items:start}.chess_reading .chess_layout>.chess_board_wrap,.chess_reading .chess_layout>.king_board_column,.chess_reading .chess_layout>.promotion_board_column{margin-inline:0}.chess_practice_widget.chess_reading .chess_actions{justify-content:start}}.chess_practice_widget{--chess-content-gap:14px;--chess-padding-bottom:32px;--chess-toast-size:120px;--main_text_secondary:var(--secondary);--chess-light:#eef5d7;--chess-dark:#a3cb76;--chess-frame:#83b953;--chess-frame-edge:#60953b;--chess-frame-depth:#507f32;--chess-coordinate:#244a20;--chess-dot:#507b37;color:var(--main)}.darkmode .chess_practice_widget{--chess-light:#b5c69c;--chess-dark:#749958;--chess-frame:#527b3e;--chess-frame-edge:#3d6030;--chess-frame-depth:#2d4826;--chess-coordinate:#e3f0d4;--chess-dot:#2e5027}.chess_practice_widget .chess_emblem{padding:2px;border:2px solid #d4e9ad;border-radius:14px;background:#eef5d7;box-shadow:0 3px 0 #d4e9ad}.chess_board_wrap{display:grid;grid-template-columns:12px minmax(0,1fr) 12px;grid-template-rows:12px minmax(0,1fr) 12px;gap:5px;padding:8px;border:2px solid var(--chess-frame-edge);border-radius:22px;background:var(--chess-frame);box-shadow:0 7px 0 var(--chess-frame-depth),0 11px 0 rgb(42 70 28 / 9%),inset 0 2px 0 rgb(255 255 255 / 22%)}.chess_board{display:grid;grid-area:2 / 2;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));aspect-ratio:1;width:100%;overflow:hidden;border-radius:9px;box-shadow:0 0 0 2px var(--chess-frame-edge);isolation:isolate}.chess_ranks,.chess_files{display:grid;color:var(--chess-coordinate);font-size:12px;font-weight:800;line-height:1;user-select:none}.chess_ranks{grid-area:2 / 1;grid-template-rows:repeat(8,minmax(0,1fr))}.chess_files{grid-area:3 / 2;grid-template-columns:repeat(8,minmax(0,1fr))}.chess_ranks span,.chess_files span{display:grid;place-items:center}.chess_square{position:relative;display:grid;place-items:center;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:var(--chess-dark);cursor:default;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color 140ms ease,box-shadow 140ms ease}.chess_drag_enabled,.chess_drag_enabled *{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}.chess_drag_enabled .chess_draggable{touch-action:none;cursor:grab}.chess_drag_enabled .chess_drag_source{cursor:grabbing}.chess_drag_source .chess_piece_slot{visibility:hidden}.chess_drag_enabled .chess_drag_target{outline:3px solid var(--chess-dot);outline-offset:-3px}.chess_drag_ghost{position:fixed;z-index:10000;display:grid;place-items:center;transform:translate(-50%,-50%);pointer-events:none;user-select:none}.chess_drag_ghost .chess_piece{width:94%;height:94%}.chess_square.chess_light{background:var(--chess-light)}.chess_square.is_piece{background:#d7ec8a;box-shadow:inset 0 0 0 3px #83b541}.chess_square[aria-disabled="false"]{cursor:pointer}.chess_piece_slot{display:flex;width:94%;height:94%;z-index:1;pointer-events:none}.chess_piece{--piece-body:#fffcef;--piece-shade:#e6e4cc;--piece-depth:#b1b89a;--piece-band:#d5d9bd;--piece-shine:#fff;display:block;width:100%;height:100%;overflow:visible;stroke:none;filter:drop-shadow(0 1px 1px rgb(47 73 32 / 18%))}.chess_star{display:block;width:82%;height:82%;margin:auto;overflow:visible;stroke:none;filter:drop-shadow(0 1px 1px rgb(47 73 32 / 18%))}.chess_star_body{fill:#ffda24}.chess_star_depth{fill:#c58d19}.chess_star_shade{fill:#f5b91b}.chess_star_shine{fill:#fff5ae}.chess_piece_shadow{fill:#304526;opacity:.18}.chess_piece_body{fill:var(--piece-body)}.chess_piece_depth{fill:var(--piece-depth)}.chess_piece_shade{fill:var(--piece-shade)}.chess_piece_band{fill:var(--piece-band)}.chess_piece_shine{fill:var(--piece-shine)}.chess_piece_cut{fill:none;stroke:var(--piece-depth);stroke-width:4;stroke-linecap:round}.chess_marker{position:absolute;inset:13%;border:3px solid transparent;border-radius:50%;pointer-events:none}.chess_square.is_option .chess_marker{border-color:#168fc4;background:rgb(255 255 255 / 24%);box-shadow:0 2px 0 rgb(23 111 149 / 30%),inset 0 2px 0 rgb(255 255 255 / 55%)}.chess_square.is_reachable::after,.chess_square.is_path::after{content:"";position:absolute;width:19%;height:19%;border-radius:50%;background:var(--chess-dot);opacity:.65;pointer-events:none}.chess_square.is_reachable.is_occupied::after,.chess_square.is_reachable.is_star::after{inset:7%;width:auto;height:auto;border:3px dashed var(--chess-dot);background:transparent}.chess_square.is_reachable::after{z-index:4}.chess_square.is_option:not(.is_reachable)::after,.chess_square.is_target:not(.is_reachable)::after{display:none}.chess_square.is_reachable.is_target:not(.is_occupied):not(.is_star)::after{top:7%;right:7%;z-index:4}.chess_square.is_wrong .chess_marker,.chess_square.is_correct .chess_marker{inset:5%;border-radius:10px;box-shadow:none}.chess_square.is_wrong .chess_marker{border-color:#e76055;background:rgb(255 115 104 / 24%)}.chess_square.is_correct .chess_marker{border-color:#58a700;background:rgb(178 232 74 / 30%)}.chess_square.is_wrong::before,.chess_square.is_correct::before{content:"";position:absolute;right:5%;bottom:5%;z-index:3;width:30%;height:30%;border:2px solid #fff;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:65%;box-shadow:0 2px 0 rgb(38 65 29 / 18%);pointer-events:none}.chess_square.is_wrong::before{background-color:#e76055;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m4 4 8 8m0-8-8 8'/%3E%3C/svg%3E")}.chess_square.is_correct::before{background-color:#58a700;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 3 3 7-7'/%3E%3C/svg%3E")}.chess_square.is_target{background:#ffe89a;box-shadow:inset 0 0 0 3px #e5b449}.chess_target{display:none}.is_target .chess_target{display:block;position:absolute;z-index:2;width:48%;height:48%;fill:#ffb928;stroke:#ac6d13;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 0 rgb(172 109 19 / 18%));pointer-events:none}.is_target.is_occupied .chess_target{top:4%;right:3%;width:29%;height:29%}.chess_target_pole{fill:none}@media (hover:hover){.chess_square[aria-disabled="false"]:hover{box-shadow:inset 0 0 0 3px rgb(33 117 55 / 55%)}.chess_square.is_option[aria-disabled="false"]:hover .chess_marker{background:rgb(255 255 255 / 50%)}}.chess_square[aria-disabled="false"]:focus-visible{z-index:4;outline:3px solid #0878b5;outline-offset:-3px}.chess_practice_widget .chess_task_kind{margin-bottom:8px;color:var(--main_text_secondary);font-size:14px;font-weight:700;text-transform:uppercase}.chess_practice_widget:not(.chess_reading) .chess_panel{gap:var(--chess-content-gap)}.chess_exercise{display:flex;flex-direction:column;gap:var(--chess-content-gap)}.chess_practice_widget .chess_exercise>p{margin:0}.chess_practice_widget .chess_actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.chess_practice_widget .chess_actions .btn.secondary:is(.chess_rule,.chess_help,.chess_restart){color:var(--secondary)}.chess_actions .chess_rule{grid-area:1 / 1}.chess_actions .chess_help{grid-area:1 / 2}.chess_practice_widget.chess_has_restart .chess_actions{grid-template-columns:48px repeat(2,minmax(0,1fr))}.chess_has_restart .chess_actions .chess_restart{grid-area:1 / 1;padding-inline:0}.chess_has_restart .chess_actions .chess_rule{grid-area:1 / 2}.chess_has_restart .chess_actions .chess_help{grid-area:1 / 3}.chess_actions .chess_practice_button,.chess_actions .promotion_practice{grid-area:2 / 1 / auto / -1;justify-self:center}.chess_practice_widget.chess_reading .chess_practice_button{grid-area:1 / 1 / auto / -1}.chess_lesson_shell{overflow:clip}.chess_practice_widget:not(.chess_reading) .chess_toast[hidden]{display:flex!important;visibility:hidden}.chess_toast{display:flex;align-items:flex-end;position:sticky;z-index:89;bottom:0;flex-shrink:0;height:var(--chess-toast-size);margin:auto calc(0px - var(--chess-padding-inline)) calc(0px - var(--chess-padding-bottom));background:var(--white)}.chess_toast.has_notice.is_success{background:#e5fae5;border-color:#e5fae5}.chess_toast.has_notice.is_error{background:#ffdfe0;border-color:#ffdfe0}.alert{translate:0 calc(0px - var(--chess-toast-height, 0px))}.chess_toast_inner{display:grid;flex-shrink:0;grid-template-columns:minmax(0,1fr) 160px;align-items:center;justify-content:space-between;gap:24px;min-height:var(--chess-toast-size);width:100%;margin:0 auto;padding:16px var(--chess-padding-inline) max(16px, env(safe-area-inset-bottom));background:inherit}.chess_toast_notice{grid-area:1 / 1;position:relative;display:flex;flex:1;align-items:center;gap:20px;min-width:0;color:var(--green)}.chess_toast.is_error .chess_toast_notice{color:var(--red)}.chess_toast:not(.has_actions) .chess_toast_notice{grid-column:1 / -1}.chess_toast_mark{flex:0 0 64px;height:64px;border-radius:50%;background:#fff url(../../../../../../../../themes/Main/img/icons/mark.svg) center / 28px no-repeat}.chess_toast.is_error .chess_toast_mark{background-image:url(../../../../../../../../themes/Main/img/icons/red-cross.svg)}.chess_toast_text{display:flex;flex-direction:column;gap:4px;min-width:0}.chess_practice_widget .chess_toast_title{margin:0;font-size:24px;font-weight:700;line-height:1.25}.chess_practice_widget .chess_toast_message{margin:0;font-size:16px;font-weight:400;line-height:1.4}.chess_practice_widget .chess_toast_actions{grid-area:1 / 2}.chess_toast_actions .btn{width:100%}.chess_toast_actions .btn.red{padding-inline:12px}.chess_toast_actions .btn.red:not(:disabled){color:#fff!important}.chess_toast_actions .btn.red:not(:disabled)::before{background-color:var(--red);box-shadow:0 4px 0 var(--darkred)}.darkmode .chess_toast.has_notice.is_success{background:#203b2a;border-color:#203b2a}.darkmode .chess_toast.has_notice.is_error{background:#482725;border-color:#482725}.darkmode .chess_toast.is_success .chess_toast_notice{color:#85e89a}.darkmode .chess_toast.is_error .chess_toast_notice{color:#ffad95}@media (min-width:1051px){.interactive_lesson_shell{--chess-padding-inline:48px}}@media (max-width:550px){.interactive_lesson_shell{--chess-padding-inline:10px}.chess_practice_widget:not(.chess_reading) .chess_panel{min-height:76px}.promotion_lesson_widget:not(.chess_reading) .chess_panel{min-height:88px}.mixed_lesson_widget:not(.chess_reading) .chess_panel{min-height:26px}.chess_actions .chess_rule,.chess_actions .chess_help{padding-inline:8px}.chess_practice_widget.chess_has_restart .chess_actions{grid-template-columns:44px minmax(0,1fr) minmax(0,1.2fr);gap:8px}.chess_has_restart .chess_actions .chess_rule,.chess_has_restart .chess_actions .chess_help{padding-inline:6px;gap:6px;font-size:12px}.chess_has_restart .chess_actions .chess_rule svg,.chess_has_restart .chess_actions .chess_help svg{flex-basis:16px;width:16px;height:16px}.chess_board_wrap{gap:3px;padding:5px;border-radius:17px}.chess_ranks,.chess_files{font-size:10px}.chess_marker,.chess_square.is_reachable.is_occupied::after{border-width:2px}.chess_square.is_wrong .chess_marker,.chess_square.is_correct .chess_marker{border-radius:7px}.chess_practice_widget .chess_task_kind{font-size:13px}}@media (width < 600px){.chess_practice_widget .chess_board_wrap{max-width:none}.chess_practice_widget .chess_layout>:is(.chess_board_wrap,:has(>.chess_board_wrap)){width:calc(100% + 2 * var(--chess-padding-inline));max-width:none;margin-inline:calc(-1 * var(--chess-padding-inline))}.chess_board_wrap{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;padding:0;border:solid var(--chess-frame-edge);border-width:2px 0 9px;background:transparent;box-shadow:none}.chess_board{grid-area:1 / 1;box-shadow:none}.chess_ranks,.chess_files{grid-area:1 / 1;z-index:1;font-size:clamp(10px, 2.6vw, 12px);color:#132a10;pointer-events:none}.chess_ranks{justify-self:start;width:12.5%}.chess_ranks span{place-self:start;margin:3px}.chess_files{align-self:end;height:12.5%}.chess_files span{place-self:end;margin:3px}.chess_board_wrap,.chess_board{border-radius:0}.chess_board .chess_piece_slot,.chess_board [class*="_reply_piece"] .chess_piece{width:88%;height:88%}.chess_square:nth-child(n+57):is(.is_wrong,.is_correct)::before{right:auto;left:5%}}@media (max-width:767px){.chess_practice_widget.chess_reading .chess_layout{grid-template-areas:"panel" "board" "controls"}.chess_practice_widget.chess_reading .chess_controls{max-width:720px}.chess_practice_widget.chess_reading .chess_actions{width:100%;grid-template-columns:minmax(0,1fr)}.chess_practice_widget.chess_reading .chess_practice_button,.chess_practice_widget.chess_reading .promotion_practice{grid-area:1 / 1;width:100%;justify-self:stretch}.chess_practice_widget{--chess-toast-size:calc(150px + max(0px, env(safe-area-inset-bottom) - 12px));--chess-padding-bottom:24px}.chess_toast_inner{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px var(--chess-padding-inline) max(12px, env(safe-area-inset-bottom))}.chess_toast_notice{gap:12px}.chess_toast_mark{flex-basis:44px;height:44px;background-size:24px}.chess_practice_widget .chess_toast_title{font-size:18px}.chess_practice_widget .chess_toast_message{font-size:14px}.chess_practice_widget .chess_toast_actions{grid-area:2 / 1;width:100%}}@media (prefers-reduced-motion:reduce){.chess_square{transition:none}}.chess_practice_widget .chess_board{position:relative}.chess_hint_overlay{--chess-hint-color:#7137b8;position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none;fill:none;stroke-linecap:round;stroke-linejoin:round}.chess_practice_widget .chess_piece_slot{z-index:3}.chess_hint_overlay[data-kind="restart"]{z-index:5}.chess_practice_widget .chess_square.is_correct::before,.chess_practice_widget .chess_square.is_wrong::before{z-index:4}.chess_square.is_hint_from{box-shadow:inset 0 0 0 3px var(--chess-hint-color,#7137b8)}.chess_hint_halo{stroke:#fff;stroke-width:.12}.chess_hint_source,.chess_hint_destination{stroke:var(--chess-hint-color);stroke-width:.065}.chess_hint_arrow_halo{stroke:#fff;stroke-width:.15}.chess_hint_arrow{stroke:var(--chess-hint-color);stroke-width:.085}.chess_hint_overlay[data-shape="knight"] .chess_hint_arrow{stroke-dasharray:.12 .09}.chess_hint_arrow_head{fill:var(--chess-hint-color);stroke:#fff;stroke-width:.03}.chess_hint_restart>circle{fill:#fff;opacity:.94}.chess_practice_widget .chess_hint_text{position:absolute;width:1px;height:1px;min-width:0;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}