/* ===================== ROOT & BASE ===================== */
 * { box-sizing: border-box; }
 html, body { margin: 0; width: 100%; min-height: 100%; }

 body {
 font-family: "Comic Sans MS", "Comic Sans", cursive;
 background-color: #000033;
 background-image:
 url("https://www.gifcen.com/wp-content/uploads/2022/03/transparent-gif-7.gif"),
 repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,0,0.03) 2px, rgba(0,255,0,0.03) 4px);
 color: white;
 cursor: url("https://www.rw-designer.com/cursor-extern.php?id=130044"), url("https://cur.cursors-4u.net/nature/nat-2/nat30.cur"), auto;
 overflow-x: hidden;
 }

 /* ===================== STARS LAYER ===================== */
 .stars-layer {
 position: fixed; inset: 0; pointer-events: none; z-index: 0;
 background-image:
 radial-gradient(1px 1px at 5% 10%, #fff, transparent),
 radial-gradient(2px 2px at 15% 25%, #ff0, transparent),
 radial-gradient(1px 1px at 25% 60%, #0ff, transparent),
 radial-gradient(2px 2px at 35% 80%, #f0f, transparent),
 radial-gradient(1px 1px at 45% 35%, #fff, transparent),
 radial-gradient(2px 2px at 55% 70%, #ff0, transparent),
 radial-gradient(1px 1px at 65% 15%, #0ff, transparent),
 radial-gradient(2px 2px at 75% 50%, #f0f, transparent),
 radial-gradient(1px 1px at 85% 88%, #fff, transparent),
 radial-gradient(2px 2px at 95% 42%, #ff0, transparent),
 radial-gradient(1px 1px at 10% 75%, #f0f, transparent),
 radial-gradient(2px 2px at 90% 20%, #0ff, transparent);
 background-size: 100% 100%;
 animation: twinkle 3s ease-in-out infinite alternate;
 }
 @keyframes twinkle { 0% { opacity: 0.5; } 100% { opacity: 1; } }

 /* ===================== BLINK OVERLAY ===================== */
 .blink-overlay {
 position: fixed; inset: 0; pointer-events: none; z-index: 1;
 background: repeating-linear-gradient(
 45deg,
 rgba(255,0,255,0.04) 0px, rgba(255,0,255,0.04) 10px,
 rgba(0,255,255,0.04) 10px, rgba(0,255,255,0.04) 20px
 );
 animation: blinkBg 0.45s infinite alternate;
 }
 @keyframes blinkBg { 0% { opacity: 0.3; } 100% { opacity: 0.8; } }

 /* ===================== MARQUEE STACK ===================== */
 .marquee-stack {
 position: fixed; top: 0; left: 0; width: 100%;
 z-index: 200; font-weight: bold;
 }
 .marquee-stack marquee:nth-child(1) {
 background: #ffff00; color: #0000cc;
 font-family: Impact, sans-serif; font-size: 17px;
 border-bottom: 3px dotted red;
 }
 .marquee-stack marquee:nth-child(2) {
 background: #00ff00; color: #cc0000;
 font-family: "Times New Roman", serif; font-size: 15px;
 border-bottom: 3px dashed blue;
 }
 .marquee-stack marquee:nth-child(3) {
 background: #ff00ff; color: #00ffff;
 font-family: "Courier New", monospace; font-size: 15px;
 border-bottom: 4px ridge white;
 }

 /* ===================== SPEECH BUBBLE ===================== */
 .speech-bubble {
 position: fixed;
 left: 50%; top: 38%;
 transform: translate(-50%, -50%);
 width: 300px; z-index: 50;
 filter: drop-shadow(4px 4px 0 rgba(255,0,255,0.8));
 pointer-events: none;
 }
 .speech-text {
 background: #ffff66;
 border: 5px solid #ff00ff;
 outline: 3px solid #00ffff;
 padding: 16px 18px 20px;
 font-family: "Comic Sans MS", cursive;
 font-size: clamp(0.85rem, 2vw, 1.1rem);
 line-height: 1.55; color: #111;
 min-height: 80px; border-radius: 8px;
 transition: opacity 0.35s ease;
 }
 .speech-tail {
 position: relative; left: 50%; transform: translateX(-50%);
 width: 0; height: 0;
 border-left: 18px solid transparent;
 border-right: 18px solid transparent;
 border-top: 28px solid #ffff66;
 filter: drop-shadow(0 4px 0 #ff00ff);
 }
 .speech-bubble.fading .speech-text { opacity: 0; }

 /* ===================== MAIN LAYOUT ===================== */
 .main-wrap {
 position: relative; z-index: 10;
 display: flex; gap: 8px;
 padding: 100px 8px 80px;
 max-width: 1400px; margin: 0 auto;
 align-items: flex-start;
 }

 .col-left, .col-right { width: 230px; flex-shrink: 0; }
 .col-center { flex: 1; pointer-events: none; min-height: 400px; }

 /* ===================== MINI BOXES ===================== */
 .mini-box {
 margin-bottom: 10px; padding: 10px;
 background: rgba(0,0,0,0.75);
 border: 6px ridge #d9d9d9;
 box-shadow: 5px 5px 0 rgba(255,0,255,0.4);
 word-break: break-word;
 }
 .mini-title {
 margin: -10px -10px 8px;
 background: #0000cc; color: #ffff00;
 padding: 6px; font-family: Impact, sans-serif;
 letter-spacing: 1px; border-bottom: 3px outset #fff;
 text-align: center; font-size: 14px;
 }

 /* ===================== UGLY BUTTON ===================== */
 .ugly-btn {
 font-family: "Times New Roman", serif;
 font-size: 15px; font-weight: bold;
 padding: 7px 12px;
 background: #00ff00; color: #cc0000;
 border: 4px outset blue; cursor: pointer;
 display: block; width: 100%; margin-top: 6px;
 pointer-events: all;
 }
 .ugly-btn:hover { background: #ff00ff; color: #ffff00; transform: scale(1.04) rotate(-1deg); }
 .ugly-btn:active { border-style: inset; }

 /* ===================== VISITOR COUNTER ===================== */
 .visitor-box { text-align: center; background: #000; color: #00ff00; font-family: "Courier New", monospace; }
 .counter-digits {
 background: #0a0a0a; color: #00ff00;
 border: 4px inset #666; padding: 10px 6px;
 font-size: 1.4rem; letter-spacing: 3px;
 text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
 margin-top: 8px;
 }

 /* ===================== ANIMATIONS ===================== */
 .blink-text { animation: blinkFake 0.8s steps(1) infinite; }
 @keyframes blinkFake { 50% { opacity: 0; } }

 .rainbow-text { font-weight: bold; animation: rainbowText 1.1s linear infinite; }
 @keyframes rainbowText {
 0% { color: red; } 17% { color: orange; } 34% { color: yellow; }
 51% { color: lime; } 68% { color: cyan; } 85% { color: magenta; } 100% { color: red; }
 }

 .spin { animation: spinAnim 2s linear infinite; display: inline-block; }
 @keyframes spinAnim { to { transform: rotate(360deg); } }

 .bounce { animation: bounceAnim 0.7s ease-in-out infinite alternate; display: inline-block; }
 @keyframes bounceAnim { from { transform: translateY(0); } to { transform: translateY(-8px); } }

 .shake { animation: shakeAnim 0.3s infinite; display: inline-block; }
 @keyframes shakeAnim { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-3px)} 75%{transform:translateX(3px)} }

 /* ===================== SPECIFIC BOXES ===================== */
 .fire-box { text-align: center; }
 .fire-gif { width: 48px; margin: 2px; }

 .badge-box { background: #ff6600; text-align: center; padding: 8px; }

 .warning-box {
 background: red; color: yellow;
 text-align: center; font-family: Impact, sans-serif;
 font-size: 1.1rem;
 }

 .side-links ul { margin: 4px 0; padding-left: 16px; }
 .side-links li { margin-bottom: 4px; }
 .side-links a { color: #00ffff; font-weight: bold; text-decoration: underline; font-size: 13px; }
 .side-links a:hover { color: #ffff00; }

 .smile-box { text-align: center; background: #330066; }
 .smile-box img { width: 50px; }

 .email-zone { text-align: center; margin: 8px 0; }
 .email-gif { max-width: 130px; height: auto; border: 4px ridge yellow; background: white; }

 .construction-wrap { text-align: center; }
 .construction-wrap img { max-width: 140px; margin: 4px; }

 /* ===================== MUSIC PLAYER ===================== */
 .music-player {
 background: #111;
 color: #00ff00;
 font-family: "Courier New", monospace;
 font-size: 12px;
 text-align: center;
 padding: 6px;
 }
 .music-bar {
 display: flex; justify-content: center; gap: 3px;
 margin-bottom: 6px; height: 24px; align-items: flex-end;
 }
 .music-bar span {
 width: 5px; background: #00ff00;
 animation: musicEq 0.5s ease-in-out infinite alternate;
 box-shadow: 0 0 6px #00ff00;
 }
 .music-bar span:nth-child(1) { animation-delay: 0s; }
 .music-bar span:nth-child(2) { animation-delay: 0.1s; }
 .music-bar span:nth-child(3) { animation-delay: 0.2s; }
 .music-bar span:nth-child(4) { animation-delay: 0.3s; }
 .music-bar span:nth-child(5) { animation-delay: 0.4s; }
 .music-bar span:nth-child(6) { animation-delay: 0.15s; }
 .music-bar span:nth-child(7) { animation-delay: 0.25s; }
 @keyframes musicEq {
 from { height: 3px; } to { height: 22px; }
 }
 .music-title-scroll {
 overflow: hidden; white-space: nowrap;
 border: 1px solid #00ff00; padding: 2px 4px;
 background: #000;
 }
 .music-title-inner {
 display: inline-block;
 animation: scrollText 8s linear infinite;
 }
 @keyframes scrollText {
 0% { transform: translateX(100%); }
 100% { transform: translateX(-100%); }
 }
 .music-btns { display: flex; gap: 4px; margin-top: 6px; justify-content: center; }
 .music-btns button {
 background: #333; color: #00ff00;
 border: 2px outset #00ff00; cursor: pointer;
 font-size: 14px; padding: 3px 8px;
 font-family: "Courier New", monospace;
 }
 .music-btns button:hover { background: #00ff00; color: #000; }

 /* ===================== MOOD METER ===================== */
 .mood-box { text-align: center; }
 .mood-options { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 6px 0; }
 .mood-btn {
 font-size: 20px; background: rgba(0,0,0,0.5);
 border: 3px outset #fff; cursor: pointer;
 padding: 4px 6px; line-height: 1;
 transition: transform 0.15s;
 }
 .mood-btn:hover { transform: scale(1.3); border-style: inset; }
 .mood-btn.selected { background: #ffff00; border-color: #ff00ff; animation: moodPulse 0.5s ease-in-out 3; }
 @keyframes moodPulse { 50% { transform: scale(1.4); } }
 .mood-result { color: #ffff00; font-size: 13px; min-height: 18px; }
 .mood-bar-wrap { background: #111; border: 2px inset #666; margin-top: 6px; height: 14px; }
 .mood-bar { height: 100%; background: linear-gradient(90deg, #ff00ff, #ffff00); width: 0; transition: width 0.5s; }

 /* ===================== POLL BOX ===================== */
 .poll-box { font-size: 13px; }
 .poll-q { color: #ffff00; font-weight: bold; margin-bottom: 6px; }
 .poll-option {
 display: flex; align-items: center; gap: 6px;
 margin-bottom: 5px; cursor: pointer;
 }
 .poll-option input { cursor: pointer; }
 .poll-result { display: none; margin-top: 4px; }
 .poll-result-bar {
 background: #111; height: 12px; border: 1px solid #666;
 margin-bottom: 3px; position: relative; overflow: hidden;
 }
 .poll-result-fill { height: 100%; background: linear-gradient(90deg, #0000ff, #ff00ff); transition: width 0.8s; }
 .poll-result-label { font-size: 11px; color: #ccc; }

 /* ===================== CHAT BOX ===================== */
 .chat-box-inner { font-size: 12px; }
 .chat-messages {
 background: #000; border: 3px inset #666;
 height: 120px; overflow-y: auto; padding: 6px;
 font-family: "Courier New", monospace; font-size: 11px;
 color: #00ff00;
 }
 .chat-msg { margin-bottom: 3px; }
 .chat-msg .chat-name { color: #ff00ff; font-weight: bold; }
 .chat-msg .chat-time { color: #666; font-size: 10px; }
 .chat-msg .chat-text { color: #00ff00; }
 .chat-input-row { display: flex; gap: 4px; margin-top: 6px; }
 .chat-input-row input {
 flex: 1; background: #111; color: #00ff00;
 border: 3px inset #666; padding: 4px;
 font-family: "Courier New", monospace; font-size: 12px;
 }
 .chat-input-row button {
 background: #0000cc; color: yellow;
 border: 3px outset #fff; cursor: pointer;
 font-size: 12px; padding: 4px 8px;
 }
 .chat-input-row button:hover { background: #ff00ff; }

 /* ===================== CLICKER GAME ===================== */
 .clicker-box { text-align: center; }
 .clicker-target {
 font-size: 50px; cursor: pointer;
 display: inline-block;
 transition: transform 0.1s;
 filter: drop-shadow(0 0 10px #ff00ff);
 user-select: none;
 }
 .clicker-target:active { transform: scale(0.85); }
 .clicker-score { color: #ffff00; font-size: 1.2rem; font-family: Impact; letter-spacing: 2px; }
 .clicker-level { color: #00ffff; font-size: 11px; }
 .float-score {
 position: fixed; font-family: Impact;
 font-size: 1.5rem; color: #ffff00;
 text-shadow: 1px 1px 0 #000;
 pointer-events: none; z-index: 9999;
 animation: floatUp 1s ease-out forwards;
 }
 @keyframes floatUp {
 0% { opacity: 1; transform: translateY(0) scale(1); }
 100% { opacity: 0; transform: translateY(-80px) scale(1.5); }
 }

 /* ===================== TYPING TEST ===================== */
 .typing-box { font-size: 12px; }
 .typing-prompt {
 background: #111; border: 3px inset #666; padding: 8px;
 color: #ffff00; font-family: "Courier New", monospace;
 font-size: 12px; line-height: 1.5; min-height: 50px; margin-bottom: 6px;
 }
 .typing-prompt .typed-ok { color: #00ff00; }
 .typing-prompt .typed-err { color: #ff0000; background: #300; }
 .typing-prompt .cursor { animation: blinkFake 0.5s infinite; color: #fff; background: #fff; }
 .typing-input {
 width: 100%; background: #000; color: #fff;
 border: 3px inset #999; padding: 5px;
 font-family: "Courier New", monospace; font-size: 12px;
 }
 .typing-stats { display: flex; gap: 8px; margin-top: 5px; font-size: 11px; color: #ccc; }
 .typing-stat { background: #111; border: 1px solid #333; padding: 2px 6px; }

 /* ===================== WEATHER BOX ===================== */
 .weather-box { text-align: center; font-size: 13px; }
 .weather-main { font-size: 2rem; margin: 5px 0; animation: weatherFloat 3s ease-in-out infinite alternate; }
 @keyframes weatherFloat { from { transform: translateY(0); } to { transform: translateY(-6px); } }
 .weather-info { color: #ffff00; font-size: 12px; }

 /* ===================== FORTUNE COOKIE ===================== */
 .fortune-box { text-align: center; }
 .fortune-cookie-img { font-size: 40px; cursor: pointer; transition: transform 0.2s; display: inline-block; }
 .fortune-cookie-img:hover { transform: scale(1.2) rotate(10deg); }
 .fortune-text {
 margin-top: 8px; color: #ffff00; font-size: 12px; font-style: italic;
 min-height: 40px; line-height: 1.4;
 background: rgba(255,255,0,0.1); border: 1px dashed #ffff00; padding: 6px;
 }
 .fortune-lucky { color: #00ff00; font-size: 11px; margin-top: 4px; }

 /* ===================== QUIZ BOX ===================== */
 .quiz-box { font-size: 12px; }
 .quiz-question { color: #ffff00; font-weight: bold; margin-bottom: 8px; min-height: 36px; line-height: 1.4; }
 .quiz-options { display: flex; flex-direction: column; gap: 4px; }
 .quiz-opt {
 background: #111; border: 2px outset #666;
 color: #ccc; padding: 5px 8px; cursor: pointer; text-align: left;
 font-family: "Comic Sans MS", cursive; font-size: 12px;
 }
 .quiz-opt:hover { background: #0000cc; color: white; border-style: inset; }
 .quiz-opt.correct { background: #006600; color: #00ff00; border-color: #00ff00; }
 .quiz-opt.wrong { background: #660000; color: #ff4444; border-color: #ff0000; }
 .quiz-feedback { margin-top: 6px; font-size: 12px; min-height: 16px; }
 .quiz-score { color: #ff00ff; font-size: 11px; text-align: right; }

 /* ===================== BADGES ===================== */
 .badges-box { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
 .badge88 {
 width: 88px; height: 31px;
 display: flex; align-items: center; justify-content: center;
 font-size: 9px; font-family: "Times New Roman", serif; font-weight: bold;
 border: 2px solid; cursor: pointer; text-decoration: none;
 line-height: 1.1; text-align: center; padding: 2px;
 }

 /* ===================== PROGRESS BARS ===================== */
 .skills-box { font-size: 12px; }
 .skill-row { margin-bottom: 6px; }
 .skill-name { color: #ffff00; margin-bottom: 2px; }
 .skill-bar-bg { background: #111; border: 2px inset #666; height: 14px; }
 .skill-bar-fill {
 height: 100%; width: 0;
 transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
 }

 /* ===================== GUESTBOOK MODAL ===================== */
 .guestbook-modal {
 position: fixed; inset: 0; background: rgba(0,0,0,0.8);
 z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px;
 }
 .guestbook-modal.active { display: flex; }
 .guestbook-box {
 width: min(750px, 95vw); max-height: 85vh; overflow: auto;
 border: 8px ridge #fff; background: #ffffcc; color: black;
 box-shadow: 0 0 0 6px blue, 0 0 0 12px red, 0 0 30px #ff00ff;
 }
 .guestbook-head {
 display: flex; justify-content: space-between; align-items: center;
 background: #000080; color: white;
 padding: 8px 12px; font-family: "Courier New", monospace; font-weight: bold;
 position: sticky; top: 0;
 }
 .guestbook-head button { background: red; color: white; border: 3px outset #fff; font-weight: bold; cursor: pointer; font-size: 14px; }
 .guestbook-body { padding: 14px; }
 .guestbook-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
 .guestbook-form input, .guestbook-form textarea {
 width: 100%; border: 4px inset #999; padding: 8px;
 font-family: "Comic Sans MS", cursive; font-size: 14px;
 }
 .guestbook-form textarea { min-height: 80px; resize: vertical; }
 .guestbook-entries { border: 5px dashed magenta; padding: 10px; background: white; max-height: 250px; overflow-y: auto; }
 .entry { padding: 6px 0; border-bottom: 2px dotted #999; font-size: 13px; }
 .entry:last-child { border-bottom: none; }
 .entry .e-time { color: #666; font-size: 11px; }
 .entry .e-mood { font-size: 16px; }

 /* ===================== CURSOR SPARKLES ===================== */
 .sparkle {
 position: fixed; pointer-events: none; z-index: 9998;
 animation: sparkleAnim 0.6s ease-out forwards;
 font-size: 16px;
 }
 @keyframes sparkleAnim {
 0% { opacity: 1; transform: scale(1) translateY(0); }
 100% { opacity: 0; transform: scale(0.3) translateY(-20px); }
 }

 /* ===================== POPUP ALERT ===================== */
 .popup-alert {
 position: fixed; z-index: 600;
 background: #000080; border: 4px outset #d0d0d0;
 box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
 min-width: 280px; max-width: 340px;
 font-family: "Courier New", monospace; font-size: 12px; color: white;
 display: none;
 }
 .popup-alert.active { display: block; }
 .popup-titlebar {
 background: linear-gradient(90deg, #000080, #1084d0);
 padding: 4px 8px; display: flex; justify-content: space-between; align-items: center;
 font-weight: bold; font-size: 13px;
 }
 .popup-titlebar .close-x {
 background: #d0d0d0; color: black; border: 2px outset #fff;
 width: 18px; height: 18px; font-size: 11px; cursor: pointer;
 display: flex; align-items: center; justify-content: center; font-weight: bold;
 }
 .popup-body { padding: 14px; text-align: center; color: #ffff00; }
 .popup-icon { font-size: 36px; margin-bottom: 8px; }
 .popup-btn {
 background: #d0d0d0; color: black;
 border: 3px outset #fff; padding: 4px 20px; cursor: pointer;
 font-family: "Courier New", monospace; margin-top: 8px;
 }
 .popup-btn:hover { background: #000080; color: white; }

 /* ===================== FOOTER ===================== */
 .footer-strip {
 position: fixed; bottom: 0; left: 0; width: 100%;
 z-index: 200; background: blue; color: yellow;
 font-family: "Courier New", monospace; font-size: 15px;
 border-top: 4px dotted white;
 }

 /* ===================== FLOAT CLIPART ===================== */
 .float-clip { position: fixed; z-index: 15; pointer-events: none; }
 .clip1 { top: 95px; left: 10px; width: 60px; animation: wobble 2s ease-in-out infinite alternate; }
 .clip2 { top: 200px; right: 12px; width: 65px; animation: wobble 2.5s ease-in-out infinite alternate-reverse; }
 .clip3 { bottom: 100px; left: 15px; width: 60px; animation: wobble 3s ease-in-out infinite alternate; }
 .clip4 { bottom: 90px; right: 20px; width: 55px; animation: wobble 1.8s ease-in-out infinite alternate-reverse; }
 @keyframes wobble {
 from { transform: rotate(-8deg) scale(1); }
 to { transform: rotate(8deg) scale(1.1); }
 }

 /* ===================== RESPONSIVE ===================== */
 @media (max-width: 900px) {
 .main-wrap { flex-direction: column; }
 .col-left, .col-right, .col-center { width: 100%; }
 .col-center { display: none; }
 }


/* ===================== ALARIQ LOCAL ASSETS OVERRIDE =====================
 Simpan file gambar di:
 assets/alariq1.png -> portrait / desktop
 assets/alariq2.png -> mobile
 ============================================================ */
body {
 background-color: #000033;
 background-image:
 url("../alariq1.png"),
 url("https://www.gifcen.com/wp-content/uploads/2022/03/transparent-gif-7.gif"),
 repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,0,0.03) 2px, rgba(0,255,0,0.03) 4px);
 background-size: cover, auto, auto;
 background-position: center center, center center, center center;
 background-repeat: no-repeat, repeat, repeat;
 background-attachment: fixed, fixed, fixed;
}

.col-center {
 background: url("../alariq1.png") center bottom / contain no-repeat;
 min-height: 720px;
}

@media (max-width: 900px) {
 body {
 background-image:
 url("../alariq2.png"),
 url("https://www.gifcen.com/wp-content/uploads/2022/03/transparent-gif-7.gif"),
 repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,0,0.03) 2px, rgba(0,255,0,0.03) 4px);
 background-size: cover, auto, auto;
 background-position: center center, center center, center center;
 background-repeat: no-repeat, repeat, repeat;
 background-attachment: fixed, fixed, fixed;
 }

 .col-center {
 display: block;
 width: 100%;
 min-height: 58vh;
 background: url("../alariq2.png") center bottom / contain no-repeat;
 }
}

/* ===================== MOBILE CLEAN MODE =====================
   Mobile: hanya tampilkan background/foto dan bubble quote.
   Semua elemen ramai disembunyikan supaya tidak mengganggu.
   ============================================================ */
@media (max-width: 900px) {
  html, body {
    min-height: 100vh;
    overflow-x: hidden;
  }

  body {
    background-image:
      linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.38)),
      url("../alariq2.png"),
      repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,0,0.025) 2px, rgba(0,255,0,0.025) 4px);
    background-size: cover, cover, auto;
    background-position: center bottom, center bottom, center center;
    background-repeat: no-repeat, no-repeat, repeat;
    background-attachment: fixed, fixed, fixed;
  }

  .marquee-stack,
  .blink-overlay,
  .stars-layer,
  .float-clip,
  .popup-alert,
  .main-wrap,
  .col-left,
  .col-center,
  .col-right,
  .footer-strip,
  .guestbook-modal {
    display: none !important;
  }

  .speech-bubble {
    display: block !important;
    left: 50%;
    top: auto;
    bottom: max(22px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(88vw, 360px);
    z-index: 999;
    filter: drop-shadow(3px 3px 0 rgba(255,0,255,0.65));
  }

  .speech-text {
    font-size: clamp(0.9rem, 4vw, 1.05rem);
    line-height: 1.45;
    min-height: 72px;
    max-height: 32vh;
    overflow-y: auto;
    padding: 14px 16px 18px;
  }

  .speech-tail {
    display: none;
  }
}
