
/* Save this as styles.css - shared by all pages */
:root{ --bg:#0b6d2f; --card:#fff; --text:#222 }
*{box-sizing:border-box}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial; margin:0; background:linear-gradient(#f3f6f8,#e9eef3); color:var(--text)}
.container{max-width:1100px;margin:0 auto;padding:12px}
.site-header{background:var(--bg);color:white;padding:14px 0}
.site-header h1{margin:0;font-size:20px}
.site-header nav{margin-top:6px}
.site-header a{color:rgba(255,255,255,0.95);margin-right:12px;text-decoration:none}
.ad{border:2px dashed #ddd;padding:10px;text-align:center;margin:12px 0}
main.container{display:flex;gap:16px;padding:12px}
.info{width:320px;background:#fff;padding:12px;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,0.06)}
.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:12px}
button{padding:8px 12px;border-radius:6px;border:1px solid #ccc;background:#fff;cursor:pointer}
#board{background:linear-gradient(#176b3a,#0e4d2a);padding:18px;border-radius:8px;min-height:420px}
.row{display:flex;gap:10px}
.pile{width:90px;min-height:120px}
.card{width:88px;height:120px;border-radius:6px;background:var(--card);box-shadow:0 2px 6px rgba(0,0,0,0.15);display:flex;flex-direction:column;justify-content:space-between;padding:6px;font-weight:600}
.card.face-down{background:linear-gradient(#2b7a4a,#1a5f3a);color:white}
.card .label{font-size:18px}
.card.small{width:76px;height:106px}
.tableau-column{width:90px;min-height:200px}
.tableau-column .stack{margin-top:8px}
.foundation{width:90px;height:120px;border:2px dashed rgba(255,255,255,0.2);display:flex;align-items:center;justify-content:center}
@media(max-width:900px){main.container{flex-direction:column}.info{width:auto}}

