@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique&family=Share+Tech+Mono&display=swap');

:root {
  --puppy-pink:     #ffb7c5; 
  --leash-pink:     #e58296; 
  --fur-white:      #fffdfa; 
  --toy-yellow:     #fff9da; 
  --ribbon-blue:    #a7c7e7;  
  --berry-pop:      #ff6b81; 
  --tag-grey:       #dcd0cc;
}


body {
  background-color: #ccd6dd;
  background-image: linear-gradient(
      rgba(255, 105, 180, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 105, 180, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  margin: -20px;
  padding: 20px 0;
  font-size: 12px;
  line-height: 1.3;
}

#portal-container {
  position: relative;
  width: 950px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var( --tag-grey);
  box-shadow: 10px 10px 0px #d4688a48;
  padding: 10px;
  margin-top: 45px;
}

.hanging-charm {
  position: absolute;
  top: -5px;
  left: -104px;
  width: 120px;
  height: 120px;

  background: url("charm.png") no-repeat center;
  background-size: contain;

  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.25))
    drop-shadow(0px 12px 20px rgba(0, 0, 0, 0.15));

  transform: scaleX(-1) rotate(-68deg);
  
  pointer-events: none;
}

.ticker-wrap {
  background: linear-gradient(90deg, var(--leash-pink), var(--puppy-pink), var(--leash-pink));
  background-size: 100% 100%;
  animation: gradshift 8s linear infinite;
  padding: 4px 0;
  overflow: hidden;
  border-bottom: 1px solid #a01840;
}
@keyframes gradshift { from{background-position:0%} to{background-position:200%} }

.ticker-inner {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.15em;
}
@keyframes ticker { from{transform:translateX(100vw)} to{transform:translateX(-100%)} }

.collar {
  position: absolute;
  top: -90px;
  right: -85px;
  width: 200px;
  height: 200px;
  background: url("collar.png") no-repeat center;
  transform: rotate(20deg);
  background-size: contain;

  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.25))
    drop-shadow(0px 12px 20px rgba(0, 0, 0, 0.15));
}
.leash {
  position: absolute;
  top: -45px;
  right: 45px;
  width: 120px;
  height: 120px;
  transform: rotate(-20deg);
  background: url("leash.png") no-repeat center;
  background-size: contain;

  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.25))
    drop-shadow(0px 12px 20px rgba(0, 0, 0, 0.15));
}

#header {
  border-bottom: 2px solid var(--puppy-pink);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.window-title {
  background: var(--puppy-pink);
  color: #fff;
  padding: 2px 8px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.logo-area {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.logo-text {
  font-size: 34px;
  font-weight: bold;
  color: var( --berry-pop);
  letter-spacing: -2px;
  font-family: "Arial Black", sans-serif;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 16px;
  color: var(--berry-pop);
  letter-spacing: 4px;
  vertical-align: baseline;
  text-transform: lowercase;
  opacity: 0.9;
  margin-left: -6px;
  display: inline-block;
}


a {
  color: var(--puppy-pink);
}

.nav-bar a,
.nav-bar a:visited {
  color: var(--leash-pink);
  text-decoration: none;
  padding: 4px;
}
.nav-bar a:hover {
  color: var(--fur-white);
  background-color: var(--puppy-pink);
  border-radius: 4px;
}
.search-box {
  background: #e9dcfc; 
  padding: 15px;
  border: 1px solid var(--tag-grey); 
  margin-bottom: 15px;
  text-align: center;
  border-radius: 8px; 
}

.search-input {
  width: 450px;
  height: 28px;
  border: 1px solid var(--puppy-pink);
  padding: 0 10px;
}

.search-btn {
  height: 32px;
  background: var(--puppy-pink);
  color: #fff;
  border: none;
  font-weight: bold;
  padding: 0 15px;
  cursor: pointer;
}

#main-grid {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.col {
  display: table-cell;
  vertical-align: top;
}

#left {
  width: 160px;
  padding-right: 15px;
  border-right: 1px dotted var( --tag-grey);
}
.sidebar-box {
  border: 1px solid var(--puppy-pink);
  margin-bottom: 10px;
  background: var( --fur-white);
}
.box-h {
  background: var(--puppy-pink);
  color: #fff;
  padding: 2px 5px;
  font-weight: bold;
  font-size: 10px;
}
.box-c {
  padding: 5px;
}

.some-list-idk-howto-name {
  list-style: none;
  padding: 0;
  margin: 0;
}
.some-list-idk-howto-name li {
  padding: 3px 0;
  border-bottom: 1px dotted #ddd;
  color: var(--ribbon-blue);
  font-weight: bold;
}
.some-list-idk-howto-name a {
  text-decoration: none;
  color: var(--ribbon-blue);
  font-weight: bold;
}

#center {
  width: 500px;
  padding: 0 15px;
}
.post-container {
  border: 1px solid var( --tag-grey);
  padding: 15px;
  background: #fff;
}
.post-header {
  font-size: 18px;
  color: var(--puppy-pink);
  border-bottom: 1px solid var(--puppy-pink);
  margin-bottom: 10px;
}
.kao {
  color: var(--puppy-pink);
  font-weight: bold;
}

.image-container {
  position: relative;
  display: inline-block;
  width: 100%;
  overflow: hidden;

}

.base-image {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(0.9) translate(0px, -10px);
  
}

.overlay-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  
}
#right {
  width: 240px;
  padding-left: 15px;
}
.vital-widget {
  border: 2px solid var( --berry-pop);
  padding: 10px;
  background: #fff;
  text-align: center;
}
.bar-bg {
  background: #eee;
  height: 10px;
  width: 100%;
  margin: 5px 0;
}
.bar-fill {
  background: var( --berry-pop);
  height: 100%;
  width: 70%;
}

footer {
  border-top: 1px solid var(--puppy-pink);
  margin-top: 20px;
  padding: 10px;
  text-align: center;
  font-size: 10px;
  color: #888;
}

.red-highlight {
  background-color: var( --berry-pop);
  color: #fff;
  padding: 0 2px;
}
.pink-highlight {
  background-color: var(--puppy-pink);
  color: #fff;
  padding: 0 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.gallery-item {
  border: 1px solid var(--puppy-pink);
  background: var( --fur-white);
  padding: 8px;
  box-shadow: 2px 2px 0px rgba(255, 105, 180, 0.2);
}

.gallery-img-wrapper {
  width: 100%;
  height: 150px;
  background: #eee;
  border: 1px dotted var( --tag-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  overflow: hidden;
}

.gallery-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: filter 0.2s;
}

.gallery-img-wrapper img:hover {
  filter: brightness(1.1);
}

.gallery-date {
  font-size: 10px;
  color: var( --berry-pop);
  font-weight: bold;
  text-align: right;
  border-bottom: 1px dashed var( --tag-grey);
  padding-bottom: 4px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.gallery-desc {
  font-size: 11px;
  color: var(--leash-pink);
  line-height: 1.4;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding-top: 50px;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 70vh;
  border: 3px double var(--puppy-pink);
  background: white;
  padding: 5px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  text-align: center;
  color: var(--puppy-pink);
  padding: 15px 0;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  color: var( --berry-pop);
}

.gb-input,
.gb-textarea {
  width: 100%;
  background: var( --fur-white);
  border: 1px solid var( --tag-grey);
  padding: 5px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 11px;
  margin-bottom: 5px;
  box-sizing: border-box;
}

.gb-input:focus,
.gb-textarea:focus {
  outline: 1px solid var(--puppy-pink);
  background: #fff;
}

.gb-submit {
  background: var(--puppy-pink);
  color: white;
  border: none;
  padding: 5px 15px;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.gb-submit:hover {
  background: var( --berry-pop);
}

.gb-entry {
  border: 1px solid #eee;
  padding: 8px;
  margin-bottom: 10px;
  background: linear-gradient(to bottom, #fff, #fdfdfd);
}

.gb-entry-header {
  border-bottom: 1px dashed var(--puppy-pink);
  margin-bottom: 5px;
  padding-bottom: 2px;
  font-weight: bold;
}

.gb-entry-text {
  font-size: 11px;
  line-height: 1.4;
  color: #444;
}

.gb-admin-reply {
  margin-top: 8px;
  padding: 5px;
  background: var(--toy-yellow);
  border-left: 3px solid var(--puppy-pink);
  font-size: 10px;
}

.diary-entry-wrapper {
  border: 1px solid var(--puppy-pink);
  margin-bottom: 20px;
  background: var( --fur-white);
}

.diary-entry-body {
  padding: 10px;
}

.entry-meta {
  font-size: 9px;
  color: var(--puppy-pink);
  font-weight: bold;
  border-bottom: 1px dotted var( --tag-grey);
  margin-bottom: 8px;
  padding-bottom: 4px;
}

.entry-excerpt {
  font-size: 11px;
  line-height: 1.4;
  color: #444;
  margin-bottom: 10px;
}

.entry-links {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.entry-links a {
  color: var(--ribbon-blue);
  text-decoration: none;
  font-weight: bold;
}

.entry-links a:hover {
  color: var( --berry-pop);
  text-decoration: underline;
}

.read-more-btn {
  background: var(--puppy-pink);
  color: white !important;
  padding: 2px 5px;
}
