Template:Mystic Style/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Transferring Gatekeep style make a more general use style sheet setup. |
WAAAAAAAAAA |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; |
font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; |
||
} |
} |
||
.m-page * { box-sizing: border-box; } |
.m-page, .m-page *, .m-header, .m-header *, .m-grid, .m-grid *, .m-intro { box-sizing: border-box; } |
||
.m-page { |
.m-page { |
||
padding: 1.25rem; border: 1px solid var(--m-border); line-height: 1.7; |
padding: 1.25rem; border: 1px solid var(--m-border); line-height: 1.7; |
||
| Line 22: | Line 22: | ||
box-shadow: 0 0 24px rgba(216,52,79,.15), inset 0 0 40px rgba(0,0,0,.6); } |
box-shadow: 0 0 24px rgba(216,52,79,.15), inset 0 0 40px rgba(0,0,0,.6); } |
||
/* Star layers: three tiles drifting at different speeds and fading in and out |
/* Star layers: three tiles drifting at different speeds and fading in and out. |
||
Each layer is one tile larger than the header and slides with transform, which the browser can move without repainting. */ |
|||
.m-header::before, .m-header::after, .m-header-stars { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none; } |
.m-header::before, .m-header::after, .m-header-stars { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none; } |
||
.m-header::before { left: -180px; bottom: -180px; } |
|||
.m-header::after { left: -260px; bottom: -260px; } |
|||
.m-header-stars { left: -340px; bottom: -340px; } |
|||
.m-header::before { |
.m-header::before { |
||
background-image: |
background-image: |
||
| Line 33: | Line 37: | ||
radial-gradient(circle at 170px 160px, #ff5c74 0, #ff5c74 1px, transparent 1.5px); |
radial-gradient(circle at 170px 160px, #ff5c74 0, #ff5c74 1px, transparent 1.5px); |
||
background-size: 180px 180px; |
background-size: 180px 180px; |
||
animation: m-drift-1 |
animation: m-drift-1 140s linear infinite, m-twinkle 6s ease-in-out infinite; |
||
} |
} |
||
.m-header::after { |
.m-header::after { |
||
| Line 43: | Line 47: | ||
radial-gradient(circle at 20px 230px, #ffb3be 0, #ff5c74 1px, rgba(255,92,116,.35) 2px, transparent 3.5px); |
radial-gradient(circle at 20px 230px, #ffb3be 0, #ff5c74 1px, rgba(255,92,116,.35) 2px, transparent 3.5px); |
||
background-size: 260px 260px; |
background-size: 260px 260px; |
||
animation: m-drift-2 |
animation: m-drift-2 220s linear infinite, m-twinkle 9s ease-in-out -3s infinite; |
||
} |
} |
||
.m-header-stars { |
.m-header-stars { |
||
| Line 52: | Line 56: | ||
radial-gradient(circle at 170px 50px, #ffd0d7 0, #ff5c74 1.5px, rgba(216,52,79,.3) 4px, transparent 7px); |
radial-gradient(circle at 170px 50px, #ffd0d7 0, #ff5c74 1.5px, rgba(216,52,79,.3) 4px, transparent 7px); |
||
background-size: 340px 340px; |
background-size: 340px 340px; |
||
animation: m-drift-3 |
animation: m-drift-3 320s linear infinite, m-twinkle 13s ease-in-out -6s infinite; |
||
} |
} |
||
| Line 61: | Line 65: | ||
border: 1px dotted rgba(255,92,116,.18); border-radius: 50%; } |
border: 1px dotted rgba(255,92,116,.18); border-radius: 50%; } |
||
.m-header-symbol { position: absolute; top: 1.2rem; right: 1.2rem; bottom: 1.2rem; left: 1.2rem; |
.m-header-symbol { position: absolute; top: 1.2rem; right: 1.2rem; bottom: 1.2rem; left: 1.2rem; |
||
opacity: .45 |
opacity: .45; animation: m-spin 50s linear infinite reverse; } |
||
.m-header-symbol span, .m-header-symbol a, .m-header-symbol img { display: block; width: 100%; height: 100%; max-width: none; } |
.m-header-symbol span, .m-header-symbol a, .m-header-symbol img { display: block; width: 100%; height: 100%; max-width: none; } |
||
/* Optional glow, switched on with {{Mystic Header|glow=yes}}. It is recalculated as the symbol turns, so it costs more on slower devices. */ |
|||
.m-header-symbol--glow { filter: drop-shadow(0 0 8px rgba(255,92,116,.8)); } |
|||
.m-header-eyebrow { color: var(--m-accent); font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; text-shadow: 0 0 8px rgba(255,92,116,.5); } |
.m-header-eyebrow { color: var(--m-accent); font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; text-shadow: 0 0 8px rgba(255,92,116,.5); } |
||
.m-header-title { margin: .3rem 0; padding-left: .28em; color: var(--m-heading); font-size: clamp(2rem, 6vw, 3rem); |
.m-header-title { position: relative; margin: .3rem 0; padding-left: .28em; color: var(--m-heading); font-size: clamp(2rem, 6vw, 3rem); |
||
letter-spacing: .28em; line-height: 1.15; text-transform: uppercase; |
letter-spacing: .28em; line-height: 1.15; text-transform: uppercase; |
||
| ⚫ | |||
/* Pulsing aura behind the title: only its opacity animates, so the text is never repainted */ |
|||
| ⚫ | |||
background: radial-gradient(ellipse at center, rgba(216,52,79,.3), transparent 70%); animation: m-pulse 6s ease-in-out infinite; } |
|||
.m-header-rule { position: relative; width: 10rem; height: 1px; margin: 1rem auto; |
.m-header-rule { position: relative; width: 10rem; height: 1px; margin: 1rem auto; |
||
background: linear-gradient(90deg, transparent 0, var(--m-accent-line) 38%, transparent 45%, transparent 55%, var(--m-accent-line) 62%, transparent 100%); |
background: linear-gradient(90deg, transparent 0, var(--m-accent-line) 38%, transparent 45%, transparent 55%, var(--m-accent-line) 62%, transparent 100%); |
||
| Line 72: | Line 82: | ||
.m-header-rule::before { content: "\25C6"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); |
.m-header-rule::before { content: "\25C6"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); |
||
color: var(--m-accent); font-size: .6rem; line-height: 1; text-shadow: 0 0 6px var(--m-accent); } |
color: var(--m-accent); font-size: .6rem; line-height: 1; text-shadow: 0 0 6px var(--m-accent); } |
||
.m-header-text { color: var(--m-muted); font-style: italic; } |
|||
/* Cards */ |
/* Cards */ |
||
.m-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } |
.m-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } |
||
.m-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 1.4rem 1.3rem; border: 1px solid var(--m-border); |
.m-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 1.4rem 1.3rem; border: 1px solid var(--m-border); |
||
background: linear-gradient(180deg, rgba(216,52,79,.06), transparent 40%), var(--m-panel); transition: border-color |
background: linear-gradient(180deg, rgba(216,52,79,.06), transparent 40%), var(--m-panel); transition: border-color .25s; } |
||
/* Hover glow: drawn once and faded in with opacity, instead of animating box-shadow */ |
|||
| ⚫ | |||
.m-card::before { content: ""; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; pointer-events: none; |
|||
| ⚫ | |||
box-shadow: 0 0 20px rgba(216,52,79,.22), inset 0 0 20px rgba(216,52,79,.08); opacity: 0; transition: opacity .25s; } |
|||
| ⚫ | |||
/* Lit top edge and corner ticks */ |
|||
.m-card::after { content: ""; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; pointer-events: none; |
.m-card::after { content: ""; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; pointer-events: none; |
||
background: |
background: |
||
| ⚫ | |||
linear-gradient(180deg, rgba(255,92,116,.22), transparent) top center / 80% 6px no-repeat, |
|||
linear-gradient(var(--m-accent-line), var(--m-accent-line)) top left / .8rem 1px no-repeat, |
linear-gradient(var(--m-accent-line), var(--m-accent-line)) top left / .8rem 1px no-repeat, |
||
linear-gradient(var(--m-accent-line), var(--m-accent-line)) top left / 1px .8rem no-repeat, |
linear-gradient(var(--m-accent-line), var(--m-accent-line)) top left / 1px .8rem no-repeat, |
||
| Line 90: | Line 104: | ||
linear-gradient(var(--m-accent-line), var(--m-accent-line)) bottom right / .8rem 1px no-repeat, |
linear-gradient(var(--m-accent-line), var(--m-accent-line)) bottom right / .8rem 1px no-repeat, |
||
linear-gradient(var(--m-accent-line), var(--m-accent-line)) bottom right / 1px .8rem no-repeat; } |
linear-gradient(var(--m-accent-line), var(--m-accent-line)) bottom right / 1px .8rem no-repeat; } |
||
.m-card:hover { border-color: var(--m-border-hover |
.m-card:hover { border-color: var(--m-border-hover); } |
||
| ⚫ | |||
.m-card-title { margin-bottom: .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--m-border); color: var(--m-heading); |
.m-card-title { margin-bottom: .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--m-border); color: var(--m-heading); |
||
font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; } |
font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; } |
||
| Line 106: | Line 119: | ||
.m-chips a.new { border-style: dashed; color: #7d6a70; font-style: italic; } |
.m-chips a.new { border-style: dashed; color: #7d6a70; font-style: italic; } |
||
/* "All [X]" buttons |
/* "All [X]" buttons */ |
||
.m-card-more { margin-top: auto; padding-top: 1.3rem; } |
.m-card-more { margin-top: auto; padding-top: 1.3rem; } |
||
.m-card-more a { display: inline-block; padding: .5rem 1.2rem; border: 1px solid var(--m-accent-line); background: rgba(216,52,79,.06); |
.m-card-more a { display: inline-block; padding: .5rem 1.2rem; border: 1px solid var(--m-accent-line); background: rgba(216,52,79,.06); |
||
| Line 121: | Line 134: | ||
/* Animations */ |
/* Animations */ |
||
@keyframes m-drift-1 { from { |
@keyframes m-drift-1 { from { transform: translate3d(0, 0, 0) rotate(.01deg); } to { transform: translate3d(180px, -180px, 0) rotate(.01deg); } } |
||
@keyframes m-drift-2 { from { |
@keyframes m-drift-2 { from { transform: translate3d(0, 0, 0) rotate(.01deg); } to { transform: translate3d(260px, -260px, 0) rotate(.01deg); } } |
||
@keyframes m-drift-3 { from { |
@keyframes m-drift-3 { from { transform: translate3d(0, 0, 0) rotate(.01deg); } to { transform: translate3d(340px, -340px, 0) rotate(.01deg); } } |
||
@keyframes m-twinkle { 0% { opacity: .15; } 50% { opacity: 1; } 100% { opacity: .15; } } |
@keyframes m-twinkle { 0% { opacity: .15; } 50% { opacity: 1; } 100% { opacity: .15; } } |
||
@keyframes m-spin { to { transform: rotate(360deg); } } |
@keyframes m-spin { to { transform: rotate(360deg); } } |
||
@keyframes m-pulse { |
@keyframes m-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } } |
||
0%, 100% { text-shadow: 0 0 10px rgba(255,92,116,.45), 0 0 28px rgba(216,52,79,.25); } |
|||
| ⚫ | |||
| ⚫ | |||
@keyframes m-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } } |
@keyframes m-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } } |
||
@media (max-width: 640px) { |
|||
| ⚫ | |||
| ⚫ | |||
.m-header { padding: 2.4rem 1rem; } |
|||
} |
|||
@media (prefers-reduced-motion: reduce) { |
|||
| ⚫ | |||
| ⚫ | |||
} |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
|||
/* Section pages: intro line, wide cards, sub-groups and unlinked tags */ |
/* Section pages: intro line, wide cards, sub-groups and unlinked tags */ |
||
| Line 156: | Line 152: | ||
.m-tags ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; } |
.m-tags ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; } |
||
.m-tags li { margin: 0; padding: .15rem .65rem; border: 1px solid var(--m-border); color: var(--m-muted); font-size: .85rem; font-style: italic; } |
.m-tags li { margin: 0; padding: .15rem .65rem; border: 1px solid var(--m-border); color: var(--m-muted); font-size: .85rem; font-style: italic; } |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
/* Small screens, reduced motion and print */ |
|||
@media (max-width: 640px) { |
@media (max-width: 640px) { |
||
.m- |
.m-page { padding: .8rem; } |
||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
@media (prefers-reduced-motion: reduce) { |
@media (prefers-reduced-motion: reduce) { |
||
| ⚫ | |||
.m-subhead a { transition: none; } |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
Latest revision as of 23:36, 4 December 2026
/* Mystic Style — arcane interface, obsidian with crimson accent. Loaded with {{Mystic Style}}. */
/* Shared colours and font. Also set on the header, grid and intro so they still work without the wrapper. */
.m-page, .m-header, .m-grid, .m-intro {
--m-bg: #0d0b10; --m-panel: #131016; --m-border: #3a3340; --m-border-hover: #6a2a3a;
--m-text: #d8d2dc; --m-muted: #9a92a0; --m-heading: #f1ecf3; --m-link: #c4bdc9;
--m-accent: #ff5c74; --m-accent-line: #d8344f;
color: var(--m-text);
font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.m-page, .m-page *, .m-header, .m-header *, .m-grid, .m-grid *, .m-intro { box-sizing: border-box; }
.m-page {
padding: 1.25rem; border: 1px solid var(--m-border); line-height: 1.7;
background-color: var(--m-bg);
background-image: linear-gradient(rgba(58,51,64,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(58,51,64,.16) 1px, transparent 1px);
background-size: 32px 32px;
}
/* Header banner ({{Mystic Header}}) */
.m-header { position: relative; z-index: 0; overflow: hidden; padding: 3rem 1.5rem; border: 1px solid var(--m-border); text-align: center;
background: radial-gradient(ellipse at 50% 130%, rgba(216,52,79,.28), transparent 60%), #08070a;
box-shadow: 0 0 24px rgba(216,52,79,.15), inset 0 0 40px rgba(0,0,0,.6); }
/* Star layers: three tiles drifting at different speeds and fading in and out.
Each layer is one tile larger than the header and slides with transform, which the browser can move without repainting. */
.m-header::before, .m-header::after, .m-header-stars { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none; }
.m-header::before { left: -180px; bottom: -180px; }
.m-header::after { left: -260px; bottom: -260px; }
.m-header-stars { left: -340px; bottom: -340px; }
.m-header::before {
background-image:
radial-gradient(circle at 20px 30px, #ff5c74 0, #ff5c74 1px, transparent 1.5px),
radial-gradient(circle at 90px 120px, #ff5c74 0, #ff5c74 1px, transparent 1.5px),
radial-gradient(circle at 150px 60px, #ff5c74 0, #ff5c74 1px, transparent 1.5px),
radial-gradient(circle at 40px 150px, #ff5c74 0, #ff5c74 1px, transparent 1.5px),
radial-gradient(circle at 120px 20px, #ff5c74 0, #ff5c74 1px, transparent 1.5px),
radial-gradient(circle at 170px 160px, #ff5c74 0, #ff5c74 1px, transparent 1.5px);
background-size: 180px 180px;
animation: m-drift-1 140s linear infinite, m-twinkle 6s ease-in-out infinite;
}
.m-header::after {
background-image:
radial-gradient(circle at 60px 80px, #ffb3be 0, #ff5c74 1px, rgba(255,92,116,.35) 2px, transparent 3.5px),
radial-gradient(circle at 200px 40px, #ffb3be 0, #ff5c74 1px, rgba(255,92,116,.35) 2px, transparent 3.5px),
radial-gradient(circle at 130px 190px, #ffb3be 0, #ff5c74 1px, rgba(255,92,116,.35) 2px, transparent 3.5px),
radial-gradient(circle at 230px 220px, #ffb3be 0, #ff5c74 1px, rgba(255,92,116,.35) 2px, transparent 3.5px),
radial-gradient(circle at 20px 230px, #ffb3be 0, #ff5c74 1px, rgba(255,92,116,.35) 2px, transparent 3.5px);
background-size: 260px 260px;
animation: m-drift-2 220s linear infinite, m-twinkle 9s ease-in-out -3s infinite;
}
.m-header-stars {
background-image:
radial-gradient(circle at 80px 260px, #ffd0d7 0, #ff5c74 1.5px, rgba(216,52,79,.3) 4px, transparent 7px),
radial-gradient(circle at 250px 120px, #ffd0d7 0, #ff5c74 1.5px, rgba(216,52,79,.3) 4px, transparent 7px),
radial-gradient(circle at 300px 300px, #ffd0d7 0, #ff5c74 1.5px, rgba(216,52,79,.3) 4px, transparent 7px),
radial-gradient(circle at 170px 50px, #ffd0d7 0, #ff5c74 1.5px, rgba(216,52,79,.3) 4px, transparent 7px);
background-size: 340px 340px;
animation: m-drift-3 320s linear infinite, m-twinkle 13s ease-in-out -6s infinite;
}
/* Rune rings and symbol behind the title */
.m-header-sigil { position: absolute; top: 50%; left: 50%; z-index: -1; width: 16rem; height: 16rem; margin: -8rem 0 0 -8rem;
border: 1px solid rgba(216,52,79,.25); border-radius: 50%; pointer-events: none; animation: m-spin 80s linear infinite; }
.m-header-sigil::after { content: ""; position: absolute; top: -1.5rem; right: -1.5rem; bottom: -1.5rem; left: -1.5rem;
border: 1px dotted rgba(255,92,116,.18); border-radius: 50%; }
.m-header-symbol { position: absolute; top: 1.2rem; right: 1.2rem; bottom: 1.2rem; left: 1.2rem;
opacity: .45; animation: m-spin 50s linear infinite reverse; }
.m-header-symbol span, .m-header-symbol a, .m-header-symbol img { display: block; width: 100%; height: 100%; max-width: none; }
/* Optional glow, switched on with {{Mystic Header|glow=yes}}. It is recalculated as the symbol turns, so it costs more on slower devices. */
.m-header-symbol--glow { filter: drop-shadow(0 0 8px rgba(255,92,116,.8)); }
.m-header-eyebrow { color: var(--m-accent); font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; text-shadow: 0 0 8px rgba(255,92,116,.5); }
.m-header-title { position: relative; margin: .3rem 0; padding-left: .28em; color: var(--m-heading); font-size: clamp(2rem, 6vw, 3rem);
letter-spacing: .28em; line-height: 1.15; text-transform: uppercase;
text-shadow: 0 0 12px rgba(255,92,116,.6), 0 0 34px rgba(216,52,79,.35); }
/* Pulsing aura behind the title: only its opacity animates, so the text is never repainted */
.m-header-title::before { content: ""; position: absolute; top: -30%; right: 5%; bottom: -30%; left: 5%; z-index: -1; pointer-events: none;
background: radial-gradient(ellipse at center, rgba(216,52,79,.3), transparent 70%); animation: m-pulse 6s ease-in-out infinite; }
.m-header-rule { position: relative; width: 10rem; height: 1px; margin: 1rem auto;
background: linear-gradient(90deg, transparent 0, var(--m-accent-line) 38%, transparent 45%, transparent 55%, var(--m-accent-line) 62%, transparent 100%);
filter: drop-shadow(0 0 3px rgba(255,92,116,.8)); }
.m-header-rule::before { content: "\25C6"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
color: var(--m-accent); font-size: .6rem; line-height: 1; text-shadow: 0 0 6px var(--m-accent); }
/* Cards */
.m-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.m-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 1.4rem 1.3rem; border: 1px solid var(--m-border);
background: linear-gradient(180deg, rgba(216,52,79,.06), transparent 40%), var(--m-panel); transition: border-color .25s; }
/* Hover glow: drawn once and faded in with opacity, instead of animating box-shadow */
.m-card::before { content: ""; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; pointer-events: none;
box-shadow: 0 0 20px rgba(216,52,79,.22), inset 0 0 20px rgba(216,52,79,.08); opacity: 0; transition: opacity .25s; }
.m-card:hover::before { opacity: 1; }
/* Lit top edge and corner ticks */
.m-card::after { content: ""; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; pointer-events: none;
background:
linear-gradient(90deg, transparent, var(--m-accent), transparent) top center / 80% 1px no-repeat,
linear-gradient(180deg, rgba(255,92,116,.22), transparent) top center / 80% 6px no-repeat,
linear-gradient(var(--m-accent-line), var(--m-accent-line)) top left / .8rem 1px no-repeat,
linear-gradient(var(--m-accent-line), var(--m-accent-line)) top left / 1px .8rem no-repeat,
linear-gradient(var(--m-accent-line), var(--m-accent-line)) top right / .8rem 1px no-repeat,
linear-gradient(var(--m-accent-line), var(--m-accent-line)) top right / 1px .8rem no-repeat,
linear-gradient(var(--m-accent-line), var(--m-accent-line)) bottom left / .8rem 1px no-repeat,
linear-gradient(var(--m-accent-line), var(--m-accent-line)) bottom left / 1px .8rem no-repeat,
linear-gradient(var(--m-accent-line), var(--m-accent-line)) bottom right / .8rem 1px no-repeat,
linear-gradient(var(--m-accent-line), var(--m-accent-line)) bottom right / 1px .8rem no-repeat; }
.m-card:hover { border-color: var(--m-border-hover); }
.m-card-title { margin-bottom: .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--m-border); color: var(--m-heading);
font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; }
.m-card-title::before { content: "\25C7"; margin-right: .6rem; color: var(--m-accent); text-shadow: 0 0 6px var(--m-accent); }
.m-card-text { margin-bottom: 1rem; color: var(--m-muted); font-size: .95rem; font-style: italic; }
.m-label { margin-bottom: .45rem; color: var(--m-accent-line); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; }
/* Sub-section links */
.m-chips ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.m-chips li { margin: 0; }
.m-chips a { display: block; padding: .15rem .65rem; border: 1px solid var(--m-border); background: rgba(13,11,16,.6);
color: var(--m-link); font-size: .85rem; text-decoration: none; transition: color .2s, border-color .2s, box-shadow .2s; }
.m-chips a:hover { border-color: var(--m-accent-line); color: var(--m-accent); box-shadow: 0 0 10px rgba(216,52,79,.35); }
.m-chips a.new { border-style: dashed; color: #7d6a70; font-style: italic; }
/* "All [X]" buttons */
.m-card-more { margin-top: auto; padding-top: 1.3rem; }
.m-card-more a { display: inline-block; padding: .5rem 1.2rem; border: 1px solid var(--m-accent-line); background: rgba(216,52,79,.06);
color: var(--m-accent); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
box-shadow: 0 0 10px rgba(216,52,79,.2), inset 0 0 10px rgba(216,52,79,.1); transition: background .2s, color .2s, box-shadow .2s, text-shadow .2s; }
.m-card-more a:hover { background: rgba(216,52,79,.16); color: var(--m-heading); text-shadow: 0 0 8px rgba(255,92,116,.7);
box-shadow: 0 0 18px rgba(255,92,116,.45), inset 0 0 12px rgba(216,52,79,.2); }
/* Placeholder card */
.m-card--soon { border-style: dashed; background: rgba(13,11,16,.5); }
.m-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .2rem .7rem; border: 1px solid var(--m-border);
color: var(--m-muted); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.m-badge::before { content: ""; width: 6px; height: 6px; background: var(--m-accent); box-shadow: 0 0 8px var(--m-accent); animation: m-blink 2.4s ease-in-out infinite; }
/* Animations */
@keyframes m-drift-1 { from { transform: translate3d(0, 0, 0) rotate(.01deg); } to { transform: translate3d(180px, -180px, 0) rotate(.01deg); } }
@keyframes m-drift-2 { from { transform: translate3d(0, 0, 0) rotate(.01deg); } to { transform: translate3d(260px, -260px, 0) rotate(.01deg); } }
@keyframes m-drift-3 { from { transform: translate3d(0, 0, 0) rotate(.01deg); } to { transform: translate3d(340px, -340px, 0) rotate(.01deg); } }
@keyframes m-twinkle { 0% { opacity: .15; } 50% { opacity: 1; } 100% { opacity: .15; } }
@keyframes m-spin { to { transform: rotate(360deg); } }
@keyframes m-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes m-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
/* Section pages: intro line, wide cards, sub-groups and unlinked tags */
.m-intro { max-width: 42rem; margin: 0 auto 1.4rem; color: var(--m-muted); font-style: italic; text-align: center; }
.m-card--wide { grid-column: 1 / -1; }
.m-subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.m-subgroup { min-width: 0; padding: .9rem 1rem; border: 1px solid var(--m-border); background: rgba(13,11,16,.5); }
.m-subhead { margin-bottom: .55rem; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.m-subhead a { color: var(--m-accent); text-decoration: none; text-shadow: 0 0 6px rgba(255,92,116,.4); transition: color .2s, text-shadow .2s; }
.m-subhead a:hover { color: var(--m-heading); text-shadow: 0 0 8px rgba(255,92,116,.7); }
.m-tags ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.m-tags li { margin: 0; padding: .15rem .65rem; border: 1px solid var(--m-border); color: var(--m-muted); font-size: .85rem; font-style: italic; }
/* Character lists pulled in with Special:PrefixIndex */
.m-chips .mw-prefixindex-list { columns: auto; column-width: auto; }
.m-chips .mw-prefixindex-nav { margin-top: .6rem; font-size: .85rem; }
/* Small screens, reduced motion and print */
@media (max-width: 640px) {
.m-page { padding: .8rem; }
.m-grid, .m-subgrid { grid-template-columns: 1fr; }
.m-header { padding: 2.4rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
.m-header::before, .m-header::after, .m-header-stars, .m-header-sigil, .m-header-symbol, .m-header-title::before, .m-badge::before { animation: none; }
.m-card, .m-card::before, .m-chips a, .m-card-more a, .m-subhead a { transition: none; }
}
@media print {
.m-page, .m-header, .m-card { background: none; box-shadow: none; }
.m-header-stars, .m-header-sigil, .m-header::before, .m-header::after, .m-header-title::before, .m-card::before { display: none; }
}