/* Дама client styles (loaded by online-html.phtml next to client.js). Fonts are OFL, self-hosted subsets. */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: block; src: url('assets/fonts/nunito-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: block; src: url('assets/fonts/nunito-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: block; src: url('assets/fonts/nunito-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: block; src: url('assets/fonts/nunito-cyrillic-ext-700-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: block; src: url('assets/fonts/nunito-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: block; src: url('assets/fonts/nunito-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: block; src: url('assets/fonts/nunito-cyrillic-800-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: block; src: url('assets/fonts/nunito-cyrillic-ext-800-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

/* the lobby forces crisp-edges on every canvas (lobby.css); the art must be smoothed */
#game-div canvas.dama-canvas { image-rendering: auto !important; display: block; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }

/* No chat panel: the portal's chat element becomes a slim walnut-and-brass input bar (multiplayer only; the lines show as
   balloons on the canvas). Position, size and font size come from JS (layout: chatBar); sizes below are in em. */
#game-chat-div.dama-chatbar { display: flex; align-items: center; gap: 0.45em; padding: 0 0.4em 0 0.5em; box-sizing: border-box; overflow: hidden; z-index: 2;
	background: linear-gradient(#5E3B22, #3A2414) !important; border: 2px solid #C9973F !important; border-radius: 999px !important;
	box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.45); font-family: 'Nunito', 'Segoe UI', sans-serif; }
#game-chat-div.dama-chatbar #game-chat-title, #game-chat-div.dama-chatbar #game-chat-text, #game-chat-div.dama-chatbar #smiles-btn-open-game { display: none !important; }
#game-chat-div.dama-chatbar #game-chat-input { flex: 1 1 0; width: 0; min-width: 0; height: 66%; margin: 0; padding: 0 0.75em; box-sizing: border-box;
	font: 700 1em 'Nunito', 'Segoe UI', sans-serif; color: #2B1A0E; background: #F4E8CC; border: 1px solid #2A170B; border-radius: 999px; outline: none; }
#game-chat-div.dama-chatbar #game-chat-input:focus { box-shadow: 0 0 0 2px #E8C36A; }
#game-chat-div.dama-chatbar #game-chat-input::placeholder { color: #8A6E50; opacity: 1; }
#game-chat-div.dama-chatbar #dama-chat-send { flex: 0 0 auto; height: 66%; margin: 0; padding: 0 1em; box-sizing: border-box; cursor: pointer;
	font: 800 0.95em 'Nunito', 'Segoe UI', sans-serif; color: #2B1A0E; background: linear-gradient(#FBE7A6, #D9A947 55%, #A87425);
	border: 1px solid #5D3C10; border-radius: 999px; }
#game-chat-div.dama-chatbar #dama-chat-send:hover { filter: brightness(1.08); }
#game-chat-div.dama-chatbar #dama-chat-send:active { transform: translateY(1px); }
/* chat-banned: the portal's notice (inline-styled) replaces the input */
#game-chat-div.dama-chatbar > span { color: #FFC2B0 !important; font-size: 0.75em !important; padding: 0 0.6em !important; }
