/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

main.svelte-1yfx597.svelte-1yfx597{text-align:center;padding:1em;margin:0 auto;background:#faa6a4}.unselectable.svelte-1yfx597.svelte-1yfx597{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.current.svelte-1yfx597.svelte-1yfx597{font-size:x-large;position:relative}.words.svelte-1yfx597.svelte-1yfx597{height:1em;font-size:large}.buttons.svelte-1yfx597>button.svelte-1yfx597{width:100px;text-align:center}svg.svelte-1yfx597.svelte-1yfx597{width:100%;max-width:400px;margin-top:1em;margin-bottom:1em}.message.svelte-1yfx597.svelte-1yfx597{margin-top:-1.4em}.blink.svelte-1yfx597.svelte-1yfx597{animation:svelte-1yfx597-blinker 1s infinite}.link.svelte-1yfx597.svelte-1yfx597{display:inline;margin:0.5em;color:rgb(0, 100, 200)}.link.svelte-1yfx597.svelte-1yfx597:hover{text-decoration:underline}.modal.svelte-1yfx597.svelte-1yfx597{position:fixed;z-index:1;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0, 0, 0);background-color:rgba(0, 0, 0, 0.4)}.modal-content.svelte-1yfx597.svelte-1yfx597{background-color:#fefefe;margin:6em auto;padding:10px;border:1px solid #888;border-radius:10px;max-width:400px}.modal-content.svelte-1yfx597>ul.svelte-1yfx597{text-align:left}@keyframes svelte-1yfx597-blinker{50%{opacity:0}}@media(max-width: 350px){.modal-content.svelte-1yfx597.svelte-1yfx597{margin:5.5em auto}.message.svelte-1yfx597.svelte-1yfx597{margin-top:-1.2em}}

html,
body {
    position: relative;
    width: 100%;
    height: 100%;
}

body {
    color: #333;
    margin: 0;
    padding: 8px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* disable zoom on iOS */
body {
    touch-action: pan-x pan-y;
}

a {
    color: rgb(0, 100, 200);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: rgb(0, 80, 160);
}

label {
    display: block;
}

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    -webkit-padding: 0.4em 0;
    padding: 0.4em;
    margin: 0 0 0.5em 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 2px;
}

input:disabled {
    color: #ccc;
}

button {
    color: #333;
    background-color: #f4f4f4;
    outline: none;
}

button:disabled {
    color: #999;
}

button:not(:disabled):active {
    background-color: #ddd;
}
/* Whole page background */
body {
    background: #fff;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

/* Title + date styling */
header {
    text-align: center;
    margin: 1em 0;
}

header h1 {
    color: #ff3e00;
    font-size: 2.5em;
    margin: 0;
}

header .date {
    font-size: 1.2em;
    color: #444;
    margin-top: 0.2em;
}

body {
  background: #fff;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
}

/* centered heading/date */
header {
  text-align: center;
  margin: 1.5em 0 0.5em;
}
header h1 { margin: 0; color: #ff3e00; font-weight: 700; }
header .date { color: #444; margin-top: .25em; }

/* the pink “card” that wraps the game */
.game-container {
  background: #faa6a4;
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 1.5rem 1rem;
  border-radius: 10px;
}

/* Let Svelte board breathe */
.game-container main {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Ensure board size is comfortable */
.game-container main svg {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 1em auto;
}
