/* Avatar frames and name effects (profiles, forums, chat) and chat reactions. Shared by the site and the game page. */

/* Avatar frames */
.los-avatar-framed { display: inline-block; padding: 4px; border-radius: 50%; background: var(--frame, #8b5a2b); line-height: 0; }
.los-avatar-framed img { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface, #fffaf0) !important; background: var(--surface, #fffaf0); }
.frame-wood { --frame: repeating-linear-gradient(45deg, #8b5a2b 0 6px, #a8743f 6px 12px); }
.frame-hay { --frame: repeating-linear-gradient(90deg, #e8c46a 0 4px, #d9a93c 4px 7px); }
.frame-gold { --frame: conic-gradient(#f6d365, #d9a514, #fff1a8, #d9a514, #f6d365); }
.frame-rainbow { --frame: conic-gradient(#ff5e5e, #ffb84d, #ffe34d, #5edb6a, #4db8ff, #9b6bff, #ff5e5e); }
.frame-sunflower { --frame: repeating-conic-gradient(#f7c325 0 12deg, #e89c0b 12deg 24deg); }
.frame-scroll { --frame: linear-gradient(135deg, #e9d8b0, #b89968); }
.frame-founder { --frame: conic-gradient(#b87333, #f0c27b, #b87333, #f0c27b, #b87333); }
.frame-staff { --frame: linear-gradient(135deg, #b42318, #e05a4f); }
.los-avatar-framed { background: var(--frame); position: relative; }

/* Game frames: a ring in the item's colors and the item's own icon from the game. */
.frame-chicken::after, .frame-watermelon::after, .frame-strawberry::after, .frame-pumpkin::after, .frame-wheat::after,
.frame-tractor::after, .frame-barn::after, .frame-cow::after, .frame-cashcow::after, .frame-sheep::after, .frame-dragon::after,
.frame-unicorn::after, .frame-gnome::after, .frame-cove::after, .frame-balloon::after, .frame-moneytree::after,
.frame-harvester::after, .frame-snowman::after, .frame-dino::after, .frame-penguin::after {
    content: ""; position: absolute; right: -8%; bottom: -6%; width: 46%; height: 46%; pointer-events: none;
    background: var(--frame-art) center / contain no-repeat; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}
.frame-chicken { --frame: repeating-linear-gradient(45deg, #f4efe3 0 5px, #e0cfa6 5px 10px); --frame-art: url(/img/frames/chicken.png); }
.frame-watermelon { --frame: repeating-linear-gradient(90deg, #1f6b2c 0 5px, #4caf50 5px 10px); --frame-art: url(/img/frames/watermelon.png); }
.frame-strawberry { --frame: radial-gradient(circle at 20% 30%, #ffe08a 0 2px, transparent 3px) 0 0 / 10px 10px, #e23b4a; --frame-art: url(/img/frames/strawberry.png); }
.frame-pumpkin { --frame: repeating-conic-gradient(#f28c1b 0 20deg, #d96b0b 20deg 40deg); --frame-art: url(/img/frames/pumpkin.png); }
.frame-wheat { --frame: repeating-linear-gradient(60deg, #f2d27a 0 4px, #c99a2e 4px 8px); --frame-art: url(/img/frames/wheat.png); }
.frame-tractor { --frame: repeating-linear-gradient(135deg, #2f9e44 0 7px, #f2c230 7px 10px); --frame-art: url(/img/frames/tractor.png); }
.frame-barn { --frame: repeating-linear-gradient(90deg, #b3261e 0 6px, #8e1c16 6px 8px, #f4efe3 8px 9px); --frame-art: url(/img/frames/barn.png); }
.frame-cow { --frame: radial-gradient(circle at 30% 30%, #222 0 22%, transparent 23%) 0 0 / 18px 18px, radial-gradient(circle at 75% 70%, #222 0 18%, transparent 19%) 0 0 / 22px 22px, #fafafa; --frame-art: url(/img/frames/cow.png); }
.frame-cashcow { --frame: repeating-linear-gradient(45deg, #2f9e44 0 6px, #7cd36b 6px 9px, #f6d365 9px 11px); --frame-art: url(/img/frames/cashcow.png); }
.frame-sheep { --frame: radial-gradient(circle, #ffffff 0 45%, transparent 47%) 0 0 / 9px 9px, #dcd6cc; --frame-art: url(/img/frames/sheep.png); }
.frame-dragon { --frame: conic-gradient(#5b1f8f, #c2185b, #ff7a18, #5b1f8f, #c2185b, #ff7a18, #5b1f8f); --frame-art: url(/img/frames/dragon.png); }
.frame-unicorn { --frame: conic-gradient(#f8b4d9, #c6b4f8, #b4e3f8, #b4f8cf, #f8f3b4, #f8b4d9); --frame-art: url(/img/frames/unicorn.png); }
.frame-gnome { --frame: repeating-conic-gradient(#d62f2f 0 30deg, #2f6fd6 30deg 60deg, #f2e6c9 60deg 90deg); --frame-art: url(/img/frames/gnome.png); }
.frame-cove { --frame: repeating-linear-gradient(180deg, #2f7fb8 0 4px, #9fd7f7 4px 7px), #2f7fb8; --frame-art: url(/img/frames/cove.png); }
.frame-balloon { --frame: repeating-conic-gradient(#e94b3c 0 30deg, #f6d365 30deg 60deg, #3aa0ff 60deg 90deg); --frame-art: url(/img/frames/balloon.png); }
.frame-moneytree { --frame: conic-gradient(#1f7a37, #8bd46e, #f6d365, #8bd46e, #1f7a37); --frame-art: url(/img/frames/moneytree.png); }
.frame-harvester { --frame: repeating-linear-gradient(45deg, #1f7a37 0 6px, #f6d365 6px 12px); --frame-art: url(/img/frames/harvester.png); }
.frame-snowman { --frame: radial-gradient(circle, #ffffff 0 30%, transparent 32%) 0 0 / 8px 8px, linear-gradient(135deg, #9fd2f2, #e8f4fb); --frame-art: url(/img/frames/snowman.png); }
.frame-dino { --frame: repeating-linear-gradient(135deg, #4a7a2c 0 5px, #7aa63a 5px 10px, #c9b26b 10px 12px); --frame-art: url(/img/frames/dino.png); }
.frame-penguin { --frame: linear-gradient(180deg, #1c2333 0 50%, #ffffff 50%); --frame-art: url(/img/frames/penguin.png); }


.name-bold { font-weight: 900; }
.name-glow { text-shadow: 0 0 6px currentColor, 0 0 12px rgba(255, 214, 90, 0.8); }
.name-shimmer { background: linear-gradient(100deg, #b8860b 20%, #fff3b0 40%, #d9a514 60%, #b8860b 80%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 3s linear infinite; font-weight: 800; }
.name-rainbow { background: linear-gradient(90deg, #ff5e5e, #ffb84d, #e8c300, #3fbf5a, #3aa0ff, #9b6bff, #ff5e5e); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 4s linear infinite; font-weight: 800; }
/* Name effects in the game's own styles */
.name-farmville { color: #ffd23f !important; font-weight: 900; -webkit-text-stroke: 1px #2f6b1f; paint-order: stroke fill; text-shadow: 0 2px 0 #1f4f12, 0 3px 4px rgba(0, 0, 0, 0.35); letter-spacing: 0.01em; }
.name-harvest { background: linear-gradient(180deg, #ffe58a 0%, #f0b429 55%, #b7791f 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-weight: 900; filter: drop-shadow(0 1px 0 #6b3e0a); }
.name-meadow { background: linear-gradient(90deg, #2f9e44, #8bd46e, #2f9e44); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 5s linear infinite; font-weight: 800; }
.name-pumpkin { color: #ff8c1a !important; font-weight: 800; text-shadow: 0 0 4px #ff6a00, 0 0 10px rgba(255, 106, 0, 0.6); animation: los-flicker 2.4s ease-in-out infinite; }
.name-frost { background: linear-gradient(100deg, #6fb7e6 20%, #ffffff 40%, #9fd2f2 60%, #6fb7e6 80%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 3.5s linear infinite; font-weight: 800; filter: drop-shadow(0 0 2px rgba(111, 183, 230, 0.7)); }
.name-blossom { background: linear-gradient(90deg, #e8557a, #f6a5bd, #e8557a); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 4s linear infinite; font-weight: 800; }
.name-cove { background: linear-gradient(180deg, #9fd7f7 0%, #2f7fb8 50%, #1f5f94 100%); background-size: auto 200%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-waves 3s ease-in-out infinite alternate; font-weight: 800; }
.name-cash { color: #3fae49 !important; font-weight: 900; text-shadow: 0 1px 0 #1f6b2c, 0 0 6px rgba(63, 174, 73, 0.45); }
.name-coin { background: radial-gradient(circle at 30% 30%, #fff6c4, #f2c230 45%, #b8860b 90%); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-weight: 900; filter: drop-shadow(0 1px 0 #7a5200); }
.name-mastery { background: linear-gradient(100deg, #7b5cff 20%, #f6d365 45%, #7b5cff 70%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 3s linear infinite; font-weight: 900; }
.name-mastery::after { content: " ✦"; color: #f2c230; -webkit-text-fill-color: #f2c230; }
@keyframes los-flicker { 0%, 100% { text-shadow: 0 0 4px #ff6a00, 0 0 10px rgba(255, 106, 0, 0.6); } 50% { text-shadow: 0 0 6px #ffb347, 0 0 16px rgba(255, 140, 26, 0.85); } }
@keyframes los-waves { to { background-position: 0 100%; } }
@media (prefers-reduced-motion: reduce) { .name-meadow, .name-pumpkin, .name-frost, .name-blossom, .name-cove, .name-mastery { animation: none; } }
@keyframes los-shimmer { to { background-position: 200% center; } }
@media (prefers-reduced-motion: reduce) { .name-shimmer, .name-rainbow { animation: none; } }

/* ---------- Chat: small frames, game emotes, the reaction picker ---------- */
.los-avatar-framed.sm { padding: 2px; }
.los-avatar-framed.sm img { width: 30px; height: 30px; border-width: 1px !important; }
.los-avatar-framed.sm::after { width: 50%; height: 50%; right: -14%; bottom: -10%; }
.los-chat-name { color: inherit; text-decoration: none; font-weight: 700; }
.los-chat-name:hover { text-decoration: underline; }
.los-emote { width: 22px; height: 22px; vertical-align: -6px; object-fit: contain; }
.los-emote.big { width: 30px; height: 30px; }
.los-emote-picker { position: fixed; z-index: 100000; width: 286px; padding: 8px; border-radius: 12px; background: #fffaf0; border: 2px solid #8b5a2b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; font-family: "Segoe UI", system-ui, sans-serif; }
.los-emote-picker .head { grid-column: 1 / -1; font-size: 11px; font-weight: 800; color: #6b3e0a; text-transform: uppercase; letter-spacing: 0.04em; margin: 2px 2px 0; }
.los-emote-picker button { border: 0; background: transparent; border-radius: 8px; padding: 4px 0; cursor: pointer; font-size: 22px; line-height: 30px; height: 38px; }
.los-emote-picker button:hover, .los-emote-picker button:focus-visible { background: #f3e2c2; outline: none; }
.los-reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.los-reaction { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px 1px 4px; border-radius: 999px; border: 1px solid #d9c49a; background: #fff7e6;
    font-size: 12px; font-weight: 700; color: #5a3a12; cursor: pointer; line-height: 20px; }
.los-reaction.mine { background: #ffe9a8; border-color: #e0a800; }
.los-reaction .los-emote { width: 18px; height: 18px; vertical-align: middle; }
.los-reaction-emoji { font-size: 15px; }
.los-react-btn { border: 0; background: transparent; cursor: pointer; font-size: 14px; opacity: 0; padding: 0 4px; transition: opacity 0.15s; white-space: nowrap; align-self: center; flex-shrink: 0; }
.los-chat-msg:hover .los-react-btn, .chat-message:hover .los-react-btn, .los-react-btn:focus-visible { opacity: 0.8; }
.los-emoji-btn { border: 0; background: transparent; cursor: pointer; font-size: 20px; padding: 0 6px; line-height: 1; }
@media (hover: none) { .los-react-btn { opacity: 0.6; } }

/* ---------- Chat features: mentions, replies, brag cards, gifts, pins, typing, online ---------- */
.los-avatar-framed.is-online::before { content: ""; position: absolute; left: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%;
    background: #2fbf4a; border: 2px solid #fffaf0; z-index: 1; }
.los-mention { font-weight: 800; color: #1478ac; background: rgba(20, 120, 172, 0.1); border-radius: 4px; padding: 0 2px; text-decoration: none; }
.los-mention.me { color: #8a4b00; background: #ffe9a8; }
.los-quote { display: block; width: 100%; text-align: left; margin: 2px 0 4px; padding: 3px 8px; border: 0; border-left: 3px solid #e0a800;
    border-radius: 4px; background: rgba(224, 168, 0, 0.12); color: inherit; font: inherit; font-size: 0.78em; cursor: pointer;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.9; }
.los-quote .los-emote { width: 14px; height: 14px; vertical-align: -2px; }
.los-flash { animation: los-flash 1.5s ease-out; }
@keyframes los-flash { 0% { background: rgba(255, 214, 90, 0.7); } 100% { background: transparent; } }
.los-brag-card { display: flex; align-items: center; gap: 10px; margin: 4px 0; padding: 8px 10px; border-radius: 10px; text-decoration: none;
    background: linear-gradient(135deg, #fff7d6, #ffe7a3); border: 2px solid #e0a800; color: #5a3a12 !important; max-width: 260px; }
.los-brag-card .icon { font-size: 28px; line-height: 1; }
.los-brag-card img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.los-brag-card .txt { display: flex; flex-direction: column; min-width: 0; }
.los-brag-card .txt b { font-size: 0.92em; }
.los-brag-card .txt small { font-size: 0.75em; opacity: 0.8; overflow: hidden; text-overflow: ellipsis; }
.los-brag-card-level { background: linear-gradient(135deg, #e6f6ff, #bfe6ff); border-color: #2f7fb8; }
.los-brag-card-photo { background: linear-gradient(135deg, #eef9e8, #cdeebd); border-color: #3f9a2f; }
.los-chat-level { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: #6b3e0a; color: #ffe9a8;
    font-size: 0.66em; font-weight: 800; vertical-align: 1px; -webkit-text-fill-color: #ffe9a8; }
.los-chat-staff { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 4px; background: #b42318; color: #fff;
    font-size: 0.62em; font-weight: 800; text-transform: uppercase; vertical-align: 1px; -webkit-text-fill-color: #fff; }
.los-msg-actions { display: inline-flex; align-items: center; gap: 0; align-self: center; flex-shrink: 0; opacity: 0; transition: opacity 0.15s; }
.los-chat-msg:hover .los-msg-actions, .chat-message:hover .los-msg-actions, .los-msg-actions:focus-within { opacity: 1; }
.los-msg-actions .los-react-btn { opacity: 0.85; }
.los-msg-btn { border: 0; background: transparent; cursor: pointer; font-size: 13px; padding: 0 3px; opacity: 0.85; }
.los-msg-btn:hover, .los-react-btn:hover { transform: scale(1.15); }
@media (hover: none) { .los-msg-actions { opacity: 0.7; } }
.los-reply-bar { display: flex; align-items: center; gap: 4px; padding: 4px 10px; font-size: 12px; background: #fff3cc; color: #5a3a12; border-top: 1px solid #e0c46a; }
.los-reply-bar button { margin-left: auto; border: 0; background: transparent; cursor: pointer; font-size: 12px; }
.los-reply-bar[hidden], .los-pinned[hidden] { display: none; }
.los-pinned { display: flex; align-items: flex-start; gap: 6px; padding: 6px 10px; font-size: 12px; background: #fff7e0; color: #5a3a12;
    border-bottom: 1px solid #e0c46a; }
.los-pinned .body { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.los-pinned .unpin { border: 0; background: transparent; cursor: pointer; }
.los-typing { min-height: 16px; padding: 0 12px; font-size: 11px; font-style: italic; color: #8a7350; }
.los-online-btn { border: 0; background: rgba(255, 255, 255, 0.2); color: inherit; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; cursor: pointer; }
.los-gift-picker, .los-brag-picker, .los-online-list { width: 300px; }
.los-picker-note { grid-column: 1 / -1; font-size: 11px; color: #8a7350; padding: 2px; }
.los-brag-picker { grid-template-columns: 1fr 1fr; max-height: 320px; overflow-y: auto; }
.los-brag-option { display: flex !important; align-items: center; gap: 6px; text-align: left; font-size: 12px !important; line-height: 1.2 !important;
    height: auto !important; padding: 6px !important; }
.los-brag-option .icon { font-size: 20px; }
.los-brag-option img { width: 36px; height: 28px; object-fit: cover; border-radius: 4px; }
.los-online-list { grid-template-columns: 1fr; max-height: 320px; overflow-y: auto; }
.los-online-member { display: flex; align-items: center; gap: 8px; padding: 4px; border-radius: 8px; color: #5a3a12; text-decoration: none; font-size: 13px; }
.los-online-member:hover { background: #f3e2c2; }
.los-online-member img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.los-chat-toast { position: fixed; z-index: 100001; padding: 6px 12px; border-radius: 8px; background: #3b2a12; color: #fff; font-size: 13px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); font-family: "Segoe UI", system-ui, sans-serif; }

/* Chat: the ⚑ report box (App\Support\ChatSafety). */
.los-report-box { width: 300px; max-width: calc(100vw - 16px); display: flex; flex-direction: column; gap: 10px; }
.los-report-box .los-report-label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; }
.los-report-box textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 64px; padding: 8px; border-radius: 8px; border: 1px solid var(--input-border, #d6c4a4); background: var(--input-bg, #fff); color: var(--text, #3b2a1a); font: inherit; font-size: 14px; }
.los-report-box .los-report-check { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; line-height: 1.35; cursor: pointer; }
.los-report-box .los-report-check input { margin-top: 2px; }
.los-report-box .los-report-actions { display: flex; justify-content: flex-end; gap: 8px; }
.los-report-box .los-report-actions button { min-height: 36px; padding: 0 14px; border-radius: 8px; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.los-report-box .los-report-cancel { background: var(--surface-alt, #f7eedb); color: var(--text, #3b2a1a); }
.los-report-box .los-report-send { background: #c0392b; color: #fff; }
.los-report-box .los-report-send:disabled { opacity: .6; cursor: default; }

/* L.O.S Castle's frames and name effects (App\Support\CastleCommunity), worn on loscastle.xyz. */
.frame-c-stone { --frame: radial-gradient(circle at 30% 30%, #b9b4aa 0 18%, transparent 19%) 0 0 / 12px 12px, radial-gradient(circle at 70% 70%, #8f897e 0 16%, transparent 17%) 0 0 / 12px 12px, #a39d92; }
.frame-c-banner { --frame: repeating-conic-gradient(#6a3fb0 0 22.5deg, #f2c230 22.5deg 45deg); }
.frame-c-crown { --frame: conic-gradient(#f6d365, #b8860b, #fff1a8, #b8860b, #f6d365); box-shadow: 0 0 0 2px #6a3fb0; }
.frame-c-royal { --frame: conic-gradient(#4b2a7d, #9b6bff, #f2c230, #9b6bff, #4b2a7d); }
.frame-c-legend { --frame: conic-gradient(#f2c230, #ff7a18, #c2185b, #6a3fb0, #2f7fb8, #3fbf5a, #f2c230); box-shadow: 0 0 10px rgba(242, 194, 48, 0.65); }
.frame-c-staff { --frame: linear-gradient(135deg, #b42318, #6a3fb0); }
/* With a picture from the game in the corner (public/img/castleville/frames). */
.frame-c-castle::after, .frame-c-wolf::after, .frame-c-crystal::after, .frame-c-anvil::after, .frame-c-chef::after,
.frame-c-sheep::after, .frame-c-tomato::after, .frame-c-gift::after, .frame-c-knight::after, .frame-c-fairy::after,
.frame-c-pirate::after, .frame-c-potion::after, .frame-c-cv::after {
    content: ""; position: absolute; right: -6%; bottom: -4%; width: 42%; height: 42%; pointer-events: none; border-radius: 50%;
    background: var(--frame-art) center / cover no-repeat; box-shadow: 0 0 0 2px #fff8e7, 0 1px 3px rgba(0, 0, 0, 0.45);
}
.frame-c-castle { --frame: repeating-linear-gradient(90deg, #8f897e 0 8px, #b9b4aa 8px 10px); --frame-art: url(/img/castleville/frames/castle.png); }
.frame-c-wolf { --frame: conic-gradient(#2a1749, #4a3a66, #8ef09a, #4a3a66, #2a1749); --frame-art: url(/img/castleville/frames/wolf.png); }
.frame-c-crystal { --frame: conic-gradient(#3fbf5a, #b4f8cf, #1f7a37, #b4f8cf, #3fbf5a); --frame-art: url(/img/castleville/frames/crystal.png); }
.frame-c-anvil { --frame: repeating-linear-gradient(45deg, #57534b 0 6px, #8f897e 6px 9px, #ff7a18 9px 10px); --frame-art: url(/img/castleville/frames/anvil.png); }
.frame-c-chef { --frame: repeating-linear-gradient(90deg, #ffffff 0 5px, #e9e3d6 5px 8px); --frame-art: url(/img/castleville/frames/chef.png); }
.frame-c-sheep { --frame: radial-gradient(circle, #ffffff 0 45%, transparent 47%) 0 0 / 9px 9px, #dcd6cc; --frame-art: url(/img/castleville/frames/sheep.png); }
.frame-c-tomato { --frame: repeating-linear-gradient(60deg, #e23b4a 0 5px, #2f9e44 5px 7px); --frame-art: url(/img/castleville/frames/tomato.png); }
.frame-c-gift { --frame: repeating-linear-gradient(45deg, #b42318 0 6px, #f2c230 6px 9px); --frame-art: url(/img/castleville/frames/gift.png); }
.frame-c-knight { --frame: conic-gradient(#9ba3ad, #e6e9ee, #6b7280, #e6e9ee, #9ba3ad); --frame-art: url(/img/castleville/frames/knight.png); }
.frame-c-fairy { --frame: conic-gradient(#ffb6de, #b4f8cf, #c6b4f8, #ffb6de); --frame-art: url(/img/castleville/frames/fairy.png); }
.frame-c-pirate { --frame: repeating-linear-gradient(90deg, #1c2333 0 6px, #f4efe3 6px 8px); --frame-art: url(/img/castleville/frames/pirate.png); }
.frame-c-potion { --frame: conic-gradient(#2f7fb8, #9fd7f7, #f2c230, #9fd7f7, #2f7fb8); --frame-art: url(/img/castleville/frames/potion.png); }
.frame-c-cv { --frame: conic-gradient(#4b2a7d, #f2c230, #4b2a7d, #f2c230, #4b2a7d); --frame-art: url(/img/castleville/frames/cv.png); }

.name-c-bold { font-weight: 900; }
.name-c-royal { background: linear-gradient(100deg, #6a3fb0 20%, #c6a8ff 45%, #6a3fb0 70%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 4s linear infinite; font-weight: 800; }
.name-c-dragon { color: #ff7a18 !important; font-weight: 900; text-shadow: 0 0 4px #ff3d00, 0 0 12px rgba(255, 122, 24, 0.7); animation: los-flicker 1.8s ease-in-out infinite; }
.name-c-castleville { color: #f6c343 !important; font-weight: 900; -webkit-text-stroke: 1px #3b2366; paint-order: stroke fill; text-shadow: 0 2px 0 #2a1749, 0 3px 4px rgba(0, 0, 0, 0.35); font-family: Georgia, "Times New Roman", serif; }
.name-c-shimmer { background: linear-gradient(100deg, #b8860b 20%, #fff3b0 40%, #d9a514 60%, #b8860b 80%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 3s linear infinite; font-weight: 800; }
.name-c-gold { background: linear-gradient(180deg, #fff1a8 0%, #f2c230 50%, #a8740a 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-weight: 900; filter: drop-shadow(0 1px 0 #5c3d00); }
.name-c-gold::before { content: "👑 "; -webkit-text-fill-color: initial; }
.name-c-gloom { color: #8ef09a !important; font-weight: 800; text-shadow: 0 0 6px rgba(142, 240, 154, 0.85), 0 0 14px rgba(75, 42, 125, 0.9); }
.name-c-fairy { background: linear-gradient(90deg, #ff8fc7, #c6b4f8, #8fd9ff, #ff8fc7); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 3s linear infinite; font-weight: 800; }
.name-c-fairy::after { content: " ✧"; color: #ff8fc7; -webkit-text-fill-color: #ff8fc7; }
.name-c-frost { background: linear-gradient(100deg, #6fb7e6 20%, #ffffff 40%, #9fd2f2 60%, #6fb7e6 80%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: los-shimmer 3.5s linear infinite; font-weight: 800; filter: drop-shadow(0 0 2px rgba(111, 183, 230, 0.7)); }
@media (prefers-reduced-motion: reduce) { .name-c-royal, .name-c-dragon, .name-c-shimmer, .name-c-fairy, .name-c-frost { animation: none; } }
