.game-controls-box{background-color:#1a1a1a;border:3px solid #000;padding:15px;margin-bottom:20px;margin-top:5px;font-family:'Press Start 2P',cursive;color:#fff;font-size:10px;line-height:1.5;position:relative}.game-controls-box h3{color:#fca048;margin:0 0 10px;font-size:12px;text-transform:uppercase;border-bottom:2px dashed #444;padding-bottom:8px;display:inline-block;width:100%}.ctrl-note{color:#888;margin:0 0 12px;font-size:8px;font-family:monospace;font-style:italic}.ctrl-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:15px 30px}.ctrl-list li{display:flex;align-items:center;gap:8px}.key-icon{display:inline-flex;align-items:center;justify-content:center;background-color:#b91c1c;color:#fff;border:2px solid #5a0b0b;border-bottom-width:4px;border-radius:4px;padding:2px 6px;min-width:24px;height:24px;font-size:10px;font-weight:700;text-shadow:1px 1px 0 #000;cursor:default;transition:transform 0.1s,border-bottom-width .1s}.key-icon:contains(↑){background-color:#333;border-color:#000}.key-icon:contains(Enter){padding:2px 10px;min-width:auto}.game-controls-box:hover .key-icon{}.key-icon:active,.ctrl-list li:hover .key-icon{transform:translateY(2px);border-bottom-width:2px}.ctrl-list li span:last-child{color:#ccc;font-size:9px;text-transform:uppercase}
.mario-world-wrapper { margin-right: 5px; margin-left: 5px; position: relative; background: #5c94fc; border: 6px solid #000; margin-bottom: 20px; height: calc(100% - 20px); overflow: hidden; image-rendering: pixelated; } .mario-sky { position: absolute; top: 0; left: 0; width: 100%; height: 60px; z-index: 1; } .mario-cloud { position: absolute; background: #fff; width: 40px; height: 20px; box-shadow: 10px 10px 0 #fff, 20px 0 0 #fff, -10px 10px 0 #fff; opacity: 0.8; animation: moveCloud 20s linear infinite; } .c1 { top: 20px; left: 10%; } .c2 { top: 10px; left: 70%; animation-duration: 35s; } @keyframes moveCloud { from { transform: translateX(-100px); } to { transform: translateX(1200px); } } #game-area { width: 100%; height: calc(100% - 90px); aspect-ratio: 16 / 9; display: block; position: relative; z-index: 2; background: #000; } .mario-ground-bar { background: #e76d42; position: relative; z-index: 3; padding: 20px; background-image: linear-gradient(45deg, #ad4d28 25%, transparent 25%), linear-gradient(-45deg, #ad4d28 25%, transparent 25%); background-size: 20px 20px; } .mario-grass-top { position: absolute; top: -10px; left: 0; right: 0; height: 10px; background: #71d100; border-top: 4px solid #000; border-bottom: 4px solid #94e044; box-shadow: inset 0 4px 0 #94e044; } .mario-ui-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; } .mario-level-title { font-family: 'Press Start 2P', cursive; font-size: 16px; color: #fff; margin: 0; text-shadow: 4px 4px 0 #000; } .mario-actions { display: flex; align-items: center; gap: 20px; } .mario-pipe-box { display: flex; gap: 10px; } .mario-btn-pipe { width: 45px; height: 40px; background: #2ecc71; border: 4px solid #000; position: relative; cursor: pointer; box-shadow: inset 5px 0 0 #1e8449, 4px 4px 0 rgba(0,0,0,0.3); } .mario-btn-pipe.red-pipe { background: #EA0404; box-shadow: inset 5px 0 0 #c0392b; } .mario-btn-pipe:hover { transform: translateY(-5px); } .mario-btn-pipe:active { transform: translateY(2px); box-shadow: none; } .mario-q-block-btn { width: 50px; height: 50px; background: #f1c40f; border: 4px solid #000; position: relative; cursor: pointer; display: flex; justify-content: center; align-items: center; box-shadow: inset -4px -4px 0 #d35400, inset 4px 4px 0 #fff200, 6px 6px 0 #000; animation: q-bounce 1s infinite alternate steps(2); } .q-mark { font-family: 'Press Start 2P', cursive; font-size: 20px; color: #000; } @keyframes q-bounce { from { transform: scale(1); } to { transform: scale(1.05); } } @media (max-width: 768px) { .mario-ui-content { flex-direction: column; text-align: center; } .mario-level-title { font-size: 12px; } #game-area { aspect-ratio: 4/3; height: calc(100% - 125px);} } .mario-sidebar-dungeon { background: #2c3e50; border: 5px solid #000; padding: 20px 10px; image-rendering: pixelated; height: calc(100% - 20px); margin-bottom: 20px; padding-bottom: 5px; background-image: linear-gradient(45deg, #1a252f 25%, transparent 25%), linear-gradient(-45deg, #1a252f 25%, transparent 25%); background-size: 20px 20px; } .mario-sidebar-title { font-family: 'Press Start 2P', cursive; font-size: 14px; color: #f1c40f; text-align: center; margin-bottom: 25px; text-shadow: 3px 3px 0 #000; text-transform: uppercase; } .mario-scroll-grid-window { height: calc(100% - 60px); max-height: 610px; overflow-y: auto; overflow-x: hidden; } .mario-scroll-grid-window::-webkit-scrollbar { width: 14px; } .mario-scroll-grid-window::-webkit-scrollbar-track { background: #1e8449; border-left: 3px solid #000; } .mario-scroll-grid-window::-webkit-scrollbar-thumb { background: #2ecc71; border: 3px solid #000; box-shadow: inset 4px 0 0 #82e5a7; } .mario-scroll-grid-window::-webkit-scrollbar-thumb:hover { background: #55efc4; } .mario-grid-item { position: relative; transition: transform 0.1s steps(2); } .mario-item-link { display: block; background: #fff; border: 3px solid #000; padding: 4px; box-shadow: 5px 5px 0 #000; text-decoration: none; position: relative; } .mario-pixel-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; image-rendering: pixelated; border: 2px solid #000; } .mario-grid-item:hover { transform: translateY(-5px); z-index: 10; } .mario-grid-item:hover .mario-item-link { background: #f1c40f; } .p-dot { position: absolute; width: 4px; height: 4px; background: #000; opacity: 0.15; } .tl { top: 4px; left: 4px; } .tr { top: 4px; right: 4px; } .bl { bottom: 4px; left: 4px; } .br { bottom: 4px; right: 4px; } @media (max-width: 768px) { .mario-sidebar-dungeon { padding: 10px 5px; margin-bottom: 15px; } .mario-sidebar-title { font-size: 10px; } .mario-scroll-grid-window { max-height: 350px; padding: 5px; } .mario-item-link { box-shadow: 3px 3px 0 #000; padding: 2px; } .mario-scroll-grid-window::-webkit-scrollbar { width: 8px; } } .mario-chat-cabinet { margin-left: 5px; background: #000; border: 4px solid #fff; outline: 4px solid #000; image-rendering: pixelated; font-family: 'Press Start 2P', cursive; margin-bottom: 30px; } .mario-chat-header { background: #333; padding: 15px; border-bottom: 4px solid #fff; display: flex; justify-content: space-between; align-items: center; } .mario-chat-title { color: #f1c40f; font-size: 14px; margin: 0; text-shadow: 2px 2px 0 #b03000; } .mario-lights { display: flex; gap: 6px; } .m-light { width: 8px; height: 8px; border: 2px solid #000; } .m-light.red { background: #ff4757; } .m-light.yellow { background: #f1c40f; } .m-light.green { background: #2ecc71; } .mario-chat-messages { height: 350px; overflow-y: auto; padding: 15px; background: #000; color: #fff; font-size: 10px; line-height: 1.6; } .mario-chat-messages::-webkit-scrollbar { width: 10px; } .mario-chat-messages::-webkit-scrollbar-track { background: #333; } .mario-chat-messages::-webkit-scrollbar-thumb { background: #2ecc71; border: 2px solid #000; box-shadow: inset 2px 0 0 #82e5a7; } .mario-chat-item { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px dotted #444; } .mario-chat-user { color: #3498db; margin-right: 8px; } .mario-chat-text { color: #fff; word-break: break-all; } .mario-chat-empty { color: #7f8c8d; text-align: center; font-size: 8px; margin-top: 50px; } .mario-chat-input-area { padding: 15px; background: #222; border-top: 4px solid #fff; } .mario-field { background: #000; border: 3px solid #7f8c8d; color: #2ecc71; font-family: 'Press Start 2P', cursive; font-size: 10px; padding: 10px; width: 100%; margin-bottom: 10px; outline: none; } .mario-field:focus { border-color: #fff; color: #fff; } .mario-input-row { display: flex; gap: 10px; } .main-msg { margin-bottom: 0; flex: 1; } .mario-btn-send { background: #f1c40f; border: 3px solid #000; color: #000; padding: 0 20px; font-family: 'Press Start 2P', cursive; font-size: 12px; cursor: pointer; box-shadow: 4px 4px 0 #d35400; } .mario-btn-send:hover { background: #fff200; transform: translateY(-2px); } .mario-btn-send:active { transform: translate(2px, 2px); box-shadow: none; } .mario-btn-send:disabled { background: #7f8c8d; box-shadow: none; cursor: not-allowed; } .chat-notice { color: #f1c40f; text-align: center; font-size: 10px; border: 2px dashed #f1c40f; padding: 15px; } .mario-info-panel { margin-left: 5px; image-rendering: pixelated; margin-bottom: 40px; } .mario-path-inner { display: inline-flex; align-items: center; background: #000; border: 3px solid #fff; padding: 8px 15px; gap: 12px; } .path-link { color: #3498db !important; font-family: 'Press Start 2P', cursive; font-size: 9px; text-decoration: none !important; } .path-link:hover { color: #f1c40f !important; } .path-sep { width: 8px; height: 8px; background: #fff; clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%); } .path-current { font-family: 'Press Start 2P', cursive; font-size: 9px; color: #f1c40f; } .mario-dungeon-card { background: #2c3e50; border: 4px solid #000; padding: 30px; position: relative; } .mario-text-window { position: relative; max-height: 352px; overflow: hidden; transition: max-height 0.4s steps(4); color: #ecf0f1; line-height: 1.8; font-size: 15px; } .mario-text-window.expanded { max-height: 5000px !important; } .mario-inner-content b, .mario-inner-content strong { color: #f1c40f; } .mario-fade-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, transparent, #2c3e50); pointer-events: none; } .expanded .mario-fade-overlay { display: none; } .meta-label { font-family: 'Press Start 2P', cursive; font-size: 10px; color: #7f8c8d; display: block; margin-bottom: 10px; } .mario-cat-tag { display: inline-block; background: #b03000; color: #fff !important; border: 3px solid #000; padding: 5px 12px; font-family: 'Press Start 2P', cursive; font-size: 8px; text-decoration: none !important; } .mario-q-toggle { background: #f1c40f; border: 4px solid #000; padding: 12px 25px; font-family: 'Press Start 2P', cursive; font-size: 12px; color: #000; cursor: pointer; margin-top: 25px; box-shadow: inset -4px -4px 0 #d35400, 6px 6px 0 #000; transition: 0.1s; } .mario-q-toggle:hover { background: #fff200; transform: translateY(-3px); } .mario-q-toggle:active { transform: translate(3px, 3px); box-shadow: none; } .rivet { position: absolute; width: 6px; height: 6px; background: #000; opacity: 0.3; } .tl { top: 10px; left: 10px; } .tr { top: 10px; right: 10px; } .bl { bottom: 10px; left: 10px; } .br { bottom: 10px; right: 10px; } .mario-path-wrapper{ margin-bottom: 8px; } .mt-8s{ margin-top: 8px; }