/* ---------------------------------------------
   kmart / parking lot — a photo log
--------------------------------------------- */

:root {
  --bg:;
  --bg-alt: #ececec;
  --ink: #121212;
  --ink-dim: #6f6d66;
  --line: #cfccc5;
  --accent-green: #39ff14;
  --accent-blue: #0000ee;
  --accent-black: #121212;

  --font-body: 'W95FA', Tahoma, 'MS Sans Serif', sans-serif;
  --font-mono: 'W95FA', Tahoma, 'MS Sans Serif', sans-serif;
}

html {
  scroll-behavior: auto;
}



.popup-ad {
  position: fixed;
  z-index: 10000;
  border: 0px outset #ccc;
  background: transparent;
  box-shadow: 0px 0px 0px rgba(0,0,0,0.5);
  padding: 4px;
  animation: pop-in 0.2s ease-out;
  max-width: 80vw;
}

.popup-ad img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
}

.popup-ad-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: #ff0000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

@keyframes pop-in {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.blinkie-bar {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 8px;
  background: transparent;
}

.blinkie-bar img {
  height: 20px;
  width: auto;
  image-rendering: pixelated;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .blinkie-bar img {
    height: 16px;
  }
}

.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 760px;
  margin: 20px auto;
  padding: 0 1.5rem;
}

.button-row img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
  display: block;
}


/* ---------------- visitor counter ---------------- */


.visitor-count-wrap {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  overflow: hidden;
  white-space: nowrap;
}

.visitor-count {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink);
  background: transparent;
  letter-spacing: 0.08em;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

#visitor-num {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.15em;
  animation: flash 1s steps(1) infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-200%); }
}

@keyframes flash {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}


html {
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html {
  font-size: 25px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
}

   body, .cboxmain { background: transparent !important; }

/* ---------------- header ---------------- */

.site-head {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  border-bottom:0px solid var(--ink);
}

.site-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin: 0;
  animation: title-flicker 3s linear infinite;
}

@keyframes title-flicker {
  0%, 3%, 6%, 100% { opacity: 1; }
  4%, 5% { opacity: 0.3; }
  40% { opacity: 1; }
  41% { opacity: 0.5; }
  42% { opacity: 1; }
  70% { opacity: 1; }
  71% { opacity: 0.2; }
  73% { opacity: 1; }
}

.site-nav {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.site-nav a {
  color: var(--ink);
  text-decoration: ;
  text-decoration-color: ;
  text-underline-offset: 4px;
  margin-left: 1.25rem;
  display: inline-block;
  transition: scaleX(-1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-black);
  border-bottom-color: var(--accent-black);
  animation: flip-flash 1s ease forwards;
}

@keyframes flip-flash {
  0% { transform: scaleX(1); }
  40% { transform: scaleX(-1); }
  100% { transform: scaleX(1); }
}

.ticker {
  margin: 1rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink);
  letter-spacing: 0.03em;
  animation: title-flicker 2s linear infinite;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  margin-right: 0.4em;
  animation: pulse 2.5s ease-in-out infinite;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}


.lot-bg {
  position: fixed;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background-image: url('images/IMG_4083.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}

.gif-divider {
  display: block;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  height: auto;
}

/* ---------------- entries ---------------- */

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.entry {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.entry:last-child {
  border-bottom: none;
}

.entry figure {
  margin: 0;
}

.entry img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-alt);
  filter: saturate(0.9) contrast(1.02);
}

.entry figcaption {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em 0.9em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.tag {
  color: var(--accent-black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag:first-child {
  color: var(--accent-black);
  font-weight: 700;
}

.note {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  font-style: italic;
  flex-basis: 100%;
  margin-top: 0.15rem;
}



/* ---------------- footer ---------------- */

.site-foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-dim);
}

.site-foot p {
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.site-foot a {
  color: var(--ink);
  text-decoration: underline;
  display: inline-block;
  transition: transform 0.4s ease;
}

.site-foot a:hover,
.site-foot a:focus-visible {
  color: var(--accent-black);
  animation: flip-flash 1s ease forwards;
}

/* ---------------- small screens ---------------- */

@media (max-width: 480px) {
  .site-title { font-size: 1.2rem; }
  .entry { padding: 2.5rem 0; }
}


