/* Androdom Meta Tag & Open Graph Preview Upgraded Stylesheet */

:root {
  --bg-main: #030712;
  --bg-panel: #0b0f19;
  --bg-card: rgba(255, 255, 255, 0.02);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent-color: #6366f1;
  --accent-hover: #4f46e5;
  --success-color: #10b981;
  --success-hover: #059669;
  --navbar-height: 56px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.6;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background Glow */
.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(3, 7, 18, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Navbar */
.navbar {
  height: var(--navbar-height);
  border-bottom: 1px solid var(--border-color);
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 100;
  flex-shrink: 0;
}

.navbar-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon-wrapper {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.brand-link:hover .brand-icon-wrapper {
  color: var(--accent-hover);
}

.brand-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.brand-text-accent {
  color: var(--accent-color);
}

.brand-link:hover .brand-text {
  color: #fff;
}

.tool-pill-wrapper {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.tool-pill-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .tool-pill-label {
    display: none;
  }
}

.tool-pill-nav {
  display: flex;
  align-items: center;
}

.tool-pill-active {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(99, 102, 241, 0.2);
  text-decoration: none;
}

.right-cluster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.portal-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.github-link {
  display: flex;
  align-items: center;
  padding: 0.375rem;
  border-radius: 0.375rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
}

.github-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Workspace Layout */
.workspace {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.workspace-layout {
  display: flex;
  height: 100%;
  width: 100%;
}

/* Sidebar Settings (Fixed) */
.sidebar {
  width: 340px;
  border-right: 1px solid var(--border-color);
  background: var(--bg-panel);
  flex-shrink: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.settings-group {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.settings-group h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

/* Preset Buttons Grid */
.preset-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.preset-buttons .btn-sm {
  padding: 0.4rem 0.5rem;
  font-size: 0.78rem;
  text-align: center;
}

/* Inputs & Form Controls */
.control-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.control-row label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.length-badge {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.length-badge.success {
  color: #10b981;
}

.length-badge.warning {
  color: #f59e0b;
}

.length-badge.error {
  color: #ef4444;
}

input[type="text"], input[type="url"], input[type="number"], textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  padding: 0.55rem 0.75rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s;
}

input:focus, textarea:focus {
  border-color: var(--accent-color);
}

textarea {
  resize: vertical;
}

.select-wrapper {
  position: relative;
}

select {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  appearance: none;
  cursor: pointer;
  outline: none;
}

select option {
  background-color: #0b0f19;
  color: var(--text-primary);
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-top-color: var(--text-muted);
  pointer-events: none;
}

/* YouTube Simulator Fields - Hidden/Collapsible styling */
#youtube-fields.hidden {
  display: none;
}

/* Viewport Device Toggle bar */
.device-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.device-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.device-selectors {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  padding: 0.15rem;
}

.device-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.device-btn.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Device simulation styling */
#device-wrapper {
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  min-height: 400px;
}

#device-wrapper.device-mobile {
  max-width: 375px;
  margin: 0 auto;
  border: 10px solid #2d3139;
  border-radius: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  height: 650px;
  overflow-y: auto;
  background: #18191a;
}

#device-wrapper.device-desktop {
  max-width: 100%;
}

/* Content Area (Scrollable) */
.content-area {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  position: relative;
}

.output-container {
  padding: 2rem;
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* Top bar navigation */
.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tab-selectors {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.25rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Previews Wrapper */
.platform-preview-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-preview-card.hidden {
  display: none;
}

/* --- GOOGLE PREVIEW CARD --- */
.google-card {
  background: #171717; /* Google Dark SERP color */
}

.serp-preview {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.serp-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.serp-fav {
  display: flex;
  align-items: center;
}

.serp-breadcrumbs {
  font-size: 0.75rem;
  color: #bdc1c6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.serp-chevron {
  margin: 0 0.15rem;
}

.serp-title {
  color: #8ab4f8; /* SERP Dark blue/blue link */
  font-size: 1.25rem;
  line-height: 1.3;
  text-decoration: none;
  font-weight: 400;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.serp-title:hover {
  text-decoration: underline;
}

.serp-snippet {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #bdc1c6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- FACEBOOK PREVIEW CARD --- */
.facebook-card {
  background: #18191a;
}

.fb-post-wrapper {
  max-width: 520px;
  width: 100%;
  background: #242526;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
}

.fb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.fb-user-info {
  display: flex;
  flex-direction: column;
}

.fb-username {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e4e6eb;
}

.fb-post-time {
  font-size: 0.72rem;
  color: #b0b3b8;
}

.fb-post-caption {
  font-size: 0.875rem;
  padding: 0 0.75rem 0.75rem;
  color: #e4e6eb;
}

.fb-link-card {
  border-top: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
}

.fb-image-container {
  width: 100%;
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  background: #18191a;
}

.fb-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-text-container {
  padding: 0.75rem;
  background: #242526;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.fb-site-name {
  font-size: 0.72rem;
  color: #b0b3b8;
  text-transform: uppercase;
}

.fb-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e4e6eb;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fb-card-desc {
  font-size: 0.8rem;
  color: #b0b3b8;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- TWITTER/X CARD PREVIEW --- */
.twitter-card {
  background: #000000;
}

.tw-post-wrapper {
  max-width: 500px;
  width: 100%;
}

.tw-post-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tw-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e11d48;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.tw-user-info {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.tw-username {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e7e9ea;
}

.tw-handle {
  font-size: 0.85rem;
  color: #71767b;
}

.tw-post-caption {
  font-size: 0.9rem;
  color: #e7e9ea;
  margin-bottom: 0.75rem;
}

/* Twitter Large card (Image on top, text bottom) */
.tw-card-large {
  border: 1px solid #2f3336;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.tw-card-large .tw-image-container {
  width: 100%;
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  background: #15181c;
  border-bottom: 1px solid #2f3336;
}

.tw-card-large .tw-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tw-card-large .tw-text-container {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tw-site-domain {
  font-size: 0.8rem;
  color: #71767b;
}

.tw-card-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e7e9ea;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tw-card-desc {
  font-size: 0.8rem;
  color: #71767b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Twitter Summary card (Small Thumbnail on Left, Text on Right) */
.tw-card-small {
  border: 1px solid #2f3336;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  height: 120px;
  cursor: pointer;
}

.tw-card-small .tw-image-container {
  width: 120px;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: #15181c;
  border-right: 1px solid #2f3336;
}

.tw-card-small .tw-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tw-card-small .tw-text-container {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}

/* --- LINKEDIN PREVIEW CARD --- */
.linkedin-card {
  background: #1d2226;
}

.li-post-wrapper {
  max-width: 520px;
  width: 100%;
  background: #1d2226;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.li-post-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
}

.li-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0077b5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.li-user-info {
  display: flex;
  flex-direction: column;
}

.li-username {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.li-headline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.li-time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.li-post-caption {
  font-size: 0.875rem;
  padding: 0 0.75rem 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.li-link-card {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.li-image-container {
  width: 100%;
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  background: #121619;
}

.li-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.li-text-container {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.li-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.li-site-domain {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: lowercase;
}

/* --- YOUTUBE PREVIEW CARD --- */
.youtube-card {
  background: #0f0f0f;
}

.yt-card-wrapper {
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
}

.yt-thumbnail-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #212121;
}

.yt-thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 3px 6px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 4px;
}

.yt-progress-bar-sim {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: #ff0000;
}

.yt-details-container {
  display: flex;
  gap: 0.75rem;
  padding: 0 4px;
}

.yt-channel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff0000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.yt-text-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.yt-video-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f1f1;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-channel-name {
  font-size: 0.78rem;
  color: #aaaaaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-stats {
  font-size: 0.78rem;
  color: #aaaaaa;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- CODE EXPORT TAB --- */
.code-export-container {
  background: #02040a;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.code-export-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
}

.code-format-selectors {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0.25rem;
  padding: 0.15rem;
}

.code-format-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 0.2rem;
  cursor: pointer;
}

.code-format-btn.active {
  background: var(--accent-color);
  color: #fff;
}

.code-output-view pre {
  margin: 0;
  padding: 1.5rem;
  max-height: 320px;
  overflow-y: auto;
}

.code-output-view code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #a5b4fc;
  white-space: pre-wrap;
  word-break: break-all;
}

/* --- SEO AUDIT PANEL --- */
.seo-audit-panel {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.seo-score-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

/* Circular Chart gauge */
.seo-score-gauge {
  width: 90px;
  height: 90px;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke: var(--accent-color);
  transition: stroke-dasharray 0.35s ease;
}

.percentage {
  fill: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-anchor: middle;
}

.seo-score-details h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.seo-score-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.seo-checklist h3 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.checklist-item.pass {
  color: var(--text-primary);
}

.checklist-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist-icon.pass {
  color: var(--success-color);
}

.checklist-icon.fail {
  color: #ef4444;
}

/* Bottom Sponsor Container */
.bottom-sponsor-container {
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.sponsor-notice-text {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sponsor-banner-placeholder {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-banner-placeholder span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* Common Footer */
.footer {
  text-align: center;
  padding: 1.25rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  background: var(--bg-main);
  width: 100%;
  z-index: 10;
  flex-shrink: 0;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer container {
  display: block;
}

/* Responsive Rules */
@media (max-width: 768px) {
  body {
    height: auto;
    overflow-y: auto;
  }
  
  .workspace-layout {
    flex-direction: column;
    height: auto;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .content-area {
    overflow-y: visible;
  }
  
  .sponsor-banner-placeholder {
    height: 60px;
  }
}
