/* Scoped copy of the uploaded PetzU stylesheet; shared POMS chrome is excluded. */

.petzu-site *,
.petzu-site *::before,
.petzu-site *::after {
  box-sizing: border-box;
}
.petzu-site {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family: sans-serif;
}
.petzu-site img,
.petzu-site picture,
.petzu-site video,
.petzu-site canvas,
.petzu-site svg {
  max-width: 100%;
  height: auto;
}
.petzu-site input,
.petzu-site button,
.petzu-site textarea,
.petzu-site select {
  font: inherit;
}
.petzu-site p,
.petzu-site h1,
.petzu-site h2,
.petzu-site h3,
.petzu-site h4,
.petzu-site h5,
.petzu-site h6 {
  overflow-wrap: break-word;
}
.petzu-site #root,
.petzu-site #__next {
  isolation: isolate;
}
.petzu-site {
    margin: 0;
    font-family: sans-serif;
    background-image: url(/petzu/assets/petzbak.gif);
}
.petzu-site header {
    background: #6ea9cf;
    background-image: url(/petzu/assets/watercolor.png);
    color: white;
    padding: 1rem;
    text-align: center;
}

@font-face {
  font-family: 'title';
  src: url("/petzu/assets/Amity Jack.ttf");
}
.petzu-site header h1 {
    font-family: 'title';
    font-size: 4rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #fff;
    -webkit-text-stroke: 1px #1f1b60;
    text-shadow:
      -1px -1px 0 #1f1b60,
       1px -1px 0 #1f1b60,
      -1px  1px 0 #1f1b60,
       1px  1px 0 #1f1b60;
}
.petzu-site a:link {
  color: #1c7bbb;
  text-decoration: none;
}
.petzu-site a:visited {
  color: #557c96;
}
.petzu-site a:hover {
  color: #1c7bbb;
  text-decoration: underline;
}
.petzu-site a:active {
  color: red;
  text-decoration: none;
}
.petzu-site h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #5d717e;
}
.petzu-site h2 {
    margin-bottom: 1rem;
}
.petzu-site h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25rem;
}
.petzu-site h4 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: bold;
}
.petzu-site h5,
.petzu-site h6 {
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-weight: bold;
}
.petzu-site ul {
    margin-top: 1rem;
    padding-left: 1rem;
}
.petzu-site .layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}
.petzu-site nav,
.petzu-site main,
.petzu-site aside {
    padding: 1rem;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
}
.petzu-site .small {
    font-size: 0.9rem;
    color: #666;
}

@media (min-width: 768px) {
.petzu-site .layout {
        flex-direction: row;
    }
.petzu-site nav {
        width: 20%;
    }
.petzu-site main {
        width: 60%;
    }
.petzu-site aside {
        width: 20%;
    }
}
.petzu-site .user-menu a {
    display: block;
    text-decoration: none;
    margin-bottom: 0.5rem;
}
.petzu-site .user-menu a:hover {
    text-decoration: underline;
}
.petzu-site form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
}
.petzu-site input,
.petzu-site textarea,
.petzu-site select,
.petzu-site button {
    padding: 0.5rem;
    font-size: 1rem;
}
.petzu-site label {
    font-weight: bold;
}
.petzu-site .field-group {
    display: flex;
    flex-direction: column;
}
.petzu-site .tutorial-list {
    max-width: 100%;
    margin: 0 auto;
}
.petzu-site .tutorial-item {
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}
.petzu-site .tutorial-item:last-child {
    border-bottom: none;
}
.petzu-site .meta {
    font-size: 0.85rem;
    color: #666;
}
.petzu-site .actions {
    margin-top: 0.5rem;
}
.petzu-site .actions a {
    margin-right: 1rem;
    color: #2b5d8a;
    text-decoration: none;
}
.petzu-site .actions a:hover {
    text-decoration: underline;
}
.petzu-site .meta {
    font-size: 0.9rem;
    color: #666;
}
.petzu-site .attachments {
    margin-top: 1rem;
}
.petzu-site .attachments ul {
    padding-left: 1.2rem;
}
.petzu-site .attachments li {
    margin-bottom: 0.5rem;
}
.petzu-site button {
    margin-top: 0.5rem; 
    padding: 0.5rem; 
    width: 100%;
}
.petzu-site .button {
    display: inline-block;
    padding: 0.5rem .5rem;
    background: #488cb9;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: .75rem;
    border: 1px solid #555;
}
.petzu-site a.button {
    color: white;
}
.petzu-site a.button:hover {
    text-decoration: none;
}
.petzu-site .button:hover {
    background: #58a2d3;
}
.petzu-site .button.danger {
    background-color: #a33;
    color: white;
}
.petzu-site .button.danger:hover {
    background-color: #c44;
}
.petzu-site .button.reply {
    background-color: #fdfdfd;
    color: #000;
    width: 5rem;
    border-width: 1px;
    border-color:#bbbbbb;
}
.petzu-site .button.reply:hover {
    background-color: #f5f5f5;
}
.petzu-site .message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}
.petzu-site .message.success {
    background-color: #d1f7d6;
    color: #265e29;
    border: 1px solid #6ac66a;
}
.petzu-site .message.error {
    background-color: #fddede;
    color: #8a1f1f;
    border: 1px solid #f88;
}
.petzu-site .comments {
    margin-top: 2rem;
}
.petzu-site .comment {
    border: 1px solid #ddd;
    background-color: #fdfdfd;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
}
.petzu-site .comment strong {
    color: #444;
}
.petzu-site .comment time {
    font-size: 0.8rem;
    color: #888;
    margin-left: 0.25rem;
}
.petzu-site .comment p {
    margin: 0.5rem 0 0;
}
.petzu-site .comment-delete-button {
    background: none;
    border: none;
    color: #a33;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 1rem;
}
.petzu-site .comment-delete-button:hover {
    color: #d33;
    text-decoration: underline;
}
.petzu-site .markdown-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.petzu-site .markdown-toolbar button {
  width: auto;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
  background: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}
.petzu-site .markdown-toolbar button:hover {
  background: #e0e0e0;
}
.petzu-site #color-popup {
  display: none;
  position: absolute;
  z-index: 10;
  background: white;
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 220px;
  text-align: center;
  font-family: sans-serif;
}
.petzu-site #color-popup label {
  font-size: 1rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}
.petzu-site #color-popup input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 60px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  margin-bottom: 1rem;
  display: inline-block;
}
.petzu-site #color-popup input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.petzu-site #color-popup input[type="color"]::-webkit-color-swatch {
  border: none;
}
.petzu-site .popup-button {
  display: inline-block;
  width: 90px;
  padding: 0.5rem 0.75rem;
  margin: 0.25rem 0.5rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  background-color: #f4f4f4;
  transition: background 0.2s;
  text-align: center;
}
.petzu-site .popup-button:hover {
  background-color: #e4e4e4;
}
.petzu-site .popup-button.cancel {
  background-color: #f8f8f8;
  color: #888;
}
.petzu-site .popup-button.cancel:hover {
  background-color: #f0f0f0;
}
.petzu-site .popup-button-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.petzu-site pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9rem;
}
.petzu-site code {
  background: #eee;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Consolas, Monaco, monospace;
}
.petzu-site :not(pre) > code {
  background: #eee;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}
.petzu-site pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}
.petzu-site dl {
  margin: 1em 0;
}
.petzu-site dt {
  font-weight: bold;
  margin-top: 0.5em;
}
.petzu-site dd {
  margin-left: 1.5em;
  margin-bottom: 0.5em;
}
.petzu-site .video-embed {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 1rem 0;
}
.petzu-site .centered-block {
    text-align: center;
}
.petzu-site .centered-block img {
    display: inline-block;
    max-width: 100%;
    margin: 1rem 0;
}
.petzu-site .subtle-button {
    background: none;
    border: none;
    margin-top: 0.25rem;
    padding-left: 0;
    text-align: left;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
}
.petzu-site .subtle-button:hover {
    color: #000;
}
.petzu-site #mobile-nav .nav-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.petzu-site #mobile-nav .hamburger {
    font-weight: bold;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: #488cb9;
    color: white;
    cursor: pointer;
    font-size: 1rem;
}
.petzu-site #mobile-nav .nav-content {
    display: block;
}


@media (max-width: 768px) {
.petzu-site #mobile-nav .nav-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        margin-bottom: 1rem;
        text-align: center;
    }
.petzu-site #mobile-nav .nav-content {
        display: none;
    }
.petzu-site #mobile-nav .nav-content.open {
        display: block;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 1rem;
    }
.petzu-site nav {
      background: #FFFFFF00;
      border: none;
    }
}


@media (min-width: 768px) {
.petzu-site #mobile-nav .nav-content {
        display: block !important;
    }
.petzu-site #mobile-nav .nav-header {
        display: none;
    }
}
