/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/base-layout.css */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #1a472a;
  color: #e0e0e0;
  margin: 0;
  padding: 0 10px;
  height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

#game-container {
  display: flex;
  flex-direction: column;
  align-items: left;
  min-height: 100vh;
  padding: 0;
  gap: 5px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  transform: translateZ(0);
  will-change: transform;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  min-height: var(--device-header-min-height, 10px);
  padding: var(--device-header-padding, 0px 0);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
  max-width: 100vw;
  overflow: hidden;
}

.menu-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.title {
  font-size: clamp(16px, 2vw, 28px);
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-right: clamp(10px, 1vw, 20px);
  font-family: 'Poppins', sans-serif;
  letter-spacing: clamp(0.5px, 0.15vw, 1.5px);
}

#new-game,
#undo-move {
  text-decoration: none;
  color: white;
  font-weight: 600;
  background-color: #4CAF50;
  padding: clamp(2px, 0.3vw, 4px) clamp(6px, 0.8vw, 12px);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.5px;
  white-space: nowrap;
  min-width: max-content;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#undo-move {
  background-color: #3d8b40;
}

#new-game:hover,
#undo-move:hover {
  background-color: #45a049;
}

#new-game:active,
#undo-move:active {
  transform: translateY(0);
}

#stats-container {
  font-size: clamp(11px, 0.9vw, 14px);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.2);
  padding: clamp(2px, 0.3vw, 4px) clamp(6px, 0.8vw, 12px);
  border-radius: 30px;
  display: flex;
  gap: clamp(4px, 0.8vw, 12px);
  align-items: center;
  flex-wrap: nowrap;
  height: 28px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100vw;
}

#timer,
#score,
#moves {
  font-weight: bold;
  color: #4CAF50;
}

/* Klondike mode switch button */
.klondike-switch-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2px;
  cursor: pointer;
  height: 32px;
  display: inline-flex;
  align-items: center;
  min-width: 110px;
  margin-right: 10px;
}

.klondike-switch-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.switch-track {
  position: relative;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.switch-option {
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  z-index: 2;
  padding: 0 8px;
  text-align: center;
  flex: 1;
}

.switch-option.active {
  color: white;
}

.switch-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 48%;
  height: 24px;
  background: #4CAF50;
  border-radius: 16px;
  z-index: 1;
}

.klondike-switch-btn.mode-3 .switch-slider {
  transform: translateX(100%);
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/base-layout.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/typography.css */
h2 {
  margin-top: 0;
}

p {
  margin-bottom: 15px;
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/typography.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/nav-footer.css */
.menu-left {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: 1;
  min-width: 0;
}

.menu-right {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 60vw;
  overflow: hidden;
  flex-shrink: 1;
  min-width: 0;
}

footer {
  order: 2;
  width: 100%;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  z-index: 9999;
}

.footer-nav .nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(14px, 1.2vw, 16px);
  padding: 6px 12px;
  border-radius: 4px;
}

.footer-nav .nav-link:hover {
  background: rgba(76, 175, 80, 0.1);
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(14px, 1.2vw, 16px);
  padding: 6px 12px;
  border-radius: 4px;
  position: relative;
}

.nav-link:hover {
  background: rgba(76, 175, 80, 0.1);
}

.nav-link.active {
  color: #4CAF50;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4CAF50;
  border-radius: 2px;
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/nav-footer.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/language-dropdown.css */
/* Language flag dropdown */
.menu-right, #menu, .menu-controls-row {
  overflow: visible;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown summary {
  list-style: none;
}

.lang-dropdown summary::-webkit-details-marker {
  display: none;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  padding: 0 6px;
  cursor: pointer;
}

.flag {
  font-size: 18px;
  line-height: 1;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: none;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 8px;
  min-width: 160px;
  z-index: 1000;
}

.lang-dropdown[open] .lang-menu {
  display: grid;
}

.lang-item {
  width: 32px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-controls-row {
  display: flex;
  align-items: center;
  gap: 0;
}

#site-title a {
  text-decoration: none;
  color: inherit;
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/language-dropdown.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/blog.css */
.blog-index {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-preview {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 8px;
}

.blog-preview h2 {
  margin: 0 0 1rem 0;
}

.blog-preview h2 a {
  color: #4CAF50;
  text-decoration: none;
}

.blog-preview h2 a:hover {
  text-decoration: underline;
}

.blog-preview h3 {
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
  line-height: 1.3;
}

.blog-preview h3 a {
  color: #4CAF50;
  text-decoration: none;
}

.blog-preview h3 a:hover {
  color: #45a049;
  text-decoration: underline;
}

.post-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.post-excerpt {
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  color: #4CAF50;
  text-decoration: none;
  margin-top: 1rem;
}

.read-more:hover {
  text-decoration: underline;
}

.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.blog-post h1 {
  color: #4CAF50;
  margin-bottom: 2rem;
}

.blog-post img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  display: block;
}

.post-content {
  line-height: 1.8;
}

.post-content h2,
.post-content h3 {
  color: #4CAF50;
  margin: 2rem 0 1rem;
}

.post-content ul {
  margin-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.blog-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 1.5rem auto;
  display: block;
  border-radius: 8px;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  margin: 20px 0;
  width: fit-content;
}

.back-link:hover {
  background: rgba(0, 0, 0, 0.3);
}

.back-link svg {
  width: 20px;
  height: 20px;
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/blog.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/cta.css */
.cta-section {
  margin: 2.5rem 0;
  padding: 2rem;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(76, 175, 80, 0.2);
  backdrop-filter: blur(10px);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  line-height: 1.6;
}

.cta-button,
.rules-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: linear-gradient(145deg, #4CAF50, #45a049);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
}

.cta-button:hover,
.rules-link:hover {
  background: linear-gradient(145deg, #45a049, #388e3c);
}

.email-link {
  color: #4CAF50 !important;
  text-decoration: none;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(76, 175, 80, 0.1);
}

.email-link:hover {
  color: #ffffff !important;
  background: rgba(76, 175, 80, 0.2);
  text-decoration: none;
}

.external-link {
  color: #4CAF50 !important;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.external-link:hover {
  color: #ffffff !important;
  text-decoration: none;
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/cta.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/buttons-links.css */
.icon-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 5px;
  margin-right: 10px;
}

.icon-button:hover {
  opacity: 0.8;
}

.other-card-games-link {
  color: #4CAF50;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  margin-right: 15px;
  white-space: nowrap;
}

.other-card-games-link:hover {
  background: rgba(76, 175, 80, 0.1);
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/buttons-links.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/content.css */
#content-container {
  /* Default desktop width */
  width: 70vw;
  margin: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  order: 2;
}

/* Mobile portrait - full width content */
@media (max-width: 767px) {
  #content-container {
    width: 95vw;
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: none;
  }
}

/* Mobile landscape - narrower content */
@media (max-width: 767px) and (orientation: landscape) {
  #content-container {
    width: 60vw;
    padding: 15px 20px;
  }
}

/* Tablet - consistent width */
@media (min-width: 768px) and (max-width: 1024px) {
  #content-container {
    width: 70vw;
    padding: 15px 20px;
  }
}

.content-wrapper {
  padding: 1rem;
  width: 100%;
}

.content-wrapper .intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ffffff;
}

#content-container h1 {
  color: #4CAF50;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-wrapper h2 {
  color: #4CAF50;
  margin: 2rem 0 1rem;
}

.content-wrapper h3 {
  color: #4CAF50;
  margin: 1.5rem 0 1rem;
}

.content-wrapper p {
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: 800px;
}

.content-wrapper ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  text-align: left;
}

.floating-home-button {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) !important;
  background: #4CAF50;
  color: white;
  padding: 0 30px;
  height: 60px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2rem;
  white-space: nowrap;
  margin: 0 !important;
}

.floating-home-button:hover {
  background: #45a049;
}

figure {
  margin: 1.5rem 0;
  width: 100%;
  max-width: 800px;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0;
}

figcaption {
  text-align: center;
  margin-top: 0.5rem;
  color: #999;
  font-size: 0.9rem;
}

/* Prevent any potential layout shifts during load */
#main-content {
  /* Ensure stable layout during initialization */
  visibility: visible;
  min-height: 60vh;
  order: 1;
}

.main-layout {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 20px;
}

.game-area {
  display: block;
}

.contact-info {
  margin: 1rem 0;
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/content.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-mobile.css */
@media (max-width: 767px) {
  /* Game Container */
  #game-container {
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  header {
    padding: 0px 5px;
    min-height: 5px;
  }

  #menu {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    height: auto;
    min-height: 40px;
    gap: 12px;
  }

  .menu-buttons {
    justify-content: center;
    display: none; /* Hide buttons in header on mobile */
  }

  .menu-left {
    width: 100%;
    text-align: center;
  }

  .menu-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .title {
    font-size: 16px;
    padding: 5px 0;
    line-height: 1.3;
    word-break: break-word;
  }

  /* Mobile spider link and sound button row */
  .menu-controls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  /* Mobile other card games link styles */
  .other-card-games-link {
    font-size: 13px;
    padding: 6px 10px;
    margin-right: 0;
    margin-bottom: 0;
    flex-shrink: 1;
    text-align: center;
  }

  .icon-button {
    margin-right: 0;
    flex-shrink: 0;
  }

  #stats-container {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 5px;
    height: auto;
    min-height: 24px;
    order: 2;
  }

  /* Smaller switch button for mobile portrait */
  .klondike-switch-btn {
    height: 28px;
    min-width: 90px;
    margin-right: 8px;
  }

  .switch-track {
    height: 24px;
  }

  .switch-option {
    font-size: 9px;
    padding: 0 6px;
  }

  .switch-slider {
    top: 2px;
    left: 2px;
    height: 20px;
  }

  /* Mobile Buttons */
  .mobile-buttons {
    display: flex !important;
    gap: 10px;
    padding: 10px;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  #new-game-mobile,
  #undo-move-mobile {
    text-decoration: none;
    color: white;
    font-weight: 600;
    background-color: #4CAF50;
    padding: clamp(2px, 0.3vw, 4px) clamp(6px, 0.8vw, 12px);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: clamp(11px, 0.9vw, 13px);
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: max-content;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #undo-move-mobile {
    background-color: #3d8b40;
  }

  /* Mobile switch button in mobile-buttons section */
  .mobile-buttons .klondike-switch-btn {
    height: 28px;
    min-width: 90px;
    margin-right: 0;
    margin-left: 0;
  }

  .mobile-buttons .switch-track {
    height: 24px;
  }

  .mobile-buttons .switch-option {
    font-size: 9px;
    padding: 0 6px;
  }

  .mobile-buttons .switch-slider {
    top: 2px;
    left: 2px;
    height: 20px;
  }

  .tableau-container {
    min-height: calc(var(--card-height) * 3);
  }

  .tableau-pile {
    min-height: calc(var(--card-height) * 3);
  }

  .card {
    border-radius: 4px;
  }

  /* Blog and Content */
  .game-layout {
    padding: 0;
  }

  .blog-post {
    padding: 15px;
  }

  .blog-preview {
    padding: 15px;
  }

  .blog-post h1 {
    font-size: 24px;
  }

  .post-content {
    font-size: 14px;
  }

  .blog-image {
    margin: 1rem 0;
    border-radius: 4px;
  }

  .back-link {
    margin: 10px;
    font-size: 14px;
    padding: 8px 15px;
  }

  /* CTA and Buttons */
  .cta-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 8px;
  }

  .cta-section p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .cta-button,
  .rules-link {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    justify-content: center;
    text-align: center;
    word-break: break-word;
    display: inline-block;
    max-width: 90%;
    box-sizing: border-box;
  }

  /* Content Container */
  #content-container {
    width: 95vw;
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: none;
  }

  .content-wrapper {
    font-size: 14px;
  }

  .content-wrapper h3 {
    font-size: 16px;
  }

  .content-wrapper ul {
    margin-left: 1rem;
  }

  /* FAQ */
  .faq-wrapper {
    padding-top: 2rem;
  }

  .faq-wrapper::before {
    width: 95%;
  }

  /* Floating Button */
  .floating-home-button {
    bottom: 15px;
    padding: 0 20px;
    height: 50px;
    font-size: 1.1rem;
    width: auto;
    max-width: none;
  }
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-mobile.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-mobile-landscape.css */
/* MOBILE LANDSCAPE STYLES */
@media (max-width: 767px) and (orientation: landscape) {
  #menu {
    flex-direction: row;
    align-items: center;
    padding: 5px 0;
    height: auto;
    min-height: 30px;
    gap: 15px;
  }

  .menu-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  /* Smaller buttons for mobile landscape */
  #new-game,
  #undo-move {
    padding: clamp(1px, 0.2vw, 3px) clamp(4px, 0.6vw, 8px);
    font-size: clamp(9px, 0.7vw, 11px);
    height: 24px;
  }

  /* Smaller switch button for mobile landscape */
  .klondike-switch-btn {
    height: 26px;
    min-width: 95px;
    margin-right: 8px;
  }

  .switch-track {
    height: 22px;
  }

  .switch-option {
    font-size: clamp(8px, 0.7vw, 10px);
    padding: 0 6px;
  }

  .switch-slider {
    top: 2px;
    left: 2px;
    height: 18px;
  }

  .menu-left {
    width: auto;
    text-align: left;
    flex: 1;
  }

  .menu-right {
    width: auto;
    flex-shrink: 0;
  }

  .title {
    font-size: clamp(12px, 1.5vw, 16px);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    word-break: normal;
  }

  #stats-container {
    width: auto;
    justify-content: flex-end;
    font-size: clamp(10px, 0.8vw, 11px);
    padding: 3px 6px;
    height: auto;
    min-height: 18px;
    gap: clamp(6px, 1vw, 10px);
    border-radius: 20px;
  }

  /* Hide mobile buttons in landscape since we show desktop buttons */
  .mobile-buttons {
    display: none !important;
  }

  /* Mobile landscape menu controls */
  .menu-controls-row {
    display: flex;
    align-items: center;
    gap: 0;
  }

  /* Mobile landscape other card games link */
  .other-card-games-link {
    font-size: 12px;
    padding: 4px 8px;
    margin-right: 8px;
  }
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-mobile-landscape.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-tablet.css */
/* TABLET STYLES - Using proper CSS media queries */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Desktop-style header for all tablet orientations */
  #menu {
    flex-direction: row;
    align-items: center;
    padding: 5px 0;
    height: auto;
    min-height: 30px;
    gap: 15px;
  }

  .menu-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .menu-left {
    width: auto;
    text-align: left;
    flex: 1;
  }

  .menu-right {
    width: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  /* Tablet other card games link styles */
  .other-card-games-link {
    font-size: 14px;
    padding: 6px 10px;
    margin-right: 8px;
  }

  /* Tablet menu controls */
  .menu-controls-row {
    display: flex;
    align-items: center;
    gap: 0;
  }

  .title {
    font-size: clamp(16px, 2vw, 24px);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    word-break: normal;
  }

  #stats-container {
    width: auto;
    justify-content: flex-end;
    font-size: clamp(11px, 1vw, 13px);
    padding: 4px 8px;
    height: auto;
    min-height: 20px;
    gap: clamp(8px, 1.2vw, 12px);
    border-radius: 20px;
  }

  /* Hide mobile buttons for all tablet orientations */
  .mobile-buttons {
    display: none !important;
  }

  .tableau-container {
    /* Ensure stable height on tablet with good touch spacing */
    min-height: calc(var(--card-height) * 3);
  }

  .tableau-pile {
    min-height: calc(var(--card-height) * 3);
  }

  /* Switch button for tablet */
  .klondike-switch-btn {
    height: 30px;
    min-width: 105px;
    margin-right: 10px;
  }

  .switch-track {
    height: 26px;
  }

  .switch-option {
    font-size: clamp(10px, 0.9vw, 12px);
  }

  .switch-slider {
    top: 2px;
    left: 2px;
    height: 22px;
  }
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-tablet.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-tablet-landscape.css */
/* TABLET LANDSCAPE STYLES */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  /* Smaller buttons for tablet landscape */
  #new-game,
  #undo-move {
    padding: clamp(2px, 0.3vw, 4px) clamp(6px, 0.8vw, 10px);
    font-size: clamp(10px, 0.8vw, 12px);
    height: 26px;
  }

  /* Switch button for tablet landscape */
  .klondike-switch-btn {
    height: 28px;
    min-width: 100px;
    margin-right: 8px;
  }

  .switch-track {
    height: 24px;
  }

  .switch-option {
    font-size: clamp(9px, 0.8vw, 11px);
  }

  .switch-slider {
    top: 2px;
    left: 2px;
    height: 20px;
  }

  .title {
    font-size: clamp(14px, 1.8vw, 20px);
  }

  #stats-container {
    font-size: clamp(10px, 0.9vw, 12px);
    padding: 3px 8px;
    min-height: 20px;
    gap: clamp(8px, 1.1vw, 12px);
  }
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-tablet-landscape.css */

/* Begin inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-desktop.css */
/* MEDIUM DESKTOP STYLES - for screens like 1280x800 */
@media (min-width: 1025px) and (max-width: 1400px) {
  #menu {
    gap: 8px;
  }

  .menu-right {
    gap: 6px;
  }

  .other-card-games-link {
    font-size: 16px;
    padding: 6px 10px;
    margin-right: 10px;
  }

  #stats-container {
    font-size: clamp(10px, 0.8vw, 12px);
    gap: clamp(3px, 0.6vw, 8px);
    padding: clamp(2px, 0.25vw, 3px) clamp(5px, 0.6vw, 8px);
  }

  .title {
    font-size: clamp(18px, 1.8vw, 24px);
  }
}

/* SMALL DESKTOP STYLES - for very constrained screens like 1024x768 */
@media (min-width: 1025px) and (max-width: 1280px) {
  #menu {
    gap: 6px;
  }

  .menu-right {
    gap: 4px;
  }

  .other-card-games-link {
    font-size: 14px;
    padding: 5px 8px;
    margin-right: 8px;
  }

  #stats-container {
    font-size: 10px;
    gap: 4px;
    padding: 2px 6px;
  }

  .title {
    font-size: clamp(16px, 1.6vw, 20px);
  }

  /* Hide labels on very constrained screens */
  #score-label,
  #moves-label {
    display: none;
  }

  /* More compact separators */
  #stats-container {
    letter-spacing: -0.5px;
  }
}

/* Hide mobile buttons on desktop and tablets */
@media (min-width: 768px) {
  .mobile-buttons {
    display: none;
  }
}



/* End inlined: /Users/marin/onlinefreesolitaire/assets/css/responsive-desktop.css */


