/* generated by tools/gen_theme_motifs.py: five decorative elements per theme */
:root { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%238fdcff' stroke-width='2.2' stroke-linecap='round'%3E%3Cg transform='rotate(0 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(60 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(120 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(180 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(240 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(300 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round'%3E%3Cg transform='rotate(0 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(60 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(120 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(180 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(240 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3Cg transform='rotate(300 50 50)'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-7-6M50 36l7-6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%238fdcff' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M3 3l8 8M9 3l-6 6' stroke='%238fdcff' stroke-width='1.2'/%3E%3Ccircle cx='15' cy='15' r='1.6' fill='%238fdcff'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%238fdcff' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M3 3l8 8M9 3l-6 6' stroke='%238fdcff' stroke-width='1.2'/%3E%3Ccircle cx='15' cy='15' r='1.6' fill='%238fdcff'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6H8M16 6H24' stroke='%238fdcff' stroke-width='1'/%3E%3Cpath d='M12 2l4 4-4 4-4-4Z' fill='none' stroke='%238fdcff' stroke-width='1.2'/%3E%3C/svg%3E"); }
html[data-theme="sky"] { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%232b7fd6' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='50' cy='50' r='20'/%3E%3Cpath d='M50 8v12' transform='rotate(0 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(30 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(60 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(90 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(120 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(150 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(180 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(210 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(240 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(270 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(300 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(330 50 50)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round'%3E%3Ccircle cx='50' cy='50' r='20'/%3E%3Cpath d='M50 8v12' transform='rotate(0 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(30 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(60 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(90 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(120 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(150 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(180 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(210 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(240 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(270 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(300 50 50)'/%3E%3Cpath d='M50 8v12' transform='rotate(330 50 50)'/%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%232b7fd6' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M8 3a5 5 0 0 1-5 5' fill='none' stroke='%232b7fd6' stroke-width='1.2'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%232b7fd6'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%232b7fd6' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M8 3a5 5 0 0 1-5 5' fill='none' stroke='%232b7fd6' stroke-width='1.2'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%232b7fd6'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6C6 2 6 10 12 6S18 2 24 6' fill='none' stroke='%232b7fd6' stroke-width='1.2'/%3E%3Ccircle cx='12' cy='6' r='0' fill='%232b7fd6'/%3E%3C/svg%3E"); }
html[data-theme="forest"] { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%232f8a4e' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M50 6C82 28 84 68 50 94C16 68 18 28 50 6Z'/%3E%3Cpath d='M50 18V94M50 40l-14-10M50 40l14-10M50 58l-16-10M50 58l16-10M50 76l-12-8M50 76l12-8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M50 6C82 28 84 68 50 94C16 68 18 28 50 6Z'/%3E%3Cpath d='M50 18V94M50 40l-14-10M50 40l14-10M50 58l-16-10M50 58l16-10M50 76l-12-8M50 76l12-8'/%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%232f8a4e' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M6 6C14 6 16 12 16 16C10 16 6 12 6 6Z' fill='none' stroke='%232f8a4e' stroke-width='1.2'/%3E%3Cpath d='M6 6l10 10' stroke='%232f8a4e' stroke-width='1'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%232f8a4e' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M6 6C14 6 16 12 16 16C10 16 6 12 6 6Z' fill='none' stroke='%232f8a4e' stroke-width='1.2'/%3E%3Cpath d='M6 6l10 10' stroke='%232f8a4e' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6H24' stroke='%232f8a4e' stroke-width='1'/%3E%3Cpath d='M12 6C14 2 18 2 18 2C18 6 14 6 12 6Z' fill='%232f8a4e' opacity='.8'/%3E%3C/svg%3E"); }
html[data-theme="parchment"] { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%23a3562a' stroke-width='2.2' stroke-linejoin='round'%3E%3Ccircle cx='50' cy='50' r='34'/%3E%3Ccircle cx='50' cy='50' r='42' stroke-dasharray='2 5'/%3E%3Cpath d='M50 4L58 42L96 50L58 58L50 96L42 58L4 50L42 42Z'/%3E%3Cpath d='M50 22L54 46L78 50L54 54L50 78L46 54L22 50L46 46Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linejoin='round'%3E%3Ccircle cx='50' cy='50' r='34'/%3E%3Ccircle cx='50' cy='50' r='42' stroke-dasharray='2 5'/%3E%3Cpath d='M50 4L58 42L96 50L58 58L50 96L42 58L4 50L42 42Z'/%3E%3Cpath d='M50 22L54 46L78 50L54 54L50 78L46 54L22 50L46 46Z'/%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23a3562a' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='9' r='3' fill='none' stroke='%23a3562a' stroke-width='1.2'/%3E%3Ccircle cx='9' cy='9' r='1' fill='%23a3562a'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23a3562a' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='9' r='3' fill='none' stroke='%23a3562a' stroke-width='1.2'/%3E%3Ccircle cx='9' cy='9' r='1' fill='%23a3562a'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6H6M10 6H16M20 6H24' stroke='%23a3562a' stroke-width='1.2'/%3E%3Ccircle cx='18' cy='6' r='0' fill='%23a3562a'/%3E%3C/svg%3E"); }
html[data-theme="radiant"] { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%23b07d12' stroke-width='2.2' stroke-linejoin='round'%3E%3Ccircle cx='50' cy='50' r='26'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(0 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(45 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(90 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(135 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(180 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(225 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(270 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(315 50 50)'/%3E%3Cpath d='M50 70V44M50 52l-10-8M50 52l10-8M50 60l-13-6M50 60l13-6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linejoin='round'%3E%3Ccircle cx='50' cy='50' r='26'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(0 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(45 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(90 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(135 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(180 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(225 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(270 50 50)'/%3E%3Cpath d='M50 4l4 14h-8z' transform='rotate(315 50 50)'/%3E%3Cpath d='M50 70V44M50 52l-10-8M50 52l10-8M50 60l-13-6M50 60l13-6'/%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23b07d12' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M10 3C10 8 8 10 3 10M16 3C16 12 12 16 3 16' fill='none' stroke='%23b07d12' stroke-width='1.1'/%3E%3Ccircle cx='18' cy='18' r='1.6' fill='%23b07d12'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23b07d12' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M10 3C10 8 8 10 3 10M16 3C16 12 12 16 3 16' fill='none' stroke='%23b07d12' stroke-width='1.1'/%3E%3Ccircle cx='18' cy='18' r='1.6' fill='%23b07d12'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Ccircle cx='6' cy='6' r='1.4' fill='%23b07d12'/%3E%3Ccircle cx='18' cy='6' r='2.2' fill='none' stroke='%23b07d12' stroke-width='1'/%3E%3C/svg%3E"); }
html[data-theme="dire"] { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%23ff6a33' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M50 96C24 92 14 70 24 50C30 38 30 26 26 12C44 22 52 36 50 52C58 44 60 34 58 24C78 40 86 64 76 80C70 90 62 95 50 96Z'/%3E%3Cpath d='M50 90C38 86 36 74 42 64C46 70 50 70 52 62C60 70 62 82 50 90Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linejoin='round'%3E%3Cpath d='M50 96C24 92 14 70 24 50C30 38 30 26 26 12C44 22 52 36 50 52C58 44 60 34 58 24C78 40 86 64 76 80C70 90 62 95 50 96Z'/%3E%3Cpath d='M50 90C38 86 36 74 42 64C46 70 50 70 52 62C60 70 62 82 50 90Z'/%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23ff6a33' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M3 3L14 8L8 14Z' fill='%23ff6a33' opacity='.7'/%3E%3Cpath d='M26 3l4 -0M3 26l0 4' stroke='%23ff6a33'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23ff6a33' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M3 3L14 8L8 14Z' fill='%23ff6a33' opacity='.7'/%3E%3Cpath d='M26 3l4 -0M3 26l0 4' stroke='%23ff6a33'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6L4 3L8 8L12 2L16 9L20 4L24 6' fill='none' stroke='%23ff6a33' stroke-width='1.2'/%3E%3Ccircle cx='12' cy='2' r='0' fill='%23ff6a33'/%3E%3C/svg%3E"); }
html[data-theme="aegis"] { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%23e6c06a' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M50 6L86 20V48C86 72 70 88 50 96C30 88 14 72 14 48V20Z'/%3E%3Cpath d='M50 18L74 28V48C74 64 64 76 50 82C36 76 26 64 26 48V28Z'/%3E%3Cpath d='M50 30V70M36 46H64'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linejoin='round'%3E%3Cpath d='M50 6L86 20V48C86 72 70 88 50 96C30 88 14 72 14 48V20Z'/%3E%3Cpath d='M50 18L74 28V48C74 64 64 76 50 82C36 76 26 64 26 48V28Z'/%3E%3Cpath d='M50 30V70M36 46H64'/%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23e6c06a' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M8 8V30M8 8H30' fill='none' stroke='%23e6c06a' stroke-width='1'/%3E%3Cpath d='M3 3l5 5' stroke='%23e6c06a' stroke-width='1.2'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23e6c06a' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M8 8V30M8 8H30' fill='none' stroke='%23e6c06a' stroke-width='1'/%3E%3Cpath d='M3 3l5 5' stroke='%23e6c06a' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M2 3L8 6L2 9M14 3L20 6L14 9' fill='none' stroke='%23e6c06a' stroke-width='1.2'/%3E%3Ccircle cx='0' cy='0' r='0' fill='%23e6c06a'/%3E%3C/svg%3E"); }
html[data-theme="roshan"] { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%23e4a64a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M38 62C18 62 8 44 14 26C18 36 26 42 36 42'/%3E%3Cpath d='M62 62C82 62 92 44 86 26C82 36 74 42 64 42'/%3E%3Cpath d='M34 46C34 70 42 86 50 92C58 86 66 70 66 46C60 40 40 40 34 46Z'/%3E%3Cpath d='M42 60l4 8M58 60l-4 8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M38 62C18 62 8 44 14 26C18 36 26 42 36 42'/%3E%3Cpath d='M62 62C82 62 92 44 86 26C82 36 74 42 64 42'/%3E%3Cpath d='M34 46C34 70 42 86 50 92C58 86 66 70 66 46C60 40 40 40 34 46Z'/%3E%3Cpath d='M42 60l4 8M58 60l-4 8'/%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23e4a64a' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M3 12h6M12 3v6M9 9l5 5' stroke='%23e4a64a' stroke-width='1.3'/%3E%3Crect x='14' y='14' width='3' height='3' fill='%23e4a64a'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23e4a64a' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M3 12h6M12 3v6M9 9l5 5' stroke='%23e4a64a' stroke-width='1.3'/%3E%3Crect x='14' y='14' width='3' height='3' fill='%23e4a64a'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6H24M6 3V9M18 4V8' stroke='%23e4a64a' stroke-width='1.2'/%3E%3Crect x='11' y='5' width='2' height='2' fill='%23e4a64a'/%3E%3C/svg%3E"); }
html[data-theme="arcana"] { --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='.16'%3E%3Cg fill='none' stroke='%23c99bff' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M30 10H70L94 36L50 94L6 36Z'/%3E%3Cpath d='M6 36H94M30 10L40 36L50 94L60 36L70 10M40 36L50 10L60 36'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linejoin='round'%3E%3Cpath d='M30 10H70L94 36L50 94L6 36Z'/%3E%3Cpath d='M6 36H94M30 10L40 36L50 94L60 36L70 10M40 36L50 10L60 36'/%3E%3C/g%3E%3C/svg%3E"); --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23c99bff' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M12 4l1.5 5 5 1.5-5 1.5L12 17l-1.5-5-5-1.5 5-1.5Z' fill='%23c99bff'/%3E%3Ccircle cx='20' cy='6' r='1' fill='%23c99bff'/%3E%3C/svg%3E"); --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(180 20 20)'%3E%3Cpath d='M3 26V3H26' fill='none' stroke='%23c99bff' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M12 4l1.5 5 5 1.5-5 1.5L12 17l-1.5-5-5-1.5 5-1.5Z' fill='%23c99bff'/%3E%3Ccircle cx='20' cy='6' r='1' fill='%23c99bff'/%3E%3C/g%3E%3C/svg%3E"); --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M12 2l1 3 3 1-3 1-1 3-1-3-3-1 3-1Z' fill='%23c99bff'/%3E%3Ccircle cx='2' cy='6' r='.9' fill='%23c99bff'/%3E%3C/svg%3E"); }

/* 1 texture: barely there, fades out below the fold */
:root { --tex-op: .045; } html[data-theme="sky"] { --tex-op: .10; } html[data-theme="forest"] { --tex-op: .08; } html[data-theme="parchment"] { --tex-op: .12; }
html[data-theme="radiant"] { --tex-op: .08; } html[data-theme="dire"] { --tex-op: .07; } html[data-theme="aegis"] { --tex-op: .05; } html[data-theme="roshan"] { --tex-op: .05; } html[data-theme="arcana"] { --tex-op: .22; }
:root { --tex-mask: radial-gradient(120% 55% at 50% 0%, #000 0%, rgba(0,0,0,.25) 60%, transparent 100%); }
/* 2 emblem on the homepage hero card, quiet */
.ov-main::after { display: none; }
.ov-main { background-image: var(--emblem), var(--hero-bg); background-repeat: no-repeat; background-position: right -40px top -30px, 0 0; background-size: 300px 300px, auto; }
@media (max-width: 640px) { .ov-main { background-position: right -70px top -50px, 0 0; background-size: 230px 230px, auto; } }
/* 3 corner ornaments: small and quiet */
.ent, .vis-card, .key, .egg, .chart, .cov, .osec, .topic { background-image: var(--corner-tl), var(--corner-br); background-repeat: no-repeat; background-position: 7px 7px, right 7px bottom 7px; background-size: 14px 14px, 14px 14px; }
/* 4 themed glyph before section headings */
.sec-head h2 { padding-left: 26px; }
.sec-head h2::before { width: 17px; height: 17px; top: 50%; bottom: auto; transform: translateY(-50%); border-radius: 0; background: var(--frost); opacity: .9; -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
/* 5 hairline rules instead of patterned strips: a single line that fades out at both ends */
.sec-head { padding-bottom: 12px; background: linear-gradient(90deg, var(--frost) 0, var(--line-2) 22%, transparent 85%) left bottom / 100% 1px no-repeat; }
.topbar { border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--frost-deep) 50%, var(--line-2) 85%, transparent) 1; }

