/* g2 on every board, written by Elite_Class/site/looks.py. The board is left as it is; g2 carries
   a watermark, its own name a shade darker than the square. --sc-g2 is the site's pink (Beginner). */
:root { --sc-g2: #E93DA1; }
/* chessground: every look, both ways round. A clear layer the size of g2. */
.cg-wrap.orientation-white cg-board::before, .cg-wrap.orientation-black cg-board::before { content: ""; position: absolute; width: 12.5%; height: 12.5%; pointer-events: none; }
.cg-wrap.orientation-white cg-board::before { left: 75%; top: 75%; }
.cg-wrap.orientation-black cg-board::before { left: 12.5%; top: 12.5%; }
/* chessground, the pairing page, the opening lines, Learn the gambits, the encyclopedia and its
   side by side boards, a gambit course, the check-up, and Beginner's row of the second rank:
   the watermark (G2_STAMP_SVG), which g2_check.mjs reads from this file. */
.cg-wrap.orientation-white cg-board::before, .cg-wrap.orientation-black cg-board::before, .eb-grid > .eb-sq[data-sq="g2"], html body .frame .board-row > .sq.light[data-square="g2"], .ga-board > .sq:is(.l, .d)[data-sq="g2"], .tw-grid > .tw-sq[data-sq="g2"], .cp-frame .board-row > .sq.light[data-square="g2"], .kids-row__board > i.lt.g2, .g2b2-board:not(.g2b2-table) > .sq.lt[data-sq="g2"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M12.3 13a4.9 4.9 0 1 1 -9.8 0a4.9 4.9 0 1 1 9.8 0 M12.3 8.2V19.4C12.3 24.2 4.4 24.7 3.2 20.9 M17.3 8.6C17.6 4.7 26 4.3 26 9C26 12.1 22.2 14.3 17.3 18.1H26.8' fill='none' stroke='%23000' stroke-opacity='0.09' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 60% auto; background-position: center; }
/* The g2 sun beside the site's name in a header (G2_SUN_IMG): small, a little faded, and gone
   on the narrowest phones, where the header has no room to spare. */
a img.g2-sun { width: 28px; height: auto; flex: none; display: block; opacity: 0.9; border-radius: 0; }
@media (max-width: 419px) { a img.g2-sun { display: none; } }
