* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #f8fafc; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: #1e293b; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.marginallywrap { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.marginallyheader { background: #ffffff; padding: 18px 0; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
.marginallyheadflex { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marginallylogo img { height: 34px; max-width: 180px; object-fit: contain; display: block; }
.marginallysearchform { display: flex; border: 1px solid #cbd5e1; border-radius: 20px; overflow: hidden; background: #f8fafc; }
.marginallysearchinput { border: none; padding: 0 14px; height: 32px; outline: none; font-size: 12px; color: #333; background: transparent; }
.marginallysearchbtn { background: #0f172a; color: #ffffff; border: none; padding: 0 16px; height: 32px; cursor: pointer; font-size: 12px; font-weight: bold; }
.marginallynavbar { background: transparent; height: 40px; margin-top: 5px; }
.marginallynavflex { display: flex; align-items: center; justify-content: center; gap: 8px; overflow-x: auto; white-space: nowrap; }
.marginallynavitem { color: #475569; padding: 4px 14px; font-size: 13px; font-weight: 500; border-radius: 15px; transition: all 0.2s; }
.marginallynavitem:hover, .marginallynavitem.active { background: #e2e8f0; color: #0f172a; font-weight: 600; }
.marginallymain { margin: 20px auto; }
.marginallypanoramic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; }
@media (max-width: 992px) { .marginallypanoramic { grid-template-columns: 1fr; } }
.marginallypanocard { display: block; position: relative; border-radius: 8px; overflow: hidden; height: 220px; background: #0f172a; transition: transform 0.2s; }
.marginallypanocard:hover { transform: translateY(-3px); }
.marginallypanocard img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.marginallypanoinfo { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(15,23,42,0.95)); color: #ffffff; padding: 15px; text-align: center; }
.marginallypanotitle { font-size: 14px; font-weight: bold; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marginallypanoprice { color: #ffeb3b; font-size: 15px; font-weight: bold; }
.marginallymidgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
@media (max-width: 768px) { .marginallymidgrid { grid-template-columns: 1fr; } }
.marginallymidcard { position: relative; border-radius: 6px; overflow: hidden; height: 110px; display: block; border: 1px solid #e2e8f0; }
.marginallymidcard img { width: 100%; height: 100%; object-fit: cover; }
.marginallymidtag { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(15,23,42,0.4); color: #fff; }
.marginallymidtitle { font-size: 13px; font-weight: bold; }
.marginallymidprice { font-size: 12px; color: #ffeb3b; margin-top: 2px; }
.marginallysplit2 { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-bottom: 30px; }
@media (max-width: 992px) { .marginallysplit2 { grid-template-columns: 1fr; } }
.marginallysec { background: #ffffff; border-radius: 8px; border: 1px solid #e2e8f0; padding: 18px; margin-bottom: 25px; }
.marginallysectitle { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #0f172a; padding-bottom: 8px; margin-bottom: 15px; }
.marginallysectitle span { font-size: 15px; font-weight: bold; color: #0f172a; }
.marginallymore { font-size: 12px; color: #64748b; }
.marginallymore:hover { color: #0f172a; }
.marginallystreamlist { display: flex; flex-direction: column; gap: 10px; }
.marginallystreamitem { display: flex; gap: 12px; align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 10px; transition: border-color 0.2s; }
.marginallystreamitem:hover { border-color: #0f172a; }
.marginallystreamimg { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.marginallystreaminfo { flex: 1; overflow: hidden; }
.marginallystreamtitle { font-size: 13px; font-weight: bold; color: #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }
.marginallystreamprice { color: #e53e3e; font-size: 13px; font-weight: bold; }
.marginallysidebar { display: flex; flex-direction: column; gap: 15px; }
.marginallysidebox { background: #ffffff; border-radius: 8px; border: 1px solid #e2e8f0; padding: 15px; }
.marginallysidehead { font-size: 14px; font-weight: bold; color: #0f172a; border-bottom: 2px solid #0f172a; padding-bottom: 8px; margin-bottom: 12px; }
.marginallyranklist { list-style: none; }
.marginallyrankitem { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #f0f3f6; font-size: 12px; }
.marginallyranknum { width: 18px; height: 18px; background: #cbd5e1; color: #0f172a; text-align: center; line-height: 18px; border-radius: 3px; font-size: 10px; font-weight: bold; margin-right: 8px; flex-shrink: 0; }
.marginallyrankitem:nth-child(-n+3) .marginallyranknum { background: #0f172a; color: #ffffff; }
.marginallyrankname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #475569; }
.marginallysidecard { display: block; position: relative; border-radius: 6px; overflow: hidden; height: 75px; margin-bottom: 8px; border: 1px solid #e2e8f0; }
.marginallysidecard img { width: 100%; height: 100%; object-fit: cover; }
.marginallysidecardinfo { position: absolute; inset: 0; background: rgba(15,23,42,0.5); color: #fff; display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: bold; }
.marginallygrid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1024px) { .marginallygrid6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .marginallygrid6 { grid-template-columns: repeat(2, 1fr); } }
.marginallycard { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; padding: 8px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s; }
.marginallycard:hover { transform: translateY(-3px); }
.marginallyimgbox { width: 100%; height: 95px; overflow: hidden; background: #f8fafc; border-radius: 4px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; }
.marginallyimgbox img { max-width: 100%; max-height: 85px; object-fit: contain; }
.marginallytitle { font-size: 12px; font-weight: bold; color: #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }
.marginallyprice { color: #e53e3e; font-size: 13px; font-weight: bold; }
.marginallytextgrid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 768px) { .marginallytextgrid2 { grid-template-columns: 1fr; } }
.marginallycardbox { background: #ffffff; border-radius: 8px; border: 1px solid #e2e8f0; padding: 30px; max-width: 650px; margin: 0 auto; }
.marginallyfooter { background: #0f172a; color: #94a3b8; padding: 25px 0; text-align: center; font-size: 13px; margin-top: 40px; border-top: 2px solid #334155; }
.marginallyfooter a { color: #ffffff; margin-bottom: 6px; display: inline-block; }
.marginallyfooter p { color: #64748b; font-size: 12px; margin-top: 4px; }
