
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #f3f3f3;
  background:
    linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.28)),
    url("assets/background/myspace-black-stars.png") center top / cover fixed no-repeat,
    #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
button, input, select { font: inherit; }
a { color: #fff; }
img { max-width: 100%; }

.site-shell {
  width: min(960px, calc(100% - 20px));
  margin: 0 auto;
  background: rgba(0,0,0,.93);
  border: 1px solid #555;
  box-shadow: 0 0 30px rgba(0,0,0,.85);
}

.myspace-header {
  background: #050505;
  border-bottom: 1px solid #777;
}
.header-main {
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
}
.fake-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-people {
  letter-spacing: 5px;
  font-size: 17px;
}
.fake-logo strong {
  display: block;
  font-size: 25px;
  line-height: -1;
}
.fake-logo small {
  color: #aaa;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-search input { width: 260px; }
.header-search input,
.header-search select,
.header-search button {
  height: 25px;
}
.header-search button {
  color: #000;
  background: linear-gradient(#fff, #aaa);
  border: 1px solid #777;
}
.header-search span {
  margin-left: 8px;
  color: #bbb;
  font-size: 10px;
}

.top-navigation {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(#363638,#111 52%,#29292c);
  border-top: 1px solid #555;
}
.top-navigation button {
  padding: 8px 13px;
  color: #fff;
  font-weight: bold;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.top-navigation button:hover,
.top-navigation button.active {
  color: #000;
  background: linear-gradient(#fff,#aaa);
}

.profile-banner {
  height: 120px;
  margin: 10px 12px;
  border: 1px solid #777;
  background:
    linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.2)),
    url("assets/background/myspace-black-stars.png") center 35% / cover;
}
.profile-banner-copy {
  padding: 19px 35px;
  text-align: right;
}
.profile-banner h1 {
  margin: 0;
  font: italic 50px Georgia, serif;
  text-shadow: 0 0 7px #fff;
}
.profile-banner p {
  margin: -5px 0 0;
  color: #ccc;
  font: italic 18px Georgia, serif;
}

.myspace-grid {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 13px;
  padding: 0 12px 15px;
}
.left-column, .right-column { min-width: 0; }

.profile-summary {
  margin-bottom: 9px;
}
.profile-summary > h2 {
  margin: 0 0 7px;
  font-size: 17px;
}
.profile-summary-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 9px;
}
.profile-summary-grid img {
  width: 160px;
  height: 215px;
  object-fit: cover;
  border: 2px solid #888;
}
.profile-summary-grid p { line-height: 1.4; }
.online-now { color: #6eff6e; }

.myspace-panel,
.card,
.widget {
  margin: 0 0 9px;
  border: 1px solid #777;
  background: #08080a;
}
.myspace-panel > h2,
.card > h2,
.widget > h2 {
  margin: 0;
  padding: 6px 9px;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(#3b3b3e,#151517);
  border-bottom: 1px solid #777;
}
.myspace-panel > *:not(h2),
.card > *:not(h2),
.widget > *:not(h2) {
  margin-left: 9px;
  margin-right: 9px;
}

.contact-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 7px 0;
}
.contact-buttons button,
.contact-buttons a {
  min-height: 31px;
  padding: 6px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.contact-buttons button:hover,
.contact-buttons a:hover {
  color: #000;
  background: #fff;
}

.interests-panel dl {
  display: grid;
  grid-template-columns: 75px 1fr;
  margin: 0;
  padding: 7px 0;
}
.interests-panel dt,
.interests-panel dd {
  margin: 0;
  padding: 7px 5px;
  border-bottom: 1px solid #444;
}
.interests-panel dt {
  font-weight: bold;
}
.interests-panel dd { color: #bbb; }

.mini-friends {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 5px;
  padding: 8px 0;
}
.mini-friends a,
.friend-placeholder {
  min-height: 67px;
  padding: 6px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border: 1px solid #555;
  background: #111;
}
.mini-friends img {
  width: 88px;
  height: 31px;
  object-fit: contain;
}
.mini-friends span,
.mini-friends small {
  display: block;
  margin-top: 4px;
}
.friend-placeholder { color: #999; }

.girlfriend-widget .girlfriend-blinkie {
  width: 88px;
  height: 31px;
}

.site-page { display: none; }
.site-page.active-page { display: block; }
.home-columns {
  display: grid;
  grid-template-columns: minmax(0,1fr) 230px;
  gap: 9px;
}
.home-main, .home-side { min-width: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 10px;
  padding: 9px 0;
}
.about-grid img {
  width: 105px;
  height: 105px;
  object-fit: cover;
  border: 1px solid #777;
}
.about-grid p { line-height: 1.45; }

.media-wrapper .now-playing {
  margin: 0;
  border: 0;
}
.media-wrapper .now-playing > h2 { display: none; }
.player-viewport,
.track-screen,
.volume-control {
  color: #fff;
  background: #000;
  border: 1px solid #555;
}
.player-art {
  width: 100%;
  max-height: 205px;
  object-fit: cover;
}
.player-controls {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 4px;
}
.player-controls button {
  padding: 6px;
  color: #fff;
  background: linear-gradient(#333,#111);
  border: 1px solid #666;
}
.volume-slider { width: 100%; }

.dog-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 5px;
  margin: 9px 0;
}
.dog-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.games-grid,
.album-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
  margin: 9px 0;
}
.game-tile,
.media-card {
  padding: 4px;
  border: 1px solid #555;
  background: #111;
}
.game-tile img,
.media-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.game-tile h3,
.media-card h3 {
  margin: 4px 0 1px;
  font-size: 11px;
}
.media-card p,
.media-card span {
  margin: 2px 0;
  color: #aaa;
  font-size: 9px;
}

.relationship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 9px 0;
}
.relationship-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
  margin: 9px 0;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: zoom-in;
}

.setup-table {
  width: calc(100% - 18px);
  margin: 9px;
  border-collapse: collapse;
}
.setup-table td {
  padding: 7px;
  border: 1px solid #555;
}

.vinyl-page[hidden] { display: block; }
.vinyl-page-header,
.vinyl-hero,
.vinyl-blog {
  margin: 9px;
}
.vinyl-post {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dotted #555;
}
.vinyl-post img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

footer {
  padding: 15px;
  color: #aaa;
  text-align: center;
  border-top: 1px solid #555;
}

.click-particle {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  color: #fff;
  font-size: 17px;
  text-shadow: 0 0 5px #fff;
  animation: particle-burst .85s ease-out forwards;
}
@keyframes particle-burst {
  from { opacity: 1; transform: translate(0,0) scale(1); }
  to { opacity: 0; transform: translate(var(--x),var(--y)) scale(.2) rotate(180deg); }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.94);
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox-image {
  max-width: 90vw;
  max-height: 88vh;
}
.gallery-lightbox-close {
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 30px;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: none;
}
.back-to-top.visible { display: block; }
.section-divider, .crt, .sparkle-field { display: none; }

@media (max-width: 900px) {
  .myspace-grid { grid-template-columns: 240px minmax(0,1fr); }
  .home-columns { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .header-main { flex-direction: column; }
  .header-search { flex-wrap: wrap; justify-content: center; }
  .header-search input { width: 190px; }
  .profile-banner { height: 95px; }
  .profile-banner h1 { font-size: 38px; }
  .myspace-grid { grid-template-columns: 1fr; }
  .games-grid, .album-grid, .gallery-grid { grid-template-columns: repeat(2,1fr); }
}


/* =========================================================
   OLD MYSPACE LAYOUT RESTORED — FUNCTIONAL EDITION
   ========================================================= */

html,
body,
a,
button,
input,
select {
  cursor: url("assets/cursor/star-cursor.png") 16 16, auto;
}

.site-shell {
  width: min(960px, calc(100% - 20px));
}

.myspace-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.left-column,
.right-column {
  min-width: 0;
}

/* No third/right sidebar. Home content uses the entire main column. */
#page-home,
#page-home > section,
#page-home .media-wrapper {
  width: 100%;
}

#page-home .media-wrapper {
  margin-top: 9px;
}

.links-panel table {
  width: calc(100% - 16px);
  margin: 8px;
  border-collapse: collapse;
}

.links-panel th,
.links-panel td {
  padding: 6px;
  text-align: left;
  border: 1px solid #555;
}

.links-panel th {
  width: 72px;
  background: #171719;
}

.links-panel a {
  color: #fff;
  text-decoration: underline;
}

.links-panel a:hover {
  color: #000;
  background: #fff;
}

/* Smooth page switching like the older build. */
.site-page {
  display: none;
  opacity: 0;
  transform: translateY(7px);
}

.site-page.active-page {
  display: block;
  animation: page-soft-in .34s ease both;
}

@keyframes page-soft-in {
  from { opacity: 0; transform: translateY(7px); filter: blur(1px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.myspace-panel,
.card,
.widget,
.profile-summary {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.myspace-panel:hover,
.card:hover,
.widget:hover {
  border-color: #aaa;
  box-shadow: 0 4px 14px rgba(0,0,0,.55);
}

/* Images tremble on hover, as in the older site. */
.right-column img:not(.music-equalizer),
.left-column img:not(.music-equalizer),
.profile-banner img {
  transform-origin: center;
}

.right-column img:not(.music-equalizer):hover,
.left-column img:not(.music-equalizer):hover,
.profile-banner img:hover {
  animation: image-tremble .19s linear infinite;
  filter: contrast(1.08) brightness(1.04);
}

@keyframes image-tremble {
  0% { transform: translate(0,0) rotate(0); }
  25% { transform: translate(-1px,1px) rotate(-.35deg); }
  50% { transform: translate(1px,0) rotate(.35deg); }
  75% { transform: translate(0,-1px) rotate(-.25deg); }
  100% { transform: translate(0,0) rotate(0); }
}

/* Preserve the old image viewer/lightbox behavior. */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(2px);
}

.gallery-lightbox.open {
  display: flex;
  animation: lightbox-fade .2s ease both;
}

.gallery-lightbox-image {
  width: auto !important;
  height: auto !important;
  max-width: min(92vw, 1050px);
  max-height: 88vh;
  object-fit: contain !important;
  border: 1px solid #fff;
  box-shadow: 0 0 0 4px #111, 0 15px 50px #000;
  animation: lightbox-pop .22s ease both;
}

.gallery-lightbox-close {
  position: fixed;
  top: 12px;
  right: 16px;
  width: 38px;
  height: 38px;
  color: #000;
  font-size: 27px;
  background: #fff;
  border: 1px solid #777;
}

@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lightbox-pop {
  from { opacity: 0; transform: scale(.93); }
  to { opacity: 1; transform: scale(1); }
}

body.lightbox-open { overflow: hidden; }

/* The player is full-width instead of squeezed into a sidebar. */
.media-wrapper .webdeck-player {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(260px, 1.1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.media-wrapper .player-banner {
  grid-row: 1 / span 7;
}

.media-wrapper .player-banner img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.media-wrapper .player-eq {
  width: calc(100% - 18px);
  margin: 8px 9px;
}

@media (max-width: 760px) {
  .myspace-grid { grid-template-columns: 1fr; }
  .media-wrapper .webdeck-player { grid-template-columns: 1fr; }
  .media-wrapper .player-banner { grid-row: auto; }
}


/* =========================================================
   OLD MYSPACE LAYOUT RESTORATION — V2
   ========================================================= */

.site-shell {
  width: 900px !important;
  max-width: calc(100% - 16px) !important;
  margin: 0 auto !important;
}

.header-main {
  min-height: 50px !important;
  padding: 6px 12px !important;
}

.fake-logo {
  min-width: 180px;
  transform: none !important;
}

.logo-people {
  display: inline-block;
  width: 20px;
  height: 9px;
  overflow: hidden;
  margin-right: 2px;
  color: #fff;
  font-size: 0;
  background: #fff;
  transform: skewX(-18deg);
}

.fake-logo strong {
  font-size: 23px !important;
  line-height: 1 !important;
}

.fake-logo small {
  margin-left: 29px;
  font-size: 9px;
}

.profile-banner {
  height: 104px !important;
  margin: 10px 8px !important;
}

.myspace-grid {
  grid-template-columns: 245px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 0 8px 14px !important;
}

.profile-summary-grid {
  grid-template-columns: 145px minmax(0, 1fr) !important;
  gap: 8px !important;
}

.profile-summary-grid img {
  width: 145px !important;
  height: 198px !important;
}

.right-column,
.site-page,
#page-home {
  width: 100%;
  min-width: 0;
}

#page-home {
  display: block;
}

#page-home > * {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.about-grid {
  grid-template-columns: 100px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 9px !important;
}
.about-grid img {
  width: 100px !important;
  height: 100px !important;
}

/* Media player flat and proportioned like the older version. */
.media-wrapper {
  width: 100%;
}
.media-wrapper .now-playing,
.media-wrapper .webdeck-player {
  width: 100% !important;
  max-width: none !important;
}
.media-wrapper .webdeck-player {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-areas:
    "header header"
    "banner info"
    "banner status"
    "banner time"
    "banner progress"
    "banner controls"
    "banner volume";
  gap: 5px 10px;
  padding: 10px !important;
  border: 0 !important;
  background: #08080a !important;
}
.player-header { grid-area: header; margin: 0 0 3px !important; }
.player-banner { grid-area: banner; height: 150px !important; margin: 0 !important; }
.player-banner img { object-fit: cover !important; }
.player-status { grid-area: status; margin: 0 !important; }
.track-info { grid-area: info; margin: 0 !important; min-height: 58px !important; }
.time-display { grid-area: time; margin: 0 !important; }
.progress-bar-container { grid-area: progress; margin: 0 !important; }
.player-controls { grid-area: controls; margin: 0 !important; }
.volume-control { grid-area: volume; margin: 0 !important; }
.player-eq {
  display: block;
  width: calc(100% - 18px) !important;
  height: 44px !important;
  margin: 8px 9px !important;
  object-fit: fill;
}

.blog-entries,
.friend-space-main,
#setup-home {
  width: 100%;
}

.blog-entries h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-subscribe {
  font-size: 9px;
  font-weight: normal;
}
.blog-lines {
  padding: 6px 9px 8px;
}
.blog-lines p {
  margin: 5px 0;
  padding-bottom: 5px;
  border-bottom: 1px dotted #555;
}

.friend-grid-old {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
}
.friend-card-old {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: 9px;
  text-align: center;
  text-decoration: none;
}
.friend-card-old img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #777;
}
.friend-card-old span {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#setup-home {
  margin-top: 9px;
}

/* Context boxes prepared for user-written introductions. */
.section-context {
  margin-bottom: 9px !important;
}
.section-context-body {
  padding: 10px;
}
.section-context p {
  min-height: 58px;
  margin: 0;
  padding: 9px;
  color: #d5d5d5;
  line-height: 1.5;
  background: #0c0c0e;
  border: 1px dashed #555;
}
.section-context p:focus {
  outline: 1px solid #fff;
}

/* Keep the old image viewer and subtle hover movement. */
.game-tile img,
.media-card img,
.dog-strip img,
.relationship-grid img,
.gallery-grid img,
.friend-card-old img,
.about-grid img {
  transform-origin: center;
  transition: transform .12s ease, filter .12s ease;
}
.game-tile img:hover,
.media-card img:hover,
.dog-strip img:hover,
.relationship-grid img:hover,
.gallery-grid img:hover,
.friend-card-old img:hover,
.about-grid img:hover {
  animation: old-image-shake .24s linear infinite;
  filter: contrast(1.08);
}
@keyframes old-image-shake {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  25% { transform: translate(-1px,1px) rotate(-.35deg); }
  50% { transform: translate(1px,-1px) rotate(.35deg); }
  75% { transform: translate(1px,1px) rotate(-.2deg); }
}

html,
body,
a,
button,
img {
  cursor: url("assets/cursor/star-cursor.png") 8 8, auto !important;
}

@media (max-width: 760px) {
  .site-shell { max-width: 100% !important; }
  .myspace-grid { grid-template-columns: 1fr !important; }
  .media-wrapper .webdeck-player {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header" "banner" "info" "status" "time" "progress" "controls" "volume";
  }
  .player-banner { height: 180px !important; }
  .friend-grid-old { grid-template-columns: repeat(4, minmax(0,1fr)); }
}


/* =========================================================
   V3 — HEADER, INTERNAL PAGES, FRIENDS AND PLAYER FIX
   ========================================================= */

/* Keep the old compact logo proportions. */
.fake-logo {
  min-width: 145px !important;
  display: grid !important;
  grid-template-columns: 20px auto !important;
  column-gap: 2px !important;
  align-items: center !important;
}
.fake-logo > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.fake-logo strong {
  margin: 0 !important;
  font-size: 22px !important;
  line-height: .82 !important;
  letter-spacing: -1px !important;
}
.fake-logo small {
  margin: 1px 0 0 0 !important;
  font-size: 8px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.logo-people {
  margin: 0 !important;
  align-self: start !important;
  margin-top: 3px !important;
}

.profile-banner-copy p {
  margin-top: -7px !important;
  color: #eee !important;
  font-family: Georgia, serif !important;
  font-size: 18px !important;
  font-style: italic !important;
  text-shadow: 0 1px 2px #000 !important;
}

/* Critical page-switching correction: inactive pages must not occupy space. */
#page-home { display: none !important; }
#page-home.active-page { display: block !important; }
.site-page:not(.active-page) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.site-page.active-page {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

/* Smaller equalizer below the main media player. */
.media-wrapper .player-eq {
  width: 190px !important;
  max-width: calc(100% - 18px) !important;
  height: 35px !important;
  margin: 8px 9px !important;
  object-fit: fill !important;
  image-rendering: pixelated;
}

/* Keep only two actual friend entries and six neutral placeholders. */
.friend-waiting {
  display: block;
  min-width: 0;
  color: #8f8f93;
  text-align: center;
}
.friend-waiting-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  color: #666;
  font: 22px Georgia, serif;
  background: repeating-linear-gradient(135deg,#111 0 7px,#18181a 7px 14px);
  border: 1px dashed #555;
}
.friend-card-old img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}
.friend-card-old[href*="angelkss"] img {
  object-fit: contain !important;
  background: #111;
}

.section-context p {
  min-height: 0 !important;
  cursor: default !important;
}


/* =========================================================
   V4 — BOTÕES, EQUALIZERS E CONTEÚDO DAS SEÇÕES
   ========================================================= */
.contact-buttons button { width:100%; }
.player-eq-row {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin:10px 9px 9px;
  overflow:hidden;
}
.player-eq-row .player-eq {
  width:100%;
  height:54px;
  object-fit:fill;
  image-rendering:pixelated;
}
.status-eq-row {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
  margin:7px 9px 9px;
}
.status-eq-row .mini-eq {
  width:100%;
  height:42px;
  object-fit:fill;
  image-rendering:pixelated;
}
.left-column > .girlfriend-widget {
  margin:0 0 9px;
}
.left-column > .girlfriend-widget .girlfriend-blinkie-link {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:55px;
}
.left-column > .girlfriend-widget .girlfriend-blinkie {
  width:176px;
  height:62px;
  max-width:calc(100% - 10px);
  object-fit:contain;
  image-rendering:auto;
}
.section-context-body {
  padding:10px 0 11px;
}
.section-context-body p {
  margin:0 0 9px;
  line-height:1.55;
  color:#d5d5d8;
}
.section-info-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-top:11px;
}
.section-info-grid article {
  min-height:72px;
  padding:9px;
  border:1px solid #555;
  background:linear-gradient(#171719,#09090b);
}
.section-info-grid strong,
.section-info-grid span {
  display:block;
}
.section-info-grid strong {
  margin-bottom:6px;
  color:#fff;
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:.6px;
}
.section-info-grid span {
  color:#bdbdc1;
  line-height:1.35;
}
@media(max-width:680px){
  .player-eq-row{grid-template-columns:repeat(2,1fr)}
  .section-info-grid{grid-template-columns:1fr}
}


/* =========================================================
   V5 — REFINOS VISUAIS
   ========================================================= */

/* Um único equalizer contínuo no player, sem espaços entre GIFs. */
.player-eq-row {
  display: block !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

.player-eq-wide {
  display: block !important;
  width: 100% !important;
  height: 28px !important;
  margin: 0 !important;
  object-fit: fill !important;
  image-rendering: auto;
}

/* Um único equalizer contínuo e compacto na seção Status. */
.status-eq-row {
  display: block !important;
  width: 100% !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

.status-eq-wide {
  display: block !important;
  width: 100% !important;
  height: 28px !important;
  margin: 0 !important;
  object-fit: fill !important;
}

/* Blinkie clássico pequeno, igual aos botões antigos de sites. */
.girlfriend-widget {
  overflow: hidden;
}

.girlfriend-widget .girlfriend-blinkie-link {
  display: block !important;
  width: 88px !important;
  height: 31px !important;
  margin: 6px auto !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.girlfriend-widget .girlfriend-blinkie {
  display: block !important;
  width: 88px !important;
  height: 31px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  object-fit: contain !important;
  border: 0 !important;
}

/* Logo superior mais centralizado dentro do próprio bloco e um pouco maior. */
.fake-logo {
  min-width: 180px;
  justify-content: center !important;
  text-align: center;
}

.fake-logo > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fake-logo strong {
  font-size: 28px !important;
  line-height: .88 !important;
  letter-spacing: -1.4px !important;
}

.fake-logo small {
  margin-top: 2px !important;
  font-size: 9px !important;
  line-height: 1 !important;
}

/* Mantém quatro cards visíveis; botão só existe quando há mais de quatro itens. */
.expandable-grid.is-collapsed > :nth-child(n + 17) {
  display: none !important;
}

.expandable-controls {
  display: flex;
  justify-content: flex-start;
  padding: 0 9px 9px;
}

.expandable-toggle {
  min-width: 95px;
}


/* =========================================================
   V6 — EQUALIZER SEM GOMOS + LOGO/BLINKIE COMO NO ANTIGO
   ========================================================= */

/* Equalizer contínuo: uma única imagem, sem qualquer espaço interno. */
.player-eq-row,
.status-eq-row {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #050506 !important;
}

.player-eq-row {
  margin: 9px 0 0 !important;
}

.status-eq-row {
  margin: 6px 0 0 !important;
}

.player-eq-wide,
.status-eq-wide {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: fill !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
}

.player-eq-wide {
  height: 34px !important;
}

.status-eq-wide {
  height: 28px !important;
}

/* Blinkie exatamente como no modelo antigo: 88x31 e centralizado. */
.girlfriend-widget {
  text-align: center !important;
}

.girlfriend-widget > h2 {
  text-align: left !important;
}

.girlfriend-widget .girlfriend-blinkie-link {
  display: block !important;
  width: 88px !important;
  height: 31px !important;
  margin: 7px auto 9px !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.girlfriend-widget .girlfriend-blinkie {
  display: block !important;
  width: 88px !important;
  height: 31px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
}

/* Logo volta ao tamanho compacto da versão antiga e fica centralizado no quadradinho. */
.fake-logo {
  width: 168px !important;
  min-width: 168px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}

.fake-logo > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.logo-people {
  font-size: 15px !important;
}

.fake-logo strong {
  font-size: 24px !important;
  line-height: .86 !important;
  letter-spacing: -1.2px !important;
}

.fake-logo small {
  margin: 2px 0 0 !important;
  font-size: 8px !important;
  line-height: 1 !important;
  text-align: center !important;
}


/* =========================================================
   V7 — SOMENTE LARGURA, LOGO, BLINKIE E LIMITE DE 16 ITENS
   ========================================================= */

/* Largura igual à estrutura antiga enviada. */
.site-shell {
  width: 980px !important;
  max-width: calc(100% - 20px) !important;
}

/* Logo com as proporções do código antigo enviado. */
.fake-logo {
  width: 250px !important;
  min-width: 250px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.fake-logo > div {
  display: block !important;
  text-align: left !important;
}

.logo-people {
  display: inline-block !important;
  margin-right: 5px !important;
  font-size: 17px !important;
  line-height: 1 !important;
  letter-spacing: -6px !important;
  transform: translateY(-1px);
}

.fake-logo strong {
  display: block !important;
  font-size: 25px !important;
  line-height: .9 !important;
  letter-spacing: -1px !important;
}

.fake-logo small {
  display: block !important;
  margin: 1px 0 0 !important;
  color: #aaa !important;
  font-size: 8px !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* Blinkie menor e alinhado à esquerda, como na referência enviada. */
.girlfriend-widget {
  text-align: left !important;
}

.girlfriend-widget > h2 {
  text-align: left !important;
}

.girlfriend-widget .girlfriend-blinkie-link {
  display: block !important;
  width: 88px !important;
  height: 31px !important;
  margin: 6px 0 8px 9px !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.girlfriend-widget .girlfriend-blinkie {
  width: 88px !important;
  height: 31px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

/* Com até 16 itens, a grade permanece totalmente aberta e sem botão. */
.expandable-grid.is-collapsed > :nth-child(n + 17) {
  display: none !important;
}


/* =========================================================
   V8 — LOGO ANTIGA + GIRLFRIEND COMPACTA
   Somente os dois ajustes solicitados.
   ========================================================= */

/* Estrutura e proporções copiadas da versão antiga. */
.brand-row {
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 7px 14px !important;
}

.myspace-logo {
  position: relative !important;
  width: 250px !important;
  min-width: 250px !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.people-icon {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  margin-right: 5px !important;
  color: #fff !important;
  font-size: 17px !important;
  line-height: normal !important;
  letter-spacing: -6px !important;
  background: none !important;
  transform: none !important;
}

.myspace-logo strong {
  display: inline !important;
  margin: 0 !important;
  font-size: 25px !important;
  line-height: normal !important;
  letter-spacing: -1px !important;
}

.myspace-logo small {
  display: block !important;
  margin-left: 37px !important;
  margin-top: -4px !important;
  color: #aaa !important;
  font-size: 8px !important;
  line-height: normal !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.search-area {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
}
.search-area input { width: 275px !important; height: 25px !important; }
.search-area select,
.search-area button { height: 25px !important; }

/* Mantém os botões atuais funcionais, apenas usando a aparência do menu antigo. */
.topnav {
  display: flex !important;
  gap: 0 !important;
  padding-left: 12px !important;
  background: linear-gradient(#3d3d3f,#111 50%,#242426) !important;
  border-top: 1px solid #555 !important;
}
.topnav button {
  padding: 8px 14px !important;
  color: #fff !important;
  font-weight: bold !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
}
.topnav button:hover,
.topnav button.active {
  color: #000 !important;
  background: linear-gradient(#fff,#aaa) !important;
}

/* Seção Girlfriend igual à versão antiga: compacta e sem altura artificial. */
.left-column > .girlfriend-widget,
.girlfriend-widget {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
  text-align: left !important;
  overflow: hidden !important;
}

.girlfriend-widget > h2 {
  margin: 0 !important;
  text-align: left !important;
}

.girlfriend-widget .girlfriend-blinkie-link {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 9px 6px !important;
  padding: 0 !important;
  line-height: 0 !important;
  vertical-align: top !important;
}

.girlfriend-widget .girlfriend-blinkie {
  display: block !important;
  width: 88px !important;
  height: 31px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: contain !important;
}

/* =========================================================
   V9 — LOGO COM TIPOGRAFIA DA VERSÃO ANTIGA
   Apenas o bloco da logo foi ajustado.
   ========================================================= */
.brand-row {
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 7px 14px !important;
}

.myspace-logo {
  position: relative !important;
  width: 250px !important;
  min-width: 250px !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.people-icon {
  display: inline-block !important;
  margin-right: 5px !important;
  color: #fff !important;
  font-size: 17px !important;
  line-height: normal !important;
  letter-spacing: -6px !important;
  background: none !important;
  transform: none !important;
}

.myspace-logo strong {
  display: inline !important;
  margin: 0 !important;
  font-size: 25px !important;
  line-height: normal !important;
  letter-spacing: -1px !important;
}

.myspace-logo small {
  display: block !important;
  margin-left: 37px !important;
  margin-top: -4px !important;
  color: #aaa !important;
  font-size: 10px !important;
  line-height: normal !important;
  text-align: left !important;
  white-space: nowrap !important;
}


/* =========================================================
   MEL — GALERIA DA CADELA
   ========================================================= */
#page-dog .dog-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

#page-dog .dog-strip img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

@media (max-width: 680px) {
  #page-dog .dog-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
   MOBILE FIX — 2026-08-09
   Mantém desktop intacto e reorganiza o site em telas pequenas.
   ========================================================= */
@media (max-width: 680px) {
  html, body { width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; }
  body { margin: 0 !important; padding: 0 !important; }
  .site-shell { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 6px !important; box-sizing: border-box !important; }
  .myspace-header, .profile-banner, .myspace-grid, .left-column, .main-column, .site-page, .card, .myspace-panel { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
  .header-main, .brand-row { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 8px !important; height: auto !important; }
  .fake-logo, .myspace-logo { width: 100% !important; min-width: 0 !important; }
  .header-search, .search-area { width: 100% !important; min-width: 0 !important; display: grid !important; grid-template-columns: minmax(0,1fr) auto !important; gap: 4px !important; }
  .header-search input, .search-area input { min-width: 0 !important; width: 100% !important; box-sizing: border-box !important; }
  .header-search span, .search-area .help-links { grid-column: 1 / -1 !important; }
  .top-navigation, .topnav { display: flex !important; flex-wrap: wrap !important; width: 100% !important; height: auto !important; }
  .top-navigation button, .topnav button, .topnav a { flex: 1 1 auto !important; min-width: 0 !important; }
  .myspace-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; width: 100% !important; }
  .left-column, .main-column { width: 100% !important; }
  .contact-buttons { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .section-info-grid { grid-template-columns: 1fr !important; }
  .gallery-grid, #page-dog .dog-strip, .games-grid, .album-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; width: 100% !important; }
  .gallery-grid img, #page-dog .dog-strip img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; min-width: 0 !important; }
  img, video, iframe { max-width: 100% !important; }
  table { width: 100% !important; table-layout: fixed !important; }
  td, th { overflow-wrap: anywhere !important; }
}

@media (max-width: 390px) {
  .site-shell { padding-left: 3px !important; padding-right: 3px !important; }
  .contact-buttons { grid-template-columns: 1fr !important; }
}

/* =========================================================
   MOBILE V2 — ANDROID/CHROME FIX
   Corrige reflow, zoom de texto e cabeçalho sem alterar desktop.
   ========================================================= */
@media screen and (max-width: 680px) {
  html {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    font-size: 12px !important;
  }

  .site-shell,
  .myspace-shell {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    overflow: hidden !important;
  }

  /* Cabeçalho compacto: logo, busca e navegação não se atropelam. */
  .brand-row,
  .header-main {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 9px 10px 7px !important;
    display: block !important;
  }

  .myspace-logo,
  .fake-logo {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    margin: 0 auto 8px !important;
    text-align: left !important;
  }

  .myspace-logo strong,
  .fake-logo strong {
    font-size: 25px !important;
    line-height: 1 !important;
  }

  .myspace-logo small,
  .fake-logo small {
    margin-left: 37px !important;
    margin-top: -3px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .search-area,
  .header-search {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 82px 64px !important;
    gap: 4px !important;
    align-items: center !important;
  }

  .search-area input,
  .header-search input {
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 30px !important;
  }

  .search-area select,
  .header-search select {
    grid-column: 2 !important;
    width: 82px !important;
    min-width: 0 !important;
    height: 30px !important;
  }

  .search-area button,
  .header-search button {
    grid-column: 3 !important;
    width: 64px !important;
    min-width: 0 !important;
    height: 30px !important;
  }

  .search-area .help-links,
  .header-search > span {
    grid-column: 1 / -1 !important;
    display: block !important;
    margin: 1px 0 0 !important;
    text-align: right !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
  }

  /* Uma linha rolável é mais estável no Chrome Android que flex-wrap. */
  .topnav,
  .top-navigation {
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
  }

  .topnav::-webkit-scrollbar,
  .top-navigation::-webkit-scrollbar { display: none !important; }

  .topnav button,
  .top-navigation button,
  .topnav a {
    flex: 0 0 auto !important;
    min-width: auto !important;
    padding: 9px 13px !important;
    font-size: 12px !important;
  }

  .profile-banner {
    width: calc(100% - 12px) !important;
    height: 115px !important;
    margin: 7px 6px 9px !important;
    background-position: center center !important;
  }

  .profile-banner-copy,
  .banner-title {
    right: 12px !important;
    top: 18px !important;
    padding: 0 !important;
  }

  .profile-banner h1,
  .banner-title h1 { font-size: 42px !important; }
  .profile-banner p,
  .banner-title p { font-size: 17px !important; }

  /* Toda a estrutura vira uma única coluna de verdade. */
  .myspace-grid,
  .myspace-layout {
    width: 100% !important;
    display: block !important;
    padding: 0 7px 12px !important;
  }

  .left-column,
  .profile-column,
  .main-column,
  .right-column {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* Perfil mantém aparência de MySpace sem ficar gigante. */
  .profile-summary-grid,
  .intro-grid {
    display: grid !important;
    grid-template-columns: minmax(125px, 42%) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
  }

  .profile-summary-grid > img,
  .intro-grid > img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  .profile-summary-grid p,
  .intro-grid p {
    margin-top: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .myspace-panel,
  .widget,
  .card,
  .profile-summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .contact-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .contact-buttons button,
  .contact-buttons a {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 12px !important;
  }

  .interests-panel dl {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  /* Conteúdo interno não pode forçar a viewport. */
  .about-grid,
  .section-context-body,
  .section-info-grid,
  .vinyl-hero,
  .vinyl-post,
  .relationship-grid,
  .friend-grid,
  .mini-friends {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .about-grid {
    grid-template-columns: 92px minmax(0,1fr) !important;
    gap: 9px !important;
  }

  .about-grid img { width: 92px !important; height: 92px !important; }

  .gallery-grid,
  #page-dog .dog-strip,
  .games-grid,
  .album-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  .game-tile,
  .media-card,
  .gallery-grid > *,
  #page-dog .dog-strip > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .gallery-grid img,
  #page-dog .dog-strip img,
  .game-tile img,
  .media-card img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }

  .setup-table,
  table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  td, th {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .player-viewport,
  .track-screen,
  .player-controls,
  .volume-control,
  .player-eq-row,
  .status-eq-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .player-art {
    width: 100% !important;
    height: auto !important;
    max-height: 240px !important;
    object-fit: cover !important;
  }

  .gallery-lightbox-image {
    max-width: 94vw !important;
    max-height: 82vh !important;
    width: auto !important;
    height: auto !important;
  }
}

@media screen and (max-width: 420px) {
  .profile-summary-grid,
  .intro-grid {
    grid-template-columns: minmax(112px, 40%) minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  .contact-buttons { grid-template-columns: 1fr 1fr !important; }
  .topnav button,
  .top-navigation button,
  .topnav a { padding: 9px 11px !important; }
}

@media screen and (max-width: 340px) {
  .profile-summary-grid,
  .intro-grid { grid-template-columns: 1fr !important; }
  .profile-summary-grid > img,
  .intro-grid > img { max-width: 210px !important; }
  .contact-buttons { grid-template-columns: 1fr !important; }
  .gallery-grid,
  #page-dog .dog-strip,
  .games-grid,
  .album-grid { grid-template-columns: 1fr !important; }
}
