@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Schoolbell&family=Permanent+Marker&family=Boogaloo&display=swap');

:root {
  --bg:      #1a0a2e;
  --bg2:     #0d0620;
  --panel:   #12082a;
  --red:     #ff2255;
  --yellow:  #ffee00;
  --green:   #00ee66;
  --cyan:    #00ddff;
  --orange:  #ff8800;
  --pink:    #ff44cc;
  --lime:    #aaff00;
  --purple:  #cc00ff;
  --white:   #fff9f0;
  --ink:     #1a0a2e;
  --stamp1:  #ff2255;
  --stamp2:  #ffee00;
  --stamp3:  #00ddff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,34,85,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,221,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(204,0,255,0.05) 0%, transparent 70%);
  color: var(--white);
  font-family: 'Boogaloo', cursive;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext y='26' font-size='24'%3E✏️%3C/text%3E%3C/svg%3E") 0 28, crosshair;
}

/* =================== FLOATING STAMPS =================== */
.floaty-stamps {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.stamp {
  position: absolute;
  font-size: 28px;
  opacity: 0.12;
  animation: floatStamp linear infinite;
  filter: blur(0.5px);
}
@keyframes floatStamp {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.12; }
  90%  { opacity: 0.12; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* =================== CRAYON BORDER (SVG wavy) =================== */
.crayon-border-top {
  width: 100%;
  height: 18px;
  display: block;
  overflow: hidden;
  line-height: 0;
}

/* =================== MARQUEE =================== */
.marquee-bar {
  background: #000;
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--pink);
  position: relative;
  z-index: 10;
}
.marquee-bar marquee {
  font-family: 'Fredoka One', cursive;
  font-size: 17px;
  color: var(--yellow);
  padding: 5px 0;
  letter-spacing: 1px;
}
.marquee-bar marquee .m2 { color: var(--pink); }
.marquee-bar marquee .m3 { color: var(--cyan); }

/* =================== HEADER =================== */
header {
  text-align: center;
  padding: 28px 16px 22px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Splat backgrounds */
header::before {
  content: '';
  position: absolute;
  top: -30px; left: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(ellipse, rgba(255,34,85,0.18) 0%, transparent 70%);
  border-radius: 60% 40% 70% 30%;
  transform: rotate(-15deg);
}
header::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -30px;
  width: 200px; height: 180px;
  background: radial-gradient(ellipse, rgba(0,221,255,0.15) 0%, transparent 70%);
  border-radius: 40% 60% 30% 70%;
}

.site-title {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(22px, 5vw, 46px);
  color: var(--white);
  text-shadow:
    4px 4px 0 var(--red),
    -2px -2px 0 var(--cyan),
    6px 6px 0 rgba(0,0,0,0.4);
  display: inline-block;
  transform: rotate(-2deg);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.site-title .wobble1 { display: inline-block; animation: wobbleLetter 2.0s ease-in-out infinite; color: var(--yellow); }
.site-title .wobble2 { display: inline-block; animation: wobbleLetter 1.8s ease-in-out infinite 0.2s; color: var(--pink); }
.site-title .wobble3 { display: inline-block; animation: wobbleLetter 2.2s ease-in-out infinite 0.4s; color: var(--lime); }
@keyframes wobbleLetter {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-6px) rotate(-4deg); }
  75%      { transform: translateY(4px) rotate(3deg); }
}

.site-sub {
  font-family: 'Schoolbell', cursive;
  font-size: 18px;
  color: rgba(255,249,240,0.7);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.site-sub em { color: var(--cyan); font-style: normal; text-decoration: underline wavy var(--pink); }

/* STAMP ROW */
.stamp-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.kp-badge {
  font-family: 'Fredoka One', cursive;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 3px solid;
  letter-spacing: 0.5px;
  animation: badgeWiggle 2s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.kp-badge:nth-child(1) { background: rgba(255,34,85,0.25);  color: var(--red);    border-color: var(--red);    animation-delay:0s; }
.kp-badge:nth-child(2) { background: rgba(255,238,0,0.2);   color: var(--yellow); border-color: var(--yellow); animation-delay:0.3s; }
.kp-badge:nth-child(3) { background: rgba(0,221,255,0.2);   color: var(--cyan);   border-color: var(--cyan);   animation-delay:0.6s; }
.kp-badge:nth-child(4) { background: rgba(204,0,255,0.2);   color: var(--purple); border-color: var(--purple); animation-delay:0.9s; }
.kp-badge:nth-child(5) { background: rgba(0,238,102,0.2);   color: var(--green);  border-color: var(--green);  animation-delay:1.2s; }
@keyframes badgeWiggle {
  0%,100% { transform: rotate(0deg) scale(1); }
  30%      { transform: rotate(-2deg) scale(1.04); }
  70%      { transform: rotate(2deg) scale(0.97); }
}

/* =================== NAV =================== */
nav {
  background: rgba(0,0,0,0.5);
  border-top: 3px dashed rgba(255,255,255,0.15);
  border-bottom: 3px dashed rgba(255,255,255,0.15);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 6px 4px;
  gap: 4px;
  position: relative;
  z-index: 10;
}
nav a {
  font-family: 'Fredoka One', cursive;
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  transition: all 0.15s;
  letter-spacing: 0.5px;
}
nav a:hover { transform: scale(1.1) rotate(-2deg); border-color: var(--yellow); color: var(--yellow); background: rgba(255,238,0,0.12); }

/* =================== TERMINAL / SPEECH BUBBLE =================== */
.speech-bubble {
  max-width: 680px;
  margin: 22px auto 0;
  background: rgba(0,0,0,0.55);
  border: 3px solid var(--green);
  border-radius: 18px;
  padding: 18px 22px;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 20px rgba(0,238,102,0.2), 4px 4px 0 rgba(0,238,102,0.15);
}
.speech-bubble::before {
  content: '🖥️ ARTZONE_TERMINAL v1.0 🖥️';
  font-family: 'Fredoka One', cursive;
  font-size: 13px;
  color: var(--green);
  display: block;
  border-bottom: 2px dashed rgba(0,238,102,0.3);
  padding-bottom: 8px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
/* speech bubble tail */
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -18px; left: 40px;
  border: 9px solid transparent;
  border-top-color: var(--green);
}
.term-line {
  font-family: 'Schoolbell', cursive;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,249,240,0.85);
}
.term-line .prompt { color: var(--pink); font-family: 'Fredoka One', cursive; }
.term-line .hi     { color: var(--cyan); }
.term-line .warn   { color: var(--orange); }
.cursor-blink {
  display: inline-block;
  width: 10px; height: 16px;
  background: var(--green);
  vertical-align: middle;
  animation: blinkFast 0.8s infinite;
  border-radius: 2px;
}
@keyframes blinkFast { 0%,49%{opacity:1} 50%,100%{opacity:0} }

.counter-line {
  text-align: center;
  font-family: 'Fredoka One', cursive;
  font-size: 15px;
  color: rgba(255,249,240,0.5);
  margin-top: 12px;
}
.counter-digits {
  background: #000;
  color: var(--green);
  font-family: 'Permanent Marker', cursive;
  font-size: 20px;
  padding: 2px 10px;
  border: 2px solid var(--green);
  border-radius: 6px;
  letter-spacing: 4px;
  box-shadow: 0 0 10px rgba(0,238,102,0.4);
}

/* =================== MAIN WRAP =================== */
.main-wrap {
  display: flex;
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 10px 20px;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

/* =================== SIDEBAR =================== */
.sidebar { width: 175px; flex-shrink: 0; }

.sb-block {
  background: rgba(0,0,0,0.5);
  border: 3px solid;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 14px;
  position: relative;
}
.sb-block:nth-child(1)  { border-color: var(--red); }
.sb-block:nth-child(2)  { border-color: var(--yellow); }
.sb-block:nth-child(3)  { border-color: var(--cyan); }
.sb-block:nth-child(4)  { border-color: var(--purple); }
.sb-block:nth-child(5)  { border-color: var(--green); }
.sb-block:nth-child(6)  { border-color: var(--orange); }

.sb-block .sb-title {
  font-family: 'Fredoka One', cursive;
  font-size: 14px;
  margin-bottom: 7px;
  padding-bottom: 5px;
  border-bottom: 2px dashed rgba(255,255,255,0.15);
  letter-spacing: 0.5px;
}
.sb-block:nth-child(1) .sb-title  { color: var(--red); }
.sb-block:nth-child(2) .sb-title  { color: var(--yellow); }
.sb-block:nth-child(3) .sb-title  { color: var(--cyan); }
.sb-block:nth-child(4) .sb-title  { color: var(--purple); }
.sb-block:nth-child(5) .sb-title  { color: var(--green); }
.sb-block:nth-child(6) .sb-title  { color: var(--orange); }

.sb-block p, .sb-block li {
  font-family: 'Schoolbell', cursive;
  font-size: 12px;
  color: rgba(255,249,240,0.7);
  line-height: 1.7;
  list-style: none;
}
.sb-block ul li::before { content: "★ "; color: var(--yellow); }
.sb-block a { color: var(--cyan); text-decoration: none; font-family: 'Schoolbell', cursive; font-size: 12px; }
.sb-block a:hover { text-decoration: underline; color: var(--lime); }

.sb-icon {
  font-size: 32px;
  display: block;
  text-align: center;
  margin-bottom: 6px;
  animation: sbIconBounce 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}
@keyframes sbIconBounce {
  0%,100% { transform: translateY(0) rotate(0deg); }
  40%      { transform: translateY(-5px) rotate(-5deg); }
  70%      { transform: translateY(2px) rotate(3deg); }
}

.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: statusPulse 1.5s infinite;
  margin-right: 4px;
}
@keyframes statusPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* =================== GALLERY =================== */
.gallery-area { flex: 1; }

.gallery-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  background: rgba(0,0,0,0.4);
  border: 3px dashed rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 10px 16px;
}
.gallery-header h2 {
  font-family: 'Permanent Marker', cursive;
  font-size: 20px;
  color: var(--white);
  text-shadow: 2px 2px 0 var(--red), -1px -1px 0 var(--cyan);
}
.gallery-header h2 span { color: var(--yellow); }
.gallery-count {
  font-family: 'Schoolbell', cursive;
  font-size: 13px;
  color: rgba(255,249,240,0.5);
  margin-left: auto;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.art-card {
  background: rgba(0,0,0,0.6);
  border: 3px solid;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.art-card:nth-child(4n+1) { border-color: var(--red); }
.art-card:nth-child(4n+2) { border-color: var(--cyan); }
.art-card:nth-child(4n+3) { border-color: var(--yellow); }
.art-card:nth-child(4n+4) { border-color: var(--pink); }

.art-card:hover {
  transform: scale(1.06) rotate(var(--card-rot, -1deg));
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 16px var(--card-glow, rgba(255,34,85,0.3));
  z-index: 20;
}
.art-card:nth-child(4n+1):hover { --card-glow: rgba(255,34,85,0.4); --card-rot: -2deg; }
.art-card:nth-child(4n+2):hover { --card-glow: rgba(0,221,255,0.4); --card-rot:  2deg; }
.art-card:nth-child(4n+3):hover { --card-glow: rgba(255,238,0,0.4);  --card-rot: -1deg; }
.art-card:nth-child(4n+4):hover { --card-glow: rgba(255,68,204,0.4); --card-rot:  3deg; }

.art-card:hover .art-canvas-wrap::after { opacity: 1; }

.art-canvas-wrap { position: relative; }
.art-canvas-wrap::after {
  content: '👁 OPEN';
  position: absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  font-family: 'Fredoka One', cursive;
  font-size: 15px;
  color: var(--white);
  background: rgba(0,0,0,0.8);
  padding: 5px 12px;
  border-radius: 999px;
  border: 2px solid var(--yellow);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
  text-shadow: 0 0 8px var(--yellow);
}
.art-img {
  width: 100%;
  height: 115px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.art-label {
  padding: 6px 8px;
  background: rgba(0,0,0,0.4);
  border-top: 2px dashed rgba(255,255,255,0.12);
}
.art-label .art-id {
  font-family: 'Fredoka One', cursive;
  font-size: 10px;
  color: rgba(255,249,240,0.4);
  display: block;
  letter-spacing: 1px;
}
.art-label .art-name {
  font-family: 'Schoolbell', cursive;
  font-size: 14px;
  color: var(--white);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* BADGE STAMPS */
.stamp-badge {
  position: absolute;
  top: -6px; right: -6px;
  font-size: 22px;
  z-index: 5;
  animation: stampSpin 4s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}
@keyframes stampSpin {
  0%,100% { transform: rotate(-10deg) scale(1); }
  50%      { transform: rotate(10deg) scale(1.15); }
}

/* SCRIBBLE DIVIDER */
.scribble-divider {
  text-align: center;
  margin: 22px 0 10px;
  font-family: 'Permanent Marker', cursive;
  font-size: 14px;
  color: rgba(255,249,240,0.3);
  letter-spacing: 4px;
  position: relative;
}
.scribble-divider::before,
.scribble-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: 30%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.1) 0, rgba(255,255,255,0.1) 6px, transparent 6px, transparent 10px);
}
.scribble-divider::before { left: 0; }
.scribble-divider::after  { right: 0; }

/* =================== FULL GALLERY BANNER =================== */
.full-gallery-banner {
  background: linear-gradient(135deg, rgba(255,34,85,0.12), rgba(204,0,255,0.12), rgba(0,221,255,0.12));
  border: 4px dashed rgba(255,238,0,0.5);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
/* scattered star stamps */
.full-gallery-banner::before {
  content: '⭐ ✨ 🌟 ⭐ ✨ 🌟 ⭐ ✨ 🌟 ⭐ ✨ 🌟';
  position: absolute;
  top: 6px; left: 0; right: 0;
  text-align: center;
  font-size: 14px;
  opacity: 0.3;
  letter-spacing: 8px;
}
.full-gallery-banner::after {
  content: '⭐ ✨ 🌟 ⭐ ✨ 🌟 ⭐ ✨ 🌟 ⭐ ✨ 🌟';
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  text-align: center;
  font-size: 14px;
  opacity: 0.3;
  letter-spacing: 8px;
}

.banner-title {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(16px, 3vw, 26px);
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--red), -1px -1px 0 rgba(0,0,0,0.5);
  margin-bottom: 10px;
  display: inline-block;
  animation: titleRock 2.5s ease-in-out infinite;
}
@keyframes titleRock {
  0%,100% { transform: rotate(-1deg); }
  50%      { transform: rotate(2deg); }
}

.banner-body {
  font-family: 'Schoolbell', cursive;
  font-size: 17px;
  color: rgba(255,249,240,0.8);
  margin-bottom: 18px;
  line-height: 1.7;
}
.banner-body strong { color: var(--cyan); }

.big-btn {
  display: inline-block;
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border: none;
  border-radius: 999px;
  padding: 12px 34px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(0,0,0,0.4), 0 0 20px rgba(255,238,0,0.3);
  transition: all 0.15s;
  letter-spacing: 1px;
  animation: btnBounce 1.6s ease-in-out infinite;
}
@keyframes btnBounce {
  0%,100% { transform: translateY(0) scale(1); box-shadow: 0 6px 0 rgba(0,0,0,0.4); }
  50%      { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 0 rgba(0,0,0,0.3); }
}
.big-btn:hover {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--white);
  animation: none;
  transform: scale(1.06) rotate(-2deg);
}

.banner-warning {
  margin-top: 14px;
  font-family: 'Schoolbell', cursive;
  font-size: 13px;
  color: rgba(255,249,240,0.35);
}

/* =================== FOOTER =================== */
footer {
  background: rgba(0,0,0,0.7);
  border-top: 4px dashed rgba(255,255,255,0.1);
  padding: 20px 16px;
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}
.footer-stamps {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: 10px;
  animation: stampRow 6s linear infinite;
}
@keyframes stampRow { 0%{letter-spacing:10px} 50%{letter-spacing:15px} 100%{letter-spacing:10px} }
.footer-line {
  font-family: 'Schoolbell', cursive;
  font-size: 14px;
  color: rgba(255,249,240,0.35);
  line-height: 1.9;
}
.footer-line a { color: var(--cyan); text-decoration: none; }

/* =================== TITLE ART WORD =================== */
.title-art {
  color: var(--pink) !important;
}

/* =================== MODAL NAV =================== */
.modal-nav-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-nav-wrap #modalSvg {
  flex: 1;
  min-width: 0;
}
.modal-nav-btn {
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 3px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-nav-btn:hover:not(:disabled) {
  background: var(--yellow);
  color: var(--ink);
  transform: scale(1.15);
}
.modal-nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.2);
}
.modal-nav-hint {
  text-align: center;
  font-family: 'Schoolbell', cursive;
  font-size: 13px;
  color: rgba(255,249,240,0.28);
  margin: 8px 0 0;
  letter-spacing: 1px;
}

@media (max-width:700px) {
  .modal-nav-btn { width: 38px; height: 38px; font-size: 16px; }
}

/* =================== MODAL (existing override) =================== */

.modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.88);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }

.modal-box {
  background: var(--bg2);
  border: 4px solid var(--yellow);
  border-radius: 20px;
  padding: 28px;
  max-width: 90vw;
  width: 90vw;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 60px rgba(255,238,0,0.25), 12px 12px 0 rgba(0,0,0,0.5);
  animation: modalPop 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalPop { from{transform:scale(0.7) rotate(-5deg); opacity:0} to{transform:scale(1) rotate(0); opacity:1} }

.modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 2px dashed rgba(255,255,255,0.15);
  padding-bottom: 10px;
}
.modal-title {
  font-family: 'Permanent Marker', cursive;
  font-size: 26px;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--red);
}
.modal-close {
  font-family: 'Fredoka One', cursive;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
  background: var(--red);
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  line-height: 44px;
  text-align: center;
  transition: transform 0.15s;
  flex-shrink: 0;
}
.modal-close:hover { transform: scale(1.2) rotate(15deg); background: var(--pink); }
#modalSvg { width: 100%; display: block; border: 2px solid rgba(255,255,255,0.12); border-radius: 10px; overflow: hidden; }
.modal-meta {
  margin-top: 18px;
  font-family: 'Schoolbell', cursive;
  font-size: 22px;
  color: rgba(255,249,240,0.75);
  line-height: 1.7;
}
.modal-meta .modal-id { font-family:'Fredoka One',cursive; font-size:15px; color:rgba(255,249,240,0.35); letter-spacing:1px; display:block; margin-bottom:6px; }

@media (max-width:700px) {
  .main-wrap { flex-direction:column; }
  .sidebar { width:100%; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .site-title { font-size:22px; }
}
