Files
LihonT/src/web/md3-theme.css
cheb0chik ce1d870d54 LihonT 2 Luna beta: source release
Mod for TikTok 47.1.3 (arm64) in Material 3 style: bottom bar, profile menu, TikTok settings and
comments; downloads without the watermark; switches for ads, live streams and the Shop tab; badges of
other mods next to names and the niche mod badge (members service); app icons; mod settings screen.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 20:32:13 +03:00

860 lines
17 KiB
CSS

/* LihonT Material Design 3 Expressive Theme */
:root {
--md-sys-color-background: #141218;
--md-sys-color-on-background: #e6e0e9;
--md-sys-color-surface: #1d1b20;
--md-sys-color-on-surface: #e6e0e9;
--md-sys-color-surface-container-lowest: #0f0d13;
--md-sys-color-surface-container-low: #1d1b20;
--md-sys-color-surface-container: #211f26;
--md-sys-color-surface-container-high: #2b2930;
--md-sys-color-surface-container-highest: #36343b;
--md-sys-color-on-surface-variant: #cac4d0;
--md-sys-color-primary: #d0bcff;
--md-sys-color-on-primary: #381e72;
--md-sys-color-primary-container: #4f378b;
--md-sys-color-on-primary-container: #eaddff;
--md-sys-color-secondary: #ccc2dc;
--md-sys-color-on-secondary: #332d41;
--md-sys-color-secondary-container: #4a4458;
--md-sys-color-on-secondary-container: #e8def8;
--md-sys-color-tertiary: #efb8c8;
--md-sys-color-on-tertiary: #492532;
--md-sys-color-tertiary-container: #633b48;
--md-sys-color-on-tertiary-container: #ffd8e4;
--md-sys-color-error: #f2b8b5;
--md-sys-color-on-error: #601410;
--md-sys-color-error-container: #8c1d18;
--md-sys-color-on-error-container: #f9dedc;
--md-sys-color-outline: #938f99;
--md-sys-color-outline-variant: #49454f;
--md-sys-shape-corner-extra-large: 28px;
--md-sys-shape-corner-large: 16px;
--md-sys-shape-corner-medium: 12px;
--md-sys-shape-corner-small: 8px;
--md-sys-shape-corner-full: 9999px;
--font-family: -apple-system, BlinkMacSystemFont, "Google Sans", "Segoe UI", Roboto, sans-serif;
}
/* Base reset */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
color-scheme: dark;
}
body {
background-color: var(--md-sys-color-background);
color: var(--md-sys-color-on-surface);
font-family: var(--font-family);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
position: relative;
min-height: 100vh;
}
/* Background Ambient Glows & Flowers */
.ambient-glow-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
z-index: 0;
overflow: hidden;
}
.ambient-blob {
position: absolute;
border-radius: 50%;
filter: blur(120px);
opacity: 0.18;
pointer-events: none;
}
.ambient-blob-1 {
width: 500px;
height: 500px;
top: -150px;
left: 10%;
background: radial-gradient(circle, #8553f2, #4f378b);
}
.ambient-blob-2 {
width: 450px;
height: 450px;
top: 30%;
right: -100px;
background: radial-gradient(circle, #efb8c8, #633b48);
}
.ambient-blob-3 {
width: 400px;
height: 400px;
bottom: 10%;
left: -80px;
background: radial-gradient(circle, #70b0ff, #294677);
}
/* Decorative floating flower SVGs in the background */
.floating-flower {
position: absolute;
color: #d0bcff;
opacity: 0.05;
pointer-events: none;
animation: floatSlow 24s ease-in-out infinite alternate;
}
@keyframes floatSlow {
0% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-25px) rotate(180deg); }
100% { transform: translateY(0) rotate(360deg); }
}
.container {
width: 100%;
max-width: 1120px;
margin-inline: auto;
padding-inline: 24px;
position: relative;
z-index: 1;
}
/* Top App Bar */
.top-app-bar {
position: sticky;
top: 0;
z-index: 100;
background: rgba(20, 18, 24, 0.82);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
padding: 12px 0;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.top-bar-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: var(--md-sys-color-on-surface);
font-weight: 700;
font-size: 20px;
letter-spacing: -0.3px;
}
.brand-badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 3px 8px;
border-radius: var(--md-sys-shape-corner-full);
background-color: var(--md-sys-color-primary-container);
color: var(--md-sys-color-on-primary-container);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.5px;
}
.nav-links {
display: flex;
align-items: center;
gap: 8px;
}
.nav-link {
color: var(--md-sys-color-on-surface-variant);
text-decoration: none;
font-size: 14px;
font-weight: 500;
padding: 8px 14px;
border-radius: var(--md-sys-shape-corner-full);
transition: all 0.2s ease;
}
.nav-link:hover {
color: var(--md-sys-color-primary);
background-color: rgba(208, 188, 255, 0.08);
}
.nav-link.active {
color: var(--md-sys-color-on-secondary-container);
background-color: var(--md-sys-color-secondary-container);
}
.top-actions {
display: flex;
align-items: center;
gap: 10px;
}
/* Material 3 Scalloped Flower Badge ("Цветочки") */
.flower-badge-wrapper {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.flower-badge-shape {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
pointer-events: none;
}
.flower-badge-icon {
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
}
.flower-badge-icon svg {
width: 52%;
height: 52%;
fill: currentColor;
}
/* Flower color themes */
.flower-primary {
color: var(--md-sys-color-primary-container);
}
.flower-primary .flower-badge-icon {
color: var(--md-sys-color-on-primary-container);
}
.flower-secondary {
color: #384b66;
}
.flower-secondary .flower-badge-icon {
color: #cfe5ff;
}
.flower-tertiary {
color: var(--md-sys-color-tertiary-container);
}
.flower-tertiary .flower-badge-icon {
color: var(--md-sys-color-on-tertiary-container);
}
.flower-gold {
color: #634f19;
}
.flower-gold .flower-badge-icon {
color: #ffdf9e;
}
.flower-green {
color: #245233;
}
.flower-green .flower-badge-icon {
color: #bbf2c8;
}
/* MD3 Buttons */
.md3-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 24px;
border-radius: var(--md-sys-shape-corner-full);
font-family: inherit;
font-size: 14px;
font-weight: 600;
text-decoration: none;
cursor: pointer;
border: none;
outline: none;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
}
.md3-btn:active {
transform: scale(0.97);
}
.md3-btn-filled {
background-color: var(--md-sys-color-primary);
color: var(--md-sys-color-on-primary);
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.md3-btn-filled:hover {
background-color: #dfceff;
box-shadow: 0 4px 12px rgba(208, 188, 255, 0.25);
transform: translateY(-1px);
}
.md3-btn-tonal {
background-color: var(--md-sys-color-secondary-container);
color: var(--md-sys-color-on-secondary-container);
}
.md3-btn-tonal:hover {
background-color: #565064;
transform: translateY(-1px);
}
.md3-btn-outlined {
background: transparent;
color: var(--md-sys-color-primary);
border: 1px solid var(--md-sys-color-outline-variant);
}
.md3-btn-outlined:hover {
background-color: rgba(208, 188, 255, 0.08);
border-color: var(--md-sys-color-primary);
}
.md3-btn-tertiary {
background-color: var(--md-sys-color-tertiary-container);
color: var(--md-sys-color-on-tertiary-container);
}
.md3-btn-tertiary:hover {
background-color: #744555;
transform: translateY(-1px);
}
.md3-btn-small {
padding: 8px 16px;
font-size: 13px;
}
.md3-btn-large {
padding: 16px 32px;
font-size: 16px;
font-weight: 700;
}
/* MD3 Cards */
.md3-card {
background-color: var(--md-sys-color-surface-container);
border-radius: var(--md-sys-shape-corner-extra-large);
border: 1px solid rgba(255, 255, 255, 0.05);
padding: 28px;
position: relative;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
}
.md3-card-high {
background-color: var(--md-sys-color-surface-container-high);
}
.md3-card-highest {
background-color: var(--md-sys-color-surface-container-highest);
}
.md3-card:hover {
border-color: rgba(208, 188, 255, 0.2);
transform: translateY(-2px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
/* Eyebrows & Badges */
.md3-eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--md-sys-color-primary);
margin-bottom: 12px;
}
.md3-chip {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: var(--md-sys-shape-corner-full);
background-color: var(--md-sys-color-surface-container-highest);
color: var(--md-sys-color-on-surface);
font-size: 13px;
font-weight: 500;
border: 1px solid var(--md-sys-color-outline-variant);
}
.md3-chip-primary {
background-color: var(--md-sys-color-primary-container);
color: var(--md-sys-color-on-primary-container);
border-color: transparent;
}
.md3-chip-tertiary {
background-color: var(--md-sys-color-tertiary-container);
color: var(--md-sys-color-on-tertiary-container);
border-color: transparent;
}
/* Hero Section */
.hero-section {
padding: 60px 0 80px;
display: grid;
grid-template-columns: 1.15fr 0.85fr;
align-items: center;
gap: 48px;
}
.hero-title {
font-size: clamp(38px, 5.5vw, 62px);
font-weight: 800;
line-height: 1.08;
letter-spacing: -1.5px;
margin-bottom: 20px;
}
.gradient-primary {
background: linear-gradient(135deg, #d0bcff 0%, #efb8c8 50%, #9ecaff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-sub {
font-size: clamp(16px, 2vw, 19px);
color: var(--md-sys-color-on-surface-variant);
line-height: 1.6;
margin-bottom: 32px;
max-width: 580px;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
margin-bottom: 32px;
}
.hero-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
/* Interactive Settings Card Preview in Hero */
.hero-preview-wrapper {
position: relative;
}
.hero-preview-card {
background: var(--md-sys-color-surface-container);
border-radius: var(--md-sys-shape-corner-extra-large);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
overflow: hidden;
position: relative;
}
.preview-header {
padding: 18px 22px;
background: var(--md-sys-color-surface-container-high);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
display: flex;
align-items: center;
justify-content: space-between;
}
.preview-body {
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
}
.preview-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 14px;
border-radius: var(--md-sys-shape-corner-large);
background: var(--md-sys-color-surface-container-high);
transition: all 0.2s ease;
}
.preview-item:hover {
background: var(--md-sys-color-surface-container-highest);
}
.preview-item-left {
display: flex;
align-items: center;
gap: 14px;
}
/* Spotlight Card for LihonT 2.0 */
.spotlight-card {
background: linear-gradient(135deg, rgba(79, 55, 139, 0.35) 0%, rgba(33, 31, 38, 0.95) 70%);
border: 1px solid rgba(208, 188, 255, 0.25);
border-radius: var(--md-sys-shape-corner-extra-large);
padding: 36px;
margin-bottom: 60px;
position: relative;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.spotlight-inner {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 28px;
}
/* Versions Grid */
.section-title-wrap {
text-align: center;
max-width: 680px;
margin-inline: auto;
margin-bottom: 48px;
}
.section-title {
font-size: clamp(28px, 4vw, 42px);
font-weight: 800;
letter-spacing: -1px;
margin-bottom: 12px;
}
.section-desc {
font-size: 16px;
color: var(--md-sys-color-on-surface-variant);
}
.editions-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 24px;
margin-bottom: 64px;
}
.edition-card {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.edition-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 20px;
}
.edition-meta {
display: flex;
flex-direction: column;
}
.edition-name {
font-size: 24px;
font-weight: 700;
}
.features-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 12px;
margin: 20px 0;
}
.features-list li {
display: flex;
align-items: flex-start;
gap: 10px;
font-size: 14px;
color: var(--md-sys-color-on-surface-variant);
line-height: 1.5;
}
.features-list li svg {
width: 18px;
height: 18px;
color: var(--md-sys-color-primary);
flex-shrink: 0;
margin-top: 2px;
}
.download-options {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 24px;
}
.download-btn-card {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-radius: var(--md-sys-shape-corner-large);
background-color: var(--md-sys-color-surface-container-high);
text-decoration: none;
color: var(--md-sys-color-on-surface);
transition: all 0.2s ease;
border: 1px solid rgba(255, 255, 255, 0.04);
}
.download-btn-card:hover {
background-color: var(--md-sys-color-surface-container-highest);
border-color: rgba(208, 188, 255, 0.25);
transform: translateY(-1px);
}
.pkg-code {
font-family: monospace;
font-size: 11px;
color: var(--md-sys-color-outline);
margin-top: 2px;
}
/* Features Grid */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-bottom: 72px;
}
.feature-box {
padding: 24px;
display: flex;
flex-direction: column;
gap: 14px;
}
.feature-box h3 {
font-size: 18px;
font-weight: 700;
color: var(--md-sys-color-on-surface);
}
.feature-box p {
font-size: 14px;
color: var(--md-sys-color-on-surface-variant);
line-height: 1.6;
}
/* Comments Demo */
.community-section {
margin-bottom: 80px;
}
.comments-demo-card {
max-width: 580px;
margin-inline: auto;
background-color: #121212;
border-radius: 24px;
padding: 20px;
border: 1px solid rgba(255, 255, 255, 0.08);
}
.comment-row {
display: flex;
gap: 12px;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.comment-row:last-child {
border-bottom: none;
}
.comment-avatar {
width: 38px;
height: 38px;
border-radius: 50%;
background: #332d41;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 15px;
color: #fff;
flex-shrink: 0;
}
.comment-content {
flex: 1;
}
.comment-author {
font-size: 13px;
font-weight: 700;
color: #fff;
display: flex;
align-items: center;
gap: 6px;
}
.comment-text {
font-size: 14px;
color: #e1e1e1;
margin-top: 3px;
}
.comment-meta {
font-size: 11px;
color: #888;
margin-top: 4px;
}
/* FAQ Details/Accordion */
.faq-grid {
display: flex;
flex-direction: column;
gap: 12px;
max-width: 820px;
margin-inline: auto;
margin-bottom: 80px;
}
.faq-item {
background-color: var(--md-sys-color-surface-container);
border-radius: var(--md-sys-shape-corner-large);
border: 1px solid rgba(255, 255, 255, 0.04);
overflow: hidden;
transition: all 0.2s ease;
}
.faq-item[open] {
background-color: var(--md-sys-color-surface-container-high);
border-color: rgba(208, 188, 255, 0.15);
}
.faq-summary {
padding: 18px 24px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: space-between;
list-style: none;
user-select: none;
}
.faq-summary::-webkit-details-marker {
display: none;
}
.faq-chevron {
width: 20px;
height: 20px;
transition: transform 0.25s ease;
color: var(--md-sys-color-primary);
}
.faq-item[open] .faq-chevron {
transform: rotate(180deg);
}
.faq-answer {
padding: 0 24px 20px;
font-size: 14px;
line-height: 1.7;
color: var(--md-sys-color-on-surface-variant);
}
/* Footer */
.site-footer {
border-top: 1px solid rgba(255, 255, 255, 0.06);
padding: 48px 0 32px;
background-color: var(--md-sys-color-surface-container-lowest);
font-size: 13px;
color: var(--md-sys-color-outline);
}
.footer-top {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-bottom: 24px;
}
.footer-links {
display: flex;
gap: 20px;
}
.footer-links a {
color: var(--md-sys-color-on-surface-variant);
text-decoration: none;
}
.footer-links a:hover {
color: var(--md-sys-color-primary);
}
.footer-bottom {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.04);
padding-top: 20px;
}
/* Responsive adjustments */
@media (max-width: 900px) {
.hero-section {
grid-template-columns: 1fr;
text-align: center;
gap: 36px;
}
.hero-sub {
margin-inline: auto;
}
.hero-actions {
justify-content: center;
}
.hero-chips {
justify-content: center;
}
.spotlight-inner {
grid-template-columns: 1fr;
text-align: center;
}
.spotlight-inner .flower-badge-wrapper {
margin-inline: auto;
}
.nav-links {
display: none;
}
}