/* Stub notice - Tailwind-inspired styles with light/dark mode */
.stub-notice {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
margin: 16px 0;
border-radius: 8px;
border-left: 4px solid #f59e0b;
background: linear-gradient(to right, #fffbeb, #fef3c7);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
font-size: 14px;
line-height: 1.5;
}
.stub-notice-icon {
flex-shrink: 0;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
background-color: #fef3c7;
border-radius: 50%;
font-size: 14px;
}
.stub-notice-content {
flex: 1;
color: #92400e;
}
.stub-notice-content strong {
color: #78350f;
font-weight: 600;
}
.stub-notice-content a {
color: #b45309;
text-decoration: underline;
}
.stub-notice-content a:hover {
color: #92400e;
}
/* ===== DARK MODE - User preference ===== */
html.skin-theme-clientpref-night .stub-notice {
background: linear-gradient(to right, #422006, #451a03);
border-left-color: #f59e0b;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
html.skin-theme-clientpref-night .stub-notice-icon {
background-color: #78350f;
}
html.skin-theme-clientpref-night .stub-notice-content {
color: #fcd34d;
}
html.skin-theme-clientpref-night .stub-notice-content strong {
color: #fde68a;
}
html.skin-theme-clientpref-night .stub-notice-content a {
color: #fbbf24;
}
html.skin-theme-clientpref-night .stub-notice-content a:hover {
color: #fcd34d;
}
/* ===== DARK MODE - OS preference ===== */
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .stub-notice {
background: linear-gradient(to right, #422006, #451a03);
border-left-color: #f59e0b;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
html.skin-theme-clientpref-os .stub-notice-icon {
background-color: #78350f;
}
html.skin-theme-clientpref-os .stub-notice-content {
color: #fcd34d;
}
html.skin-theme-clientpref-os .stub-notice-content strong {
color: #fde68a;
}
html.skin-theme-clientpref-os .stub-notice-content a {
color: #fbbf24;
}
html.skin-theme-clientpref-os .stub-notice-content a:hover {
color: #fcd34d;
}
}