/* /css/palworld.css – page-specific styles */

.palworld-top-left {
  position: absolute;
  left: 45px;
  top: 85px;
  max-height: 300px;
  pointer-events: none;
}
.palworld-top-right {
  position: absolute;
  right: 45px;
  top: 85px;
  max-height: 300px;
  pointer-events: none;
}

.palworld-art-left {
  position: absolute;
  left: -65px;
  bottom: 0;
  max-height: 280px;
  pointer-events: none;
}
.palworld-art-right {
  position: absolute;
  right: 0px;
  bottom: 0;
  max-height: 300px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .palworld-top-left, .palworld-top-right, .palworld-art-left, .palworld-art-right {
    display: none;
  }
}

/* Subsection headings */
.section-title {
  margin: 10px 0 15px;
  font-size: 1.6em;
  color: #00cccc;
  text-shadow: 0 0 5px #00cccc;
}

/* Status text */
.status-text {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Rules list */
.rules-list {
  margin: 0 auto 30px;
  padding: 0;
  list-style-position: inside;
  text-align: center;
}
.rules-list li {
  margin: 0.3em 0;
}

/* Settings table */
.settings-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
}
.settings-table th,
.settings-table td {
  border: 1px solid #00cccc;
  padding: 8px 12px;
  vertical-align: top;
}
.settings-table th {
  background: #00cccc;
  color: #000;
  text-align: center;
  width: 40%;
}

/* Scroll wrapper */
.settings-scroll {
  max-height: 500px;
  overflow-y: auto;
  margin: 0 auto 30px;
  width: 90%;
  max-width: 600px;
  padding-right: 3px;
  box-sizing: content-box;
  position: relative;
  z-index: 5;
}
@media (max-width: 768px) {
  .settings-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}
.settings-scroll::-webkit-scrollbar {
  width: 8px;
}
.settings-scroll::-webkit-scrollbar-thumb {
  background: #00cccc;
  border-radius: 4px;
}

/* /css/palworld.css  – add just below the existing mobile media-query */
@media (max-width: 600px){
  .settings-table{
    table-layout: fixed;   /* browser re-flows columns instead of auto */
    word-break: break-word;/* allows long comma-lists or hashtags to wrap */
    max-width: 100%;       /* let it shrink with the screen */
  }
}

/* --- extra styling for the desktop art image --- */
.palworld-art-right{
  border-bottom-right-radius: 32px;
  overflow: hidden;
}
